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
| ' If you've copied certain files from folder A to folder B | |
| ' And wanted to move them instead | |
| ' You can use this to remove files in B from A | |
| ' On windows just double click this script and you'll be prompted for folders | |
| Dim fso | |
| Set fso = CreateObject("Scripting.FileSystemObject") | |
| Dim folderObj, arcFolder, cleanFolder, fileObj, filename |
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
| #!/bin/env python2 | |
| """ | |
| Visual hash (see [html5 implementation](https://github.com/sametmax/VizHash.js) and | |
| [original creator's website](http://sebsauvage.net/wiki/doku.php?id=php:vizhash_gd)) | |
| reimplemented using a Python script with PIL. | |
| """ | |
| from PIL import Image,ImageDraw | |
| import hashlib | |
| import sys |
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
| # bash completion for packagebuilder pb command | |
| # (wrapper for pacman and aur on Arch Linux) | |
| _pb() { | |
| local word; | |
| word=${COMP_WORDS[$COMP_CWORD]}; | |
| COMPREPLY=( $(pb -Ss "^${word}" 2>/dev/null | grep '^\S' | sed -e 's/^.*\/\(\S\+\)\s.*/\1/') ); | |
| return 0; |
NewerOlder