File | Settings | Appearance and Behavior | Scopes for Windows and Linux
WebStorm | Preferences | Appearance and Behavior | Scopes for macOS
- Click on + button
- Set :
console.disableYellowBox = true; |
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# Vince's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# Make sure you have a recent version: the code points that Powerline |
^(?!.*-[0-9]{1,4}x[0-9]{1,4}).*\.(?:jpe?g|gif|png)$ |
<?php | |
/** | |
* Google Map Shortcode | |
* An optional separate file with custom styles can be loaded | |
* to declade the $gmapStyle variable contains the JSON as string | |
* change the path to match your config | |
* | |
* API KEY: | |
* You need to set your Google Maps API_KEY to the following constant | |
* |
/** | |
* Generate a grayscale copy of main (full) image referenced as an image_size | |
*/ | |
function add_grayscale_image_size( $image_sizes ) { | |
$image_sizes[] = 'grayscale'; | |
return $image_sizes; | |
} |
git config --global alias.update '!git pull && git submodule update --init --recursive --remote' |
<?php | |
/** | |
* | |
* AUTODEPLOY GITHUB REPO ON HOSTING | |
* | |
* @author Vincent Lalanne <[email protected]> | |
* | |
* | |
* Step 1: create the SSH key on your hosting | |
* https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2 |
<?php | |
/* | |
JSON list of all images files in current directory | |
*/ | |
header("Access-Control-Allow-Origin: *"); | |
$dir = "."; | |
$dh = opendir($dir); | |
$image_files = array(); |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" | |
"_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;" | |
"esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" | |
"X-Poedit-Basepath: .\n" | |
"X-Poedit-SourceCharset: UTF-8\n" | |
"Plural-Forms: nplurals=2; plural=(n>1);\n" | |
"X-Poedit-SearchPath-0: ..\n" |