Skip to content

Instantly share code, notes, and snippets.

$ rake build:paddle:release
Build ./build/MacOSX-10.7-Release
Build /Users/erichenderson/.rvm/gems/ruby-2.1.3/gems/everyday-menu-1.3.7/vendor/MD5SHA1Digest
Compile /Users/erichenderson/.rvm/gems/ruby-2.1.3/gems/everyday-menu-1.3.7/vendor/MD5SHA1Digest/NSData+MD5Digest.m
Compile /Users/erichenderson/.rvm/gems/ruby-2.1.3/gems/everyday-menu-1.3.7/vendor/MD5SHA1Digest/NSData+SHA1Digest.m
Compile /Users/erichenderson/.rvm/gems/ruby-2.1.3/gems/everyday-menu-1.3.7/vendor/MD5SHA1Digest/NSData+SHA256Digest.m
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: libMD5SHA1Digest.a for architecture: x86_64 the table of contents is empty (no object file members in the library define global symbols)
Build vendor/mem_info
Compile vendor/mem_info/mem_info.m
Build ./vendor/Pods/Pods.xcodeproj [CocoaLumberjack - Release]
$ rake build:development
Build ./build/MacOSX-10.7-Development
Build /Users/erichenderson/.rvm/gems/ruby-2.1.3/gems/everyday-menu-1.3.7/vendor/MD5SHA1Digest
Compile /Users/erichenderson/.rvm/gems/ruby-2.1.3/gems/everyday-menu-1.3.7/vendor/MD5SHA1Digest/NSData+MD5Digest.m
Compile /Users/erichenderson/.rvm/gems/ruby-2.1.3/gems/everyday-menu-1.3.7/vendor/MD5SHA1Digest/NSData+SHA1Digest.m
Compile /Users/erichenderson/.rvm/gems/ruby-2.1.3/gems/everyday-menu-1.3.7/vendor/MD5SHA1Digest/NSData+SHA256Digest.m
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: libMD5SHA1Digest.a the table of contents is empty (no object file members in the library define global symbols)
Build vendor/mem_info
Compile vendor/mem_info/mem_info.m
Build ./vendor/Pods/Pods.xcodeproj [CocoaLumberjack - Release]
$ rake clean:all
Delete ./build
Delete ./resources/Prefs.nib
Delete /usr/local/lib/ruby/gems/2.1.0/gems/everyday-menu-1.3.7/vendor/MD5SHA1Digest/build-MacOSX
Delete vendor/mem_info/build-MacOSX
Delete /Users/erichenderson/Library/RubyMotion/build
Delete vendor/Pods
--------------------------
$ rake pod:install
Updating spec repo `master`
@henderea
henderea / git-svn-relocate.rb
Last active August 29, 2015 14:16
A Ruby script for doing a svn relocate when using git-svn
#!/usr/bin/env ruby
Signal.trap('SIGINT') {
Process.waitall
puts
exit 1
}
require 'readline'
require 'fileutils'

Keybase proof

I hereby claim:

  • I am henderea on github.
  • I am henderea (https://keybase.io/henderea) on keybase.
  • I have a public key whose fingerprint is 58D1 3BCC 3FF1 9E65 2A2E BA6F F093 460F 2FD9 32E7

To claim this, I am signing this object:

@henderea
henderea / output.xml
Created May 7, 2016 18:00
./liste_dossier2.rb -s . -x output.xml
<?xml version="1.0"?>
<rootfs id="/Users/erichenderson/henderea@gmail.com/Cinquin Programming/liste_dossiers">
<file label=".DS_Store" mtime="2016-05-07 13:58:28 -0400" path="/.DS_Store" size="6148"/>
<folder label="lib" mtime="2016-05-07 13:54:19 -0400" path="/lib" size="272">
<file label=".DS_Store" mtime="2016-05-07 13:54:20 -0400" path="/lib/.DS_Store" size="6148"/>
<file label="ansi-to-html.rb" mtime="2016-03-11 17:36:29 -0500" path="/lib/ansi-to-html.rb" size="5334"/>
<file label="build_xml.rb" mtime="2016-05-07 13:49:59 -0400" path="/lib/build_xml.rb" size="611"/>
<file label="fonctions.rb" mtime="2016-04-29 07:39:30 -0400" path="/lib/fonctions.rb" size="4287"/>
<file label="listing.rb" mtime="2016-04-29 07:40:13 -0400" path="/lib/listing.rb" size="5268"/>
<file label="unused_functions_from-trying-to-output-xml.rb" mtime="2016-04-29 07:39:35 -0400" path="/lib/unused_functions_from-trying-to-output-xml.rb" size="1830"/>
@henderea
henderea / fix_ruby_openssl.sh
Created February 13, 2017 21:00
Should fix the openssl errors for an rvm-installed ruby on macOS Sierra
#!/bin/sh
# Pass the ruby versions to fix as arguments. For example,
# $ ./fix_ruby_openssl.sh 2.4.0 2.3.1 2.2.5
for rv in "$@"
do
echo rvm uninstall "$rv"
rvm uninstall "$rv"
done
@henderea
henderea / purge-watch.rb
Last active February 23, 2017 18:22
purge-watch.rb: run it as root on mac and it will automatically purge when the free memory goes below the threshold
#!/usr/bin/env ruby
# MUST BE RUN AS ROOT. You can set it up in Launch Daemons (/Library/LaunchDaemons/*.plist) to have it start on login.
# Using the LaunchControl app, add it under "Global Daemons". In LingonX, set it to run as root.
# You also need growlnotify installed at "/usr/local/bin/growlnotify". You can install it with "brew cask install growlnotify"
# To disable growl notifications, set the key :growl_enable to false in purge-watch-settings.yaml (see below)
# You can now set a maximum time to wait before running a purge. If the free memory isn't low enough to trigger the purge,
# settings the max wait will cause it to still purge if it has been at least :max_wait seconds since the last purge.
# It defaults to being off, but any POSITIVE value (doesn't include 0) will cause it to not wait more than that amount of time
@henderea
henderea / switch-epichrome-python.sh
Last active May 27, 2017 19:24
switch-epichrome-python.sh
#!/bin/bash
function fail {
echo "Encountered error: $1"
exit 1
}
if [ ! -s /usr/local/bin/brew ]; then
xcode-select --install
echo "Installing Homebrew"
@henderea
henderea / apply-epichrome-patch.sh
Last active July 19, 2017 22:10
apply-epichrome-patch.sh
#!/bin/bash
function fail {
echo "Encountered error: $1"
exit 1
}
if [ ! -s /usr/local/bin/brew ]; then
xcode-select --install
echo "Installing Homebrew"