32 private links
OAuth can be anything you want it to be, the standards are lax and give you plenty of room for getting the right implementation for your system. However you proceed, though, you'll need to check an access token on every request - and in a Slim application, a middeware can help enormously since it hooks in to every request by design. I've recently implemented this and thought I would share.
The following notes provide details on the conversion of several repositories from subversion to git making use of two tools to help with the process:
gitolite which provides a framework to help managing a central git repository. From https://github.com/sitaramc/gitolite
svn2git to convert existing repositories from subversion to git. From: https://github.com/nirvdrum/svn2git
This is the second time I performed such conversions and it was a lot easier the second time around due to greater familiarity with git and the tools being used to perform the conversion. These notes should make it even easier the next time I need to do this.
Giving your car photography a sense of speed doesn’t have to be difficult or dangerous. In this easy-to-follow car photography tutorial we show you how to use a ‘bolt-on’ technique get dramatic photos with blurred backgrounds.
In our latest Shoot Like A Pro series we take an in-depth look at some of the most common problems that plague new photographers and explain some simple methods and jargon-free beginner photography tips for avoiding them. This week we turn our attention to focusing and maintaining sharp images.
PHP a well-known scripting language used for web development or we can say PHP is the most used scripting language in today’s web industry. Even most of popular CMSs are also developed and support PHP which makes PHP more popular as well. As the users increases respectively (to use PHP language for web development) there is need of PHP debuggers also increase. Because everyone wants that their code should be fine and error free. Debugger tool helps you in debugging errors in web applications and scripts by which makes innovative web development easy. In This post I have mentioned top 10 widely used PHP debuggers by developer, have a look –
If you have not used BootStrap so far, or more than that – have not heard about it – I would recommend you take a closer look to this framework. The fact is that this is really a great choice for those who appreciate the convenience and speed of website development. Today I will tell you about how to create a responsive template using BootStrap 3, which will include elements such as: two navigational menus, slider, promo block, a variety of content blocks, various form elements and footer. One more important moment – in this template, we do not use images, it means that our result is focused on speed.
Authentication is required for virtually any type of web application. In this tutorial, I’d like to show you how you can go about creating a small authentication application using Laravel 4. We’ll start from the very beginning by creating our Laravel app using composer, creating the database, loading in the Twitter Bootstrap, creating a main layout, registering users, logging in and out, and protecting routes using filters. We’ve got a lot of code to cover, so let’s get started!
You may have spotted the lightbulb, cloud, electricity and woodshed symbols on your camera’s screen or menus. You may have also ignored them as being yet another degree of complexity that you don’t need to know about.
Alternatively, you may have seen people on the Internet earnestly discussing colour temperature and swearing by all sorts of essential products that will guarantee perfect results, if you re-mortgage your house this one last time. And ignored it as another expense that you can probably do without.
Well that thing you’re ignoring is one of the most powerful ways of making your photos convey the scene you wanted to capture: white balance.
One of greatest attractions of GitHub is the community and the tooling that allows this community to share code. Each contributor can clone the repository, make their changes and then send you a pull request. As the project maintainer your job is now a whole lot easier and more manageable. No more patch files to worry about.
Follow the recipe bellow to move your SVN repo to Git.
Best of all, you get to keep the entire commit history of your project.
Laravel 4 is a huge step forward for the PHP community. It’s beautifully written, full of features and the community is presently exploding. Today we’re going to explore how to build multisite applications with it.
Any system admin working in a service provider network would certainly agree that Cacti is one of the most widely used tools in network management solutions. It is open source, has built in user authentications and user permission features, shipped with frequently used graph templates like bandwidth, 95th percentile, hard disk usage, CPU usage, load average, RAM statistics and many more. Cacti also supports 3rd party templates and plugins. If those are not enough, one can write and use one’s own templates, and that is the beauty of open source software.
Unless you’re from France, you may not yet have heard about Thelia, an e-commerce system that is getting some international attention, due in no small part to the buzzwords thrown around in the media material released for the launch of the beta version of Thelia 2 in late September.
The full version won’t be launched until the end of this year, but when an e-commerce system is described in terms of open source, Symfony, HTML5, Bootstrap, Propel, PHPUnit, Travis, Smarty and semantic microdata, it warrants some attention.
Linux Apache MySQL PHP + Bitcoin tutorial.
For this introduction we assume that you have GNU/Linux server with Apache and PHP and that you wish to interact with the Bitcoin network from a web application. We assume some knowledge of Bitcoin and experience in PHP.
While this is written for PHP, the same principles apply for other languages. See the associated API reference pages for info on other languages.
The easiest way to get started is to run Bitcoin in daemon mode with which PHP communicates via local HTTP requests. A library called JSON-RPC is used to call the various functions of bitcoind, which will respond back with a JSON object.
Those with several years development expertise will realize it’s a regular expression. But even the most astute guru will take a few moments to determine that it checks the validity of an email address. Only a superior subset of that group will comprehend that it’s fairly superficial and won’t check all possibilities.
Regular expressions are extremely powerful search patterns which can be used for string matching and replacement. They’re supported in the majority of languages including JavaScript, PHP, Perl, Java, C#, Python and Ruby.
Individual rules are normally straight-forward, e.g. [a-z] matches a single lowercase character and c.t matches a three letter string starting with ‘c’ and ending with ‘t’ — such as ‘cat’. However, when rules are combined, an indecipherable string of seemingly random codes starts to appear. The one above is relatively simple compared to many you’ll find in the wild.
Creating your own regular expressions is difficult enough and many of us resort to using the force. But it’s easy compared to parsing someone else’s code — which is normally written by someone who has an irrational aversion to comments!
Fortunately, Jeff Avallone has created a solution to your regex woes. RegExper transforms meaningless JavaScript-based expressions into a graphical representation:
More than two years ago I wrote a post about sending push notifications from php to an iOS app called Pushme.To. That code, now, no longer works, and Pushme.to service no longer exists. Now I’m using an Android device and so, I’m going to show you how to send push notifications in a simple way to another app, for Android. The app is called Notify My Android and it’s free.
What is Symfony2 Framework?
A set of bundles containing configuration and bridge classes
These glue the components together, giving the developer a consistent experience
Symfony 2 is a PHP Framework for web development
Symfony 2 is MVC
Symfony 2 is OOP
Symfony 2 is not Symfony 1 (>=PHP 5.3)
Symfony 2 is HTTP-centric
Symfony 2 is like bits of Rails and like bits of Java
Why Symfony2?
Based on project needs Symfony can be used as:
Full framework
Micro framework (single file apps)
Symfony Components (stand alone)
Symfony comes with tight integration with many open source projects like Monolog, Assetic, Doctrine, Propel.
Powerful and easy routing.
Very advanced and useful template engine TWIG
How do I setup and manage a virtualized environment with Kernel based Virtual Machine (KVM) in CentOS or Red Hat Enterpise Linux version 6 server on IBM server? Can you provide step-by-step commands of how to install and manage Virtual Machines (VMs) on a physical server using KVM for RHEL/CentOS version 6.4?
Tutorial details
Difficulty Advanced (rss)
Root privileges Yes
Requirements VT enabled server
Estimated completion time 1h
KVM is part of RHEL and CentOS Linux. You can easily install the same using the following commands. Please note that only the package names have changed in RHEL/CentOS 6.x. If you are using RHEL / CentOS 5.x, read our previous CentOS / Redhat (RHEL) v.5.x KVM Virtulization guide for more information.
Do you struggle with colour rendition and sharpness when shooting in low light? In this quick guide we run through some of the best camera settings for taking pictures at twilight.
When I first started in journalism a few lifetimes and two careers ago, a writer had three things to worry about: writing a solid story, getting it in on time, and keeping your editor happy. That was basically it. Today, that list of concerns has grown to include things like keywords, meta tags, headings, titles, internal links, externals links, and– of course– images. It’s almost enough to make someone who typed NBC news copy in the early 80s on a manual typewriter shake his head and abandon all hope of reaching any kind of audience.