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
Show hidden characters
// DisallowOperatorBeforeLineBreak https://github.com/jscs-dev/node-jscs/issues/845 | |
{ | |
"disallowAnonymousFunctions": null, | |
"disallowCapitalizedComments": null, | |
"disallowCommaBeforeLineBreak": null, | |
"disallowCurlyBraces": null, | |
"disallowDanglingUnderscores": null, | |
"disallowEmptyBlocks": true, | |
"disallowFunctionDeclarations": null, | |
"disallowIdentifierNames": null, |
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
/** | |
* Equal Height without using Table or flexbox | |
*/ | |
var EqualHeightChildren = function (container, childrenSelector) { | |
'use strict'; | |
this.container = container; | |
this.options = { | |
childrenSelector: '*' |
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
// A-Ron's CS:GO Competitive Config | |
// Last Updated: 06/08/2017 | |
// HUD | |
cl_autohelp "0" | |
cl_hud_background_alpha "1" | |
cl_hud_bomb_under_radar "0" | |
cl_hud_color "0" | |
cl_hud_healthammo_style "1" | |
cl_hud_playercount_pos "1" |
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
var CrossfadeCSSGenerator = function (opts) { | |
'use strict'; | |
this.opts = opts; | |
this.animationDuration = this.getAnimationDuration(this.opts.imageShownDuration, this.opts.crossfadeDuration, this.opts.numberOfImages); | |
this.animationDelay = this.getAnimationDelay(this.opts.imageShownDuration, this.opts.crossfadeDuration); | |
this.init(); | |
}; |
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
// A-Ron's CS:GO Movie Making Config | |
// Cheats are required | |
sv_cheats "1" | |
// Enable console | |
con_enable "1" | |
// HUD | |
cl_autohelp "0" |
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
openssl genrsa -des3 -passout pass:x -out server.pass.key 2048 | |
openssl rsa -passin pass:x -in server.pass.key -out server.key | |
rm server.pass.key | |
openssl req -new -key server.key -out server.csr | |
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt |
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
var arr = ['a', 'b', 'c']; | |
var cyclicArray = function (arr, index) { | |
var item = ((index % arr.length) + arr.length) % arr.length; | |
console.log(arr[item], item); | |
} | |
for (var i = -5; i < 5; i++) { | |
cyclicArray(arr, i); |
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
/** | |
* strokeloader | |
* | |
* Creates a circle loader that fills the stroke | |
* | |
* @param {string} $radius - Radius of the loader | |
* @param {string} $stroke - Width of the loaders stroke | |
* @param {string} $background-colour - Colour of the inactive stroke | |
* @param {string} $progress-colour - Colour of the progress stroke | |
* @param {string} $clip-colour - Colour of the inner clipping circle |
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
// Constructor: AbstractedScroll | |
var AbstractedScroll = function (options) { | |
'use strict'; | |
// Store reference to `container` | |
this.container = options.container; | |
// Call `enable` | |
this.enable(); | |
}; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>HTML5 Blank Page</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- Styles --> |
OlderNewer