- Copy both files into the directory containing the files you want converted
- Run
excel-to-csv.bat
Note: This script requires Excel to be installed.
| #!/usr/bin/python3 | |
| import json | |
| import sys | |
| with open(sys.argv[1], "r") as infile: | |
| data = json.load(infile) | |
| outfile = open(sys.argv[1]+".txt", 'w') | |
| count = 1 |
| <?php // only copy this line if needed | |
| /** | |
| * Renders a notice and prevents checkout if the cart | |
| * only contains products in a specific category | |
| */ | |
| function sv_wc_prevent_checkout_for_category() { | |
| // set the slug of the category for which we disallow checkout | |
| $category = 'clothing'; |
extension_id=jifpbeccnghkjeaalbbjmodiffmgedin # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc"
unzip -d "$extension_id-source" "$extension_id.zip"Thx to crxviewer for the magic download URL.
| // Usage: | |
| // Copy and paste all of this into a debug console window of the "Who is Hiring?" comment thread | |
| // then use as follows: | |
| // | |
| // query(term | [term, term, ...], term | [term, term, ...], ...) | |
| // | |
| // When arguments are in an array then that means an "or" and when they are seperate that means "and" | |
| // | |
| // Term is of the format: | |
| // ((-)text/RegExp) ( '-' means negation ) |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteRule (.*) ./index.php?id=$1 [L] | |
| </IfModule> |
As configured in my dotfiles.
start new:
tmux
start new with session name: