Skip to content

Instantly share code, notes, and snippets.

@chapov
chapov / gist:c0d6fb5531d18a5d7782
Created August 23, 2014 17:57
signatures for WP
grep -r -i -F -l --exclude=*.{png,gz,zip,rar,tgz,gif,pdf,jpg,jpeg,wmv} 'FilesMan
46.32.226.132
$GLOBALS['mrufx31']
function pttna79
_YM82iAN
http://rx-onlinepharmacystore.com/
discount-rx-shop.com
cheap-med-store.com
DQplcnJvcl9yZXBvcnRpb
0f01b0379c078cb769fe70b5f51f5e8e
@elebescond
elebescond / gist:1433137
Created December 5, 2011 10:24
Generate a pot template from a wordpress theme - xgettext
find . -iname "*.php" > /tmp/my_theme_file_list.txt
# new template
xgettext --from-code=utf-8 -d my_theme -f /tmp/my_theme_file_list.txt --keyword=__ -o languages/my_theme.pot
# update template
xgettext --from-code=utf-8 -d my_theme -j -f /tmp/my_theme_file_list.txt --keyword=__ -o languages/my_theme.pot