This file contains hidden or 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
// http://stackoverflow.com/questions/9906794/internet-explorers-css-rules-limits | |
//when you reach 4096 css rules per file .... IE <=9 | |
function countCSSRules() { | |
var results = '', | |
log = ''; | |
if (!document.styleSheets) { | |
return; | |
} | |
for (var i = 0; i < document.styleSheets.length; i++) { |
This file contains hidden or 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8B32g7Lu/jr6pDq6QajFt1bGBBu/+86L1GFBfmIeAymyJoZldJScwIkAo+zBGyNedDYfh766m+N+IekDiyaoHKGJIJ8RIvcf8nHD4bg3VLcVo0ThI0Z4RM3nU1UA/QTychPRg59RKJaoArMNcBDIt9P9KsSnjAwo1rG//Sa2qYId3Cx1OKqqIRx6vnJxfUWeus+Xy7LPqvvztjfgz+yMG2oV4NN4RmFGMuz5pMq/GRDfBDCzPkj8RbRdqd5kqXUROG1zK4GxuvFqeaA8gOYazr7xVRiRn6qBeo67Pz4YmAJzun2X4jH+9WaejS1Q/NXHTRO0YxF5Awb3cAdZJf3b3Z9QdByTZlNLFU2bV4xGHM2P++tgzF7TfaD8uGEmUjyho4ZhJMwIo35tnoasyE2fYHMfEe6M6XHf1WXd4F4RVr0q4gCQLCtZbvxfmeqA3hwdstVg1BCe2PPu7WGoY7uHBJZB2G3xXSqFTNOXSG5shacGkYQU5QFcIm3NzC1fv+ze82y518wwFRNhY2sGJpGwvlZt7XwU6zFYTkntM5VmhFdA3MiOiM55ocNWD4PhcsSk0+g1VnsvfGekRSOugIwaWSdyiG4lXwq7+nMP4JXf1UPE7iUzzL8Nt6LUM73qmPPNkstCVKdcz2o/0ytS73B3diDrTOQ45bf6O9K1BFYy95Q== [email protected] |
This file contains hidden or 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
git rm -r --cached . | |
git add . | |
git commit -am "Remove ignored files" |
This file contains hidden or 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
# =============== # | |
# Unity generated # | |
# =============== # | |
[Ll]ibrary/ | |
[Tt]emp/ | |
[Oo]bj/ | |
[Bb]uild/ | |
[Bb]uils* | |
UnityGenerated/ | |
sysinfo.txt |
This file contains hidden or 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
{ | |
"folders": | |
[ | |
{ | |
"file_exclude_patterns": | |
[ | |
"*.unity", | |
"*.controller", | |
"*.asset", | |
"*.meta", |
This file contains hidden or 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
sudo pm-powersave true | |
sudo service mongod stop | |
sudo service php5-fpm stop | |
sudo service mysql stop | |
sudo service apache2 stop | |
sudo service memcached stop | |
sudo service rabbitmq-server stop | |
sudo service virtualbox stop | |
sudo service ejjaberd stop | |
sudo service bosh stop |
This file contains hidden or 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
//Works with jquery transition animations plugins that are similar to jquery animate function | |
//use this to gracefully fallback to regular JS animations when the browser don't support | |
//css3 animations | |
//IE10 says that supports animations but don't really work so all IE sucks | |
if (Modernizr.csstransforms && Modernizr.cssanimations && Modernizr.csstransitions && ! jQuery.browser.msie) { | |
navigation.css3animations = true; | |
} else { | |
$j.fn.transition = $j.fn.animate;//fallback transition plugin to jquery animate | |
} |
This file contains hidden or 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
ls -t1 compressed/css.min.*.css | tail -n+6 | xargs -r git rm #last 5 | |
git commit -v -m "removed old compressed js/css" |
This file contains hidden or 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
server { | |
listen 0.0.0.0:80; | |
server_name pma; | |
root /usr/share/phpmyadmin/; | |
index index.php index.html index.htm; | |
location ~ .php$ { | |
try_files $uri =404; | |
fastcgi_pass unix:/var/run/php5-fpm.sock; | |
fastcgi_index index.php; | |
include /etc/nginx/fastcgi_params; |
This file contains hidden or 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
//thanks to https://github.com/h5bp/html5-boilerplate/blob/master/js/plugins.js | |
// Avoid `console` errors in browsers that lack a console. | |
(function() { | |
var method; | |
var noop = function () {}; | |
var methods = [ | |
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', | |
'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', | |
'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd', | |
'timeStamp', 'trace', 'warn' |
OlderNewer