Skip to content

Instantly share code, notes, and snippets.

View MikeiLL's full-sized avatar

Mike iLL Kilmer MikeiLL

View GitHub Profile
@MikeiLL
MikeiLL / 02.make
Last active August 29, 2015 14:03
Python failed to build on 10.6.8
llvm-gcc -c -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
llvm-gcc -c -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
llvm-gcc -c -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
llvm-gcc -c -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
llvm-gcc -c -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/op

Keybase proof

I hereby claim:

  • I am mikeill on github.
  • I am mzoo (https://keybase.io/mzoo) on keybase.
  • I have a public key whose fingerprint is D65E D36A F3CF 5205 DE5B B8F2 17A4 7091 0C4A 65CB

To claim this, I am signing this object:

GIT
remote: git://github.com/RohanM/simple_form.git
revision: 45f08a213b40f3d4bda5f5398db841137587160a
specs:
simple_form (2.0.2)
actionpack (~> 3.0)
activemodel (~> 3.0)
GIT
remote: git://github.com/jeremydurham/custom-err-msg.git
Parameters: {"utf8"=>"✓", "enterprise"=>{"name"=>"", "owner_id"=>"", "is_primary_producer"=>"0", "sells"=>"none", "contact"=>"", "email"=>"xxx@mzoo.org", "phone"=>"201-xxxxxxxx", "website"=>"", "address_attributes"=>{"address1"=>"123 S. Bloomfield Ave.", "address2"=>"", "city"=>"Montawk", "zipcode"=>"10009", "state_id"=>"39", "country_id"=>"49"}}, "button"=>""}
Spree::User Load (0.4ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."id" = 1 LIMIT 1
(0.7ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = 1 AND "spree_roles"."name" = 'admin'
Enterprise Load (0.6ms) SELECT "enterprises".* FROM "enterprises" INNER JOIN "enterprise_roles" ON "enterprises"."id" = "enterprise_roles"."enterprise_id" WHERE "enterprise_roles"."user_id" = 1
EnterpriseGroup Load (0.4ms) SELECT "enterprise_groups".* FROM "enterprise_groups" WHERE "enterprise_groups"."owner_id" = 1
CACHE (0.0ms) SELEC
Using rake 10.4.2
Using i18n 0.6.11
Using multi_json 1.11.0
Using activesupport 3.2.21
Using builder 3.0.4
Using activemodel 3.2.21
Using erubis 2.7.0
Using journey 1.0.4
Using rack 1.4.5
Using rack-cache 1.2
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
#recommended by rvm installer:
source ~/.profile
# [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
# do i need to add this:
<VirtualHost *:80>
ServerAdmin mike@mzoo.org
ServerName localhost
ServerAlias *.localhost
VirtualDocumentRoot /Users/mikekilmer/Sites/%0
php_admin_value auto_prepend_file /Applications/MAMP/conf/apache/extra/setdocroot.php
# content of above file
# $_SERVER['DOCUMENT_ROOT'] = str_replace($_SERVER['SCRIPT_NAME'], '', $_SERVER['SCRIPT_FILENAME']);
RewriteLogLevel 3
RewriteLog "/Applications/MAMP/logs/rewrite.log"
<?php
/*
Plugin Name: Disable Event Espresso
Plugin URI: http://www.mzoo.org
Description: Disables event espresso plugin files from calls to all but specified pages
Author: mZoo/Mike iLL
Version: 1.0
Author URI: http://www.mzoo.org
*/
@MikeiLL
MikeiLL / generateplaylist.py
Created February 2, 2016 03:39
Quodlibet Plugin to generate playlists based on tracks played through end, per day.
'''
This plugin creates a playlist of all the tracks that have played through the end on any given day.
TODO: Add an enable disable button in GUI?
'''
from quodlibet.plugins.events import EventPlugin
import time
import os
from os.path import expanduser
upstream unicorn {
server unix:/home/openfoodnetwork/apps/openfoodnetwork/shared/sock/unicorn.openfoodnetwork.sock fail_timeout=0;
}
server {
listen 80;
server_name staging.usfoodcoop.org usfoodcoop.org;
# Do not use a /tmp folder or other users can obtain certificates.
location '/.well-known/acme-challenge' {