##file multi rename, regex pattern for commander
Search For : -(\d*)([-.]\w*.\w*)
Replace With : -${1}000${2}
convert -density 150 -trim "css3_for_web_designers.pdf[56]" -quality 100 -sharpen 0x1.0 out.jpg \ |
#!/usr/bin/bash | |
# author Branchito | |
# Usage | |
# This script takes filenames as arguments, as many as you wish | |
# and then searches through all .zip archives for those filenames | |
# and extracts them | |
# if you do not wish to specify args manually on the command line |
link pattern | |
\w*:\/\/[^"<]* | |
links outside of href attribute | |
[^"]\zshttp:\/\/[^"<]* |
FIXME: | |
☐ promena LOGO-a (u mailu je novi) | |
☐ paging na arhivi, boje su pogresne | |
☐ search button ne radi | |
☐ header pravi horizontal scrollbar, ne ponasa se fluidno |
<!-- QUERY for deleting leftover copies of images on server. --> | |
<!-- --> | |
<!-- mysql> select o.id_product, o.id_image from ps_image_old as o left join ps_image_processed as p --> | |
<!-- -> on o.id_product = p.id_product --> | |
<!-- -> where o.id_image <> p.id_image; --> | |
<?php | |
// set params here | |
$username = "user"; |
##file multi rename, regex pattern for commander
Search For : -(\d*)([-.]\w*.\w*)
Replace With : -${1}000${2}
DROP TABLE IF EXISTS `#__mycomp_posts`; | |
CREATE TABLE `#__mycomp_posts` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`title` varchar(250) NOT NULL, | |
`body` TEXT NOT NULL DEFAULT '', | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; |
[git-ftp] | |
user = username | |
url = domain.name/[public_html/or whatever] | |
password = password | |
add these lines in git repo configuration file, at the end |
{ | |
// The command to execute for the terminal, leave blank for the OS default | |
// On OS X the terminal can be set to iTerm.sh to execute iTerm | |
"terminal": "C:\\Windows\\System32\\cmd.exe", | |
// A list of default parameters to pass to the terminal, this can be | |
// overridden by passing the "parameters" key with a list value to the args | |
// dict when calling the "open_terminal" or "open_terminal_project_folder" | |
// commands | |
"parameters": ["/c sh --login -i"] |