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://editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
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
sub vcl_fetch { | |
# Drop any cookies WordPress (except for wp-login/wp-admin) tries to send back to the client. | |
if (!(req.url ~ "wp-(login|admin)")) { | |
unset beresp.http.set-cookie; | |
} | |
} | |
sub vcl_recv { | |
# Drop any cookies sent to WordPress. | |
if ( ! ( req.url ~ "wp-(login|admin)" ) ) { |
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
// My fonts | |
$fontPath: '/fonts/path/'; | |
$fonts: ( | |
'Bold': 'SansWeb-Bold', | |
'BoldItalic': 'SansWeb-BoldItalic', | |
'Heavy': 'SansWeb-Heavy', | |
'HeavyItalic': 'SansWeb-HeavyItalic', | |
'Italic': 'SansWeb-Italic', | |
'Light': 'SansWeb-Light', | |
'LightItalic': 'SansWeb-LightItalic', |
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
// usage: @include transition(width, .1s, ease-in-out, 0); | |
// transition: [transition-property] [transition-duration] [transition-timing-function] [transition-delay]; | |
@mixin transition ($property, $duration, $timing, $delay) { | |
-webkit-transition-property: $property; | |
-webkit-transition-duration: $duration; | |
-webkit-transition-timing-function: $timing; | |
-webkit-transition-delay: $delay; | |
-moz-transition-property: $property; | |
-moz-transition-duration: $duration; | |
-moz-transition-timing-function: $timing; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Facebook batch photo download</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> |
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
Show hidden characters
{ | |
"caret_style": "smooth", | |
"color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme", | |
"draw_white_space": "all", | |
"file_exclude_patterns": | |
[ | |
"*.tmLanguage.cache", | |
"*.tmPreferences.cache", | |
"*.psd", | |
"*.psb", |
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
(function(){ | |
var module = (function() { | |
var _privateMethod = function() { | |
}; | |
var _protectedMethod = function() { | |
// io posso usare privateMethod | |
}; |
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
// Init Git on your Dropbox folder (es: "index.git" is the name of the repo) | |
git init --bare index.git | |
// Add origin repository on your project folder | |
git remote add origin file:///Path/to/your/Dropbox/folder/index.git/ |
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
*, | |
*:after, | |
*:before { | |
box-sizing: border-box; | |
} |
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
/* | |
#ie10 will only be red in MSIE 10, | |
both in high contrast (display setting) and default mode | |
*/ | |
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { | |
#ie10 { color: red; } | |
} |
NewerOlder