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
## Get lines with image size greater than > 653x350 | |
egrep -o '(6[5-9][0-9]|[7-9][0-9][0-9]|[0-9]{4})x(3[5-9][0-9]|[4-9][0-9][0-9]|[0-9]{4})' images-in-new-line | sort | wc -l |
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 slugify(value) { | |
/* | |
* Convert the the vs in a range of cells into slugs. | |
*/ | |
slug = ''; | |
slug = value.substring(0, 30).toLowerCase(); | |
slug = slug.replace(/[^\w\s-]/g, ''); | |
slug = slug.replace(/\s+/g, '-'); | |
Logger.log(slug); |
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
mysql -uroot -p db -e "select * from table" | sed "s/\"//g;s/'/\'/;s/\t/\",\"/g;s/^/\"/;s/$/\"/;s/\n//g" > filename.csv |
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
{ | |
"codeformatter_debug": false, | |
"codeformatter_php_options": { | |
"syntaxes": "php", // Syntax names which must process PHP formatter | |
"php_path": "", // Path for PHP executable, e.g. "/usr/lib/php" or "C:/Program Files/PHP/php.exe". If empty, uses command "php" from system environments | |
"format_on_save": false, // Format on save | |
"php55_compat": false, // PHP 5.5 compatible mode | |
"psr1": false, // Activate PSR1 style | |
"psr1_naming": false, // Activate PSR1 style - Section 3 and 4.3 - Class and method names case |
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
{ | |
"word_wrap": true, | |
"index_files": false | |
} |
NewerOlder