Wednesday, March 30, 2016

Kai-Hendrik Schroeder

Kai-Hendrik Schroeder, born in 1993, captures women in solitude and privacy that results in sensual, soft and delicate beauty. He is currently based in Luneburg & Hamburg, Germany but traveling the world one step at a time.


by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery

An Introduction to Model View Presenter on Android

A Comprehensive Guide to Using Cronjobs

There are times when there’s a need for running a group of tasks automatically at certain times in the future. These tasks are usually administrative, but could be anything - from making database backups to downloading emails when everyone is asleep.

Cron is a time-based job scheduler in Unix-like operating systems, which triggers certain tasks at a point in the future. The name originates from the Greek word χρόνος (chronos), which means time.

The most commonly used version of Cron is known as Vixie Cron, originally developed by Paul Vixie in 1987.

This article is an in-depth walkthrough of this program, and a reboot of this ancient, but still surprisingly relevant post.

Chronos Image

Terminology

  • Job: a unit of work, a series of steps to do something. For example, sending an email to a group of users. In this article, we’ll use tasks, job, cron job or event interchangeably.

  • Daemon: (/ˈdiːmən/ or /ˈdeɪmən/) is a computer program which runs in the background, serving different purposes. Daemons are often started at boot time. A web server is a daemon serving HTTP requests. Cron is a daemon for running scheduled tasks.

  • Cron Job: a cron job is a scheduled job, being run by Cron when it’s due.

  • Webcron: a time-based job scheduler which runs within the web server environment. It’s used as an alternative to the standard Cron, often on shared web hosts that do not provide shell access.

Getting Started

This tutorial assumes you’re running a Unix-based operating system like Ubuntu. If you aren’t, we recommend setting up Homestead Improved - it’s a 5 minute process which will save you years down the line.

If we take a look inside the /etc directory, we can see directories like cron.hourly, cron.daily, cron.weekly and cron.monthly, each corresponding to a certain frequency of execution. One way to schedule our tasks is to place our scripts in the proper directory. For example, to run db_backup.php on a daily basis, we put it inside cron.daily. If the folder for a given frequency is missing, we would need to create it first.

Note: This approach uses the run-parts script, a command which runs every executable it finds within the specified directory.

This is the simplest way to schedule a task. However, if we need more flexibility, we should use Crontab.

Continue reading %A Comprehensive Guide to Using Cronjobs%


by Reza Lavaryan via SitePoint

Drag and Drop File Upload jQuery Example

In Drag and Drop File Upload jQuery example, I have explained how to implement drag and drop file upload using HTML5 and jQuery AJAX API.
Drag and drop is supported only in HTML5 browsers.

The post Drag and Drop File Upload jQuery Example appeared first on jQuery Rain.


by Admin via jQuery Rain

This Week's HTML5 and Browser Technology News (Issue 233)


Read this e-mail on the Web
HTML 5 Weekly
Issue 233 — March 30, 2016
Philip Walton
Houdini is a new W3C task force with plans to introduce a new set of APIs that will give developers the power to extend CSS itself, and the tools to hook into the styling and layout process of a browser’s rendering engine.


Ire Aderinokun
The CSS Grid Layout Module is still in Editor’s Draft but is now nearing finalisation. Here’s a look at recreating the old ‘Holy Grail’ layout using it.


Davide Rizzo
“There is no single solution to make any traditional HTML ‘table’ appropriately responsive.” But this post looks at alternatives, like Flexbox, tabs, and accordions.


corgibytes  Sponsored
You build features fast. We'll clean up your tech debt (and have fun doing it!)

corgibytes

Jon Davis
Significant new releases of Safari for OS X and iOS came out last week - this is a quick roundup of the new features, including ‘picture’ element support.


Georgie Luhur
Georgie Luhur looks at best practices for commenting HTML and CSS, and why well structured comments can make all the difference.


Cory Doctorow
“I’ve been lobbying the W3C [..] to take measures to protect security researchers (and the users they help) from their own bad decision to standardize DRM as part of HTML5.”


Rachel Andrew
A 26 minute talk explaining CSS Grid Layout, Flexbox and the Box Alignment module and how they work together as a new system for CSS Layout.


Jobs

In brief

Curated by Peter Cooper and published by Cooper Press.
Want to post a job? E-mail us or use our self-serve system.

Unsubscribe : Change email address : Read this issue on the Web

Published by Cooper Press Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK


by via HTML5 Weekly

Youtube Style Like & Dislike Rating System Using jQuery and PHP

Youtube is the worlds biggest video sharing website and they have cool and stylish rating system so that user can like or dislike videos which is pretty useful for such kind of content sharing website.In this tutorial we will create a like and dislike rating system like Youtube not exactly but kind of using jQuery,Ajax and PHP.

The post Youtube Style Like & Dislike Rating System Using jQuery and PHP appeared first on jQuery Rain.


by Admin via jQuery Rain

Watch the Build 2016 Event, Live on SitePoint!

We're excited to bring you a live stream of Microsoft's sold-out developer event - Build 2016!

Build is the annual Microsoft developer conference aimed at software and web developers using Windows, Azure, Office 365 and other Microsoft technologies.

Watch the live stream of the three-day Developer Conference between March 30th – April 1st.
Tune into talks by Gabriel Aul, Mark Russinovich, Scott Hanselman, Lara Rubbelke and many more.
Here's your chance to learn about the latest tools and technologies that are helping developers be more creative and productive today!

Continue reading %Watch the Build 2016 Event, Live on SitePoint!%


by Ophelie Lechat via SitePoint