32 private links
Linux screen Command: Keep Your Processes Running Despite A Dropped Connection I guess you all know this: you are connected to your server with SSH an...
I recently worked on creating a Bash completion script for a project, and I enjoyed it very much. In this post, I will try to familiarize you with the process of creating a Bash completion script.
What is Bash completion?
Bash completion is a functionality through which Bash helps users type their commands more quickly and easily. It does this by presenting possible options when users press the Tab key while typing a command.
Here is my Katas for creating BASH programs that work. Nothing is new here, but from my experience pepole like to abuse BASH, forget computer science and create a Big ball of mud from their programs.
Here I provide methods to defend your programs from braking, and keep the code tidy and clean.
Let's face it: we all have great ideas for a web application. Whether you write them down on paper or remember them using your eidetic memory, there comes a point when you want test whether or not your idea is really viable.
In this tutorial, we'll use a micro framework, a templating language and an ORM to rapidly develop an application prototype.
If you are going to build an android application (it can be any other mobile platform or web too) that manages all the user data on a central database, REST API will be good architectural option to do the communication between the app and the server.
If you consider Evernote, Wunderlist apps, these apps can uninstalled at anytime and once we install them back and login, all our data will be restored. This is because all the data will stored in a cloud database and communication b/w app and database will be done using a REST API.
This tutorial gives enough knowledge about building a REST API for very beginners. As this tutorial seems lengthy, I had divided it into 2 parts. In the 1st part we learn fundamental concepts of REST and do the required setup. In the 2nd part building actual API (writing PHP & MySQL code) is covered.
In this tutorial we will build a fun little tool for internal/personal usage that posts random tweets at pre-defined times with Laravel and the Twitter API. We will use some of Laravel 4′s powerful features such as Artisan commands, Eloquent ORM and some external packages to make creating an application to post tweets with Laravel 4 quick and easy!
Our application will:
Allow us to insert a tweet into the database
Allow us to insert tags into the database
Link tags to a tweet
Have a command that grabs a random tweet and appends tags in a random order
Tired of deleting more photos than you keep? Hit your image target every time with our sure-fire guide to how to take good photos and get it right in-camera.
You've probably seen this pattern going around. It's an input that appears as if it has placeholder text in it, but when you click/tap into that input, that text moves out of the way and allows you to type there. It's rather clever, I think. Brad Frost has a really good post on it, detailing the pros and cons and such.
Many of the demos I've seen involve JavaScript. The other day I was checking out at Nest.com, saw their technique for it, and I thought of a way I could pull that off without JavaScript. So here we are.
HTML5 and CSS3 have both revolutionised web design and we all see more powerful and functional websites using these two languages.HTML5 and CSS3 have many advantages like faster loading times,greater functionalities and more flexibility.You can apply to any website very easily.
In today’s post we have collected free CSS3/HTML5 menu tutorials and plugins.This is a really huge list.Enjoy..!!
The introduction of AJAX marked a huge leap forward in the history of the web. The ability to communicate with a web server without reloading the page has revolutionised how web applications are built. The primary technology that enables AJAX (XMLHttpRequests) has evolved significantly since the initial conception of dynamic websites.
A nice feature added to XMLHttpRequests in recent years is the ability to handle file uploads. Traditionally many developers have resorted to using technologies like Flash to upload files to a server. The problem with this approach is that the user needs to have a third-party browser plugin installed.
In this post you’ll learn how to upload files to a server using native JavaScript technologies. The example we’re going to use supports uploading multiple files in a single request. However, you can apply the same principles to single-file uploads too.
Zdecydowana większość aktywnych internautów zapewne bez problemu rozpoznaje mapy od Google. Jednak, nie zawsze musi tak być :). Jako programiści możemy w znaczny sposób zmienić wygląd map. Jak to zrobić?
W związku z coraz większą liczbą powiadomień o nienaturalnych linkach postanowiliśmy zebrać w jednym miejscu nasze doświadczenia związane z wycofywaniem działań ręcznych.
Opiszę tutaj stosowaną przez nas procedurę, która sprawdziła się w przypadku wielu serwisów, w tym dużych witryn e-commerce.
(Analogiczną procedurę — oczywiście bez ostatniego kroku — stosujemy dla przejmowanych stron bez działań ręcznych, aby zabezpieczyć się przed ew. filtrami algorytmicznymi i ręcznymi w przyszłości).
W zdecydowanej większości przypadków zgłaszane pliki disavow.txt zawierają tylko wpisy obejmujące całe domeny, więc w poniższej procedurze zakładam właśnie takie rozwiązanie.
Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices.
Laravel is a modern and robust PHP framework. There are several tutorials available here on CodeForest, but I still receive plenty of questions on getting started with Laravel, How to use Composer and similar.
Database seeding in Laravel 4 can be quite cumbersome for things such as user information. Luckily there are tools that can help us with that!
Recently I have been using http://randomuser.me/ for filling up my database with randomly generated user profiles.
In this tutorial; we will create a number of database objects, which will later be made available through API endpoints. We’ll then use these, together with AngularJS, to create an online shop. We’ll finish things off with an overview of creating and emailing PDF documents.
There’s a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and insecure code. PHP: The Right Way is an easy-to-read, quick reference for PHP popular coding standards, links to authoritative tutorials around the Web and what the contributors consider to be best practices at the present time.
There is no canonical way to use PHP. This website aims to introduce new PHP developers to some topics which they may not discover until it is too late, and aims to give seasoned pros some fresh ideas on those topics they’ve been doing for years without ever reconsidering. This website will also not tell you which tools to use, but instead offer suggestions for multiple options, when possible explaining the differences in approach and use-case.
In today’s age of the Instagram, almost everyone is a foodie – a term for people who loves documenting what they eat each meal. It is almost an automatic thing to take out one’s camera and take photos of the food served on the table.
It has come to a point wherein some food establishments have to put up a “no food photography” policy, because diners sometimes complains of too much camera flash originating from the next table.
Daytime long exposure photography is the landscape cliche that just won’t quit. Love them or loathe them, long-exposure landscape shots are here to stay, and judging by the amount of slow-motion seascapes in particular that are emailed to us each week, it’s clear that many of you love creating them as much as we do.
Venturing into the woods to capture the first light streaming through the canopy is one of the special moments in photography. There’s a true feeling of satisfaction in shooting forest photography, particularly on bright autumn mornings, but it also presents its share of challenges – namely, how to get a good exposure. In this tutorial we explain how to set up your camera to shoot high-contrast photography, and then edit your bracketed exposures on the computer.