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
cp /Applications/PhpStorm.app/Contents/bin/phpstorm.vmoptions ~/Library/Preferences/WebIde* | |
echo -ne "\n-Dawt.useSystemAAFontSettings=lcd\n-Dawt.java2d.opengl=true" >> ~/Library/Preferences/WebIde*/phpstorm.vmoptions |
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
// ---------------------- | |
// == Z-index scale (inspired by https://gist.github.com/fat/1f6da6b3bd0311a1f8a0) | |
// ---------------------- | |
// Z-Index Scale (private vars) | |
// -------------------------------------------------- | |
$zindex-1: 100; | |
$zindex-2: 200; | |
$zindex-3: 300; | |
$zindex-4: 400; |
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
.gradient-animation( @start, @end, @transTime ){ | |
background-size: 100%; | |
background-image: linear-gradient(@start, @end); | |
position: relative; | |
z-index: 100; | |
&:before { | |
background-image: linear-gradient(@end, @start); | |
content: ''; | |
display: block; | |
height: 100%; |
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 | |
return array( | |
// ... | |
'SYS' => array( | |
'caching' => array( | |
'cacheConfigurations' => array( | |
'cf_cache_hash' => array( | |
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend', | |
'options' => array( | |
'database' => 10, |
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
#!/usr/bin/env bash | |
#============================================================================== | |
# Install Mac OS X GUI Application via brew cask | |
#============================================================================== | |
brew cask install google-chrome | |
brew cask install thunderbird | |
brew cask install dropbox | |
brew cask install copy | |
brew cask install slack | |
brew cask install the-unarchiver |
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 | |
namespace J18\J18thmsimkup\Hooks; | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2014 GLATZ, Josef <jousch@gmail.com> | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is | |
* free software; you can redistribute it and/or modify |
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
{ | |
"name": "my-app", | |
"version": "1.0.0", | |
"description": "My test app", | |
"main": "src/js/index.js", | |
"scripts": { | |
"jshint:dist": "jshint src/js/*.js", | |
"jshint": "npm run jshint:dist", | |
"jscs": "jscs src/*.js", | |
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", |
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
// Creating sound waves with JavaScript | |
// from http://js.do/blog/sound-waves-with-javascript/ | |
var samples = [] | |
// | |
// | |
// | |
// Achord |
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
/** | |
* Use em or rem font-size in Bootstrap 3 | |
*/ | |
@font-size-root: 14px; | |
@font-unit: 0rem; // Pick em or rem here | |
// Convert all variables to em |
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
/** | |
* Add a delay at the end of the timeline (or at any label) | |
* @param {number} delay Seconds to wait | |
* @param {string} position Label name where to start the delay | |
* | |
* Usage: tl.addDelay(4); //easy! | |
*/ | |
TimelineLite.prototype.addDelay = function (delay, position) { | |
var delayAttr; | |
if(typeof delay === 'undefined' || isNaN(delay)){ |