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
| <!-- 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"; |
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
| 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 |
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
| link pattern | |
| \w*:\/\/[^"<]* | |
| links outside of href attribute | |
| [^"]\zshttp:\/\/[^"<]* |
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
| #!/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 |
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
| convert -density 150 -trim "css3_for_web_designers.pdf[56]" -quality 100 -sharpen 0x1.0 out.jpg \ |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| /* Tooltips */ | |
| .tip-wrap{ | |
| z-index: 10000; | |
| } | |
| .tip { | |
| float: left; | |
| background: #ffc; | |
| border: 1px solid #D4D5AA; | |
| padding: 5px; | |
| max-width: 200px; |
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
| # Ignore everything | |
| /* | |
| # Don't ignore directories, so we can recurse into them | |
| !*/ | |
| /cache/ | |
| cli/ | |
| includes/ |
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
| *, *:before, *:after { | |
| -moz-box-sizing: border-box; | |
| -webkit-box-sizing: border-box; | |
| box-sizing: border-box; } | |
| .container { | |
| max-width: 1140px; | |
| margin-left: 0; | |
| margin-right: auto; | |
| background-image: linear-gradient(to right, rgba(0, 128, 0, 0.25), rgba(0, 204, 0, 0.25) 88.88889%, transparent 88.88889%); |