I hereby claim:
- I am suderman on github.
- I am suderman (https://keybase.io/suderman) on keybase.
- I have a public key whose fingerprint is 7543 51D9 DC56 BDB1 545A FD22 537B 2F61 0C17 61A6
To claim this, I am signing this object:
# Setting up nterchange | |
# | |
# Assumptions: | |
# - PHP, Apache and MySQL are installed | |
# - Site will live at /var/www/touchstone | |
# - Apache user is www-data | |
# - MySQL username and password are "root" and "rootpass" | |
# | |
# If anything of these are different, make adjustments to the commands below, | |
# and adjust conf/conf.php to match. |
macbook :: code/nonfiction/nonfiction.ca ‹master› % git push octohost master | |
Counting objects: 11, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (6/6), done. | |
Writing objects: 100% (6/6), 530 bytes | 0 bytes/s, done. | |
Total 6 (delta 4), reused 0 (delta 0) | |
remote: Put repo in src format somewhere. | |
remote: Building Docker image. | |
remote: Base: nonfiction | |
remote: Sending build context to Docker daemon 35.71 MB |
Verifying that +suderman is my openname (Bitcoin username). https://onename.io/suderman |
{ | |
"name": "ead", | |
"version": "1.0.0", | |
"dependencies": { | |
"uglifyjs": "~2.3.6", | |
"less": "~1.7.0" | |
}, | |
"scripts": { | |
"server": "cd public_html && php -S localhost:8000 index.php", | |
"compile-less": "node_modules/less/bin/lessc --include-path=./vendor/components:./vendor/nterchange --source-map-less-inline app/assets/stylesheets/all.less public_html/assets/stylesheets/all.css", |
#!/bin/sh | |
echo "goodnight everybody!" |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
ln -sfv /usr/local/opt/sleepwatcher/de.bernhard-baehr.sleepwatcher-20compatibility.plist ~/Library/LaunchAgents/de.bernhard-baehr.sleepwatcher.plist | |
ln -sfv /usr/local/opt/sleepwatcher/de.bernhard-baehr.sleepwatcher-20compatibility-localuser.plist ~/Library/LaunchAgents/de.bernhard-baehr.sleepwatcher-localuser.plist | |
touch ~/.sleep | |
touch ~/.wakeup |
# Login to shopify console and copy-paste the following script: | |
order_count = ShopifyAPI::Order.count | |
nb_pages = (order_count / 250.0).ceil | |
# Looking for orders with only these products | |
PRODUCT_IDS = [144760487, 144107049] | |
# 10 minutes times 60 seconds per minute. | |
CYCLE = 5 * 60 |
# FIND BIG FILES: | |
git rev-list --all --objects | \ | |
sed -n $(git rev-list --objects --all | \ | |
cut -f1 -d' ' | \ | |
git cat-file --batch-check | \ | |
grep blob | \ | |
sort -n -k 3 | \ | |
tail -n100 | \ | |
while read hash type size; do |
# -- Add to top of config/environment.rb -- | |
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.3.7') | |
module Rails | |
class GemDependency | |
def requirement | |
r = super | |
(r == Gem::Requirement.default) ? nil : r | |
end | |
end | |
end |