A Pen by Rick Daalhuizen on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$startYear = 1990; | |
$endYear = 2017; | |
$yearsToCheck = range($startYear, $endYear); | |
foreach ($yearsToCheck as $year) { | |
$isLeapYear = (bool) date('L', strtotime("$year-01-01")); | |
if($isLeapYear === true) echo $year . " is a leap year <br>"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Node.js Tutorial for Beginners: Handling Multiple Requests | |
* See: https://www.youtube.com/watch?v=KsjrN-T3ZCs&index=4&list=PL6gx4Cwl9DGBMdkKFn3HasZnnAqVjzHn_ | |
* Credits to: https://github.com/buckyroberts | |
*/ | |
function placeAnOrder(orderNumber){ | |
console.log("Customer order:", orderNumber); | |
The @keyframes rule specifies the animation code.
The animation is created by gradually changing from one set of CSS styles to another.
During the animation, you can change the set of CSS styles many times.
Specify when the style change will happen in percent, or with the keywords "from" and "to", which is the same as 0% and 100%. 0% is the beginning of the animation, 100% is when the animation is complete.
This technique based on Fullscreen Video Background which modify to make it possible for Video Parallax Background.
A Pen by Rick Daalhuizen on CodePen.
NewerOlder