Skip to content

Instantly share code, notes, and snippets.

" When started as "evim", evim.vim will already have done these settings.
if v:progname =~? "evim"
finish
endif
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" ADDED BY ME
@arctouch-shadowroldan
arctouch-shadowroldan / brew
Last active July 27, 2020 21:28
Brew install all the apps
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew update
brew install wget
brew install watch
brew install mobile-shell
brew install mysql --client-only
brew install git
brew install gnu-sed
brew install graphicsmagick
@arctouch-shadowroldan
arctouch-shadowroldan / gist:886727d36a53ebed6be0
Created September 19, 2014 19:40
alias record, now with debug
[2014-09-19T19:36:51+00:00] DEBUG: Re-raising exception: NoMethodError - route53_record[foo.example.com] (dns::default line 14) had an error: NoMethodError: undefined method `sub' for nil:NilClass
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/fog-1.20.0/lib/fog/aws/requests/dns/get_hosted_zone.rb:28:in `get_hosted_zone'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/fog-1.20.0/lib/fog/aws/models/dns/zones.rb:23:in `get'
/var/chef/cache/cookbooks/route53/providers/record.rb:53:in `zone'
/var/chef/cache/cookbooks/route53/providers/record.rb:69:in `record'
/var/chef/cache/cookbooks/route53/providers/record.rb:113:in `block in class_from_file'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0/lib/chef/provider/lwrp_base.rb:138:in `instance_eval'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0/lib/chef/provider/lwrp_base.rb:138:in `block in action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.8.0/lib/chef/provider.rb:118:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ch
@arctouch-shadowroldan
arctouch-shadowroldan / gist:a3a5acf42875f22073e9
Last active August 29, 2015 14:03
"almost in season" grilled asparagus and corn salad
The problem with this recipe is the ingredients are never all in season at the same time.
Best as a summer salad with imported asparagus but works in other seasons as well.
4 Large Tomatoes
6 Ears of Corn
2 Bunch Asparagus
1/2 Cup Extra Virgin Olive Oil
1/4 cup Balsamic Vinegar
4 TBSP Chopped Basil
2 TBSP Chopped Mint
Ingredients:
1/2 head red cabbage
1/2 head green cabbage
3 Carrots
1 whole horseradish root.
1/4 cup white wine vinegar
Sauce:
1/3 cup Sour Cream
1/2 cup apple cider vinegar
@arctouch-shadowroldan
arctouch-shadowroldan / Carnitas
Last active December 26, 2015 21:58
Carnitas a la Roldan
4-5-pounds boneless pork shoulder, cut into 4-5-inch chunks, trim excess fat
1/4 cup canola or frying oil
1 Mexican beer
1 cinnamon stick
1 1/2 tablespoons coarse sea salt
1 Tablespoon cayenne chile powder
1 Tablespoon ancho chile powder
1 Tablespoon smoked paprika
2 Tablespoons brown sugar
1 Teaspoon ground cumin
@arctouch-shadowroldan
arctouch-shadowroldan / gist:3762575
Created September 21, 2012 16:47
collector fatal state
2012-09-21 16:42:44,314 INFO spawned: 'collector' with pid 15246
2012-09-21 16:42:44,780 INFO success: dogstatsd entered RUNNING state, process has stayed up for > than 3 seconds (startsecs)
2012-09-21 16:42:44,780 INFO success: forwarder entered RUNNING state, process has stayed up for > than 3 seconds (startsecs)
2012-09-21 16:42:44,820 INFO exited: collector (exit status 1; not expected)
2012-09-21 16:42:46,826 INFO spawned: 'collector' with pid 15255
2012-09-21 16:42:47,117 INFO exited: collector (exit status 1; not expected)
2012-09-21 16:42:50,124 INFO spawned: 'collector' with pid 15266
2012-09-21 16:42:50,401 INFO exited: collector (exit status 1; not expected)
2012-09-21 16:42:51,403 INFO gave up: collector entered FATAL state, too many start retries too quickly
Interval Since Last Panic Report: 461211 sec
Panics Since Last Report: 1
Anonymous UUID: 89BF9D24-7933-4FD4-A65B-1A474A1B4BCF
Tue Feb 7 11:30:51 2012
panic(cpu 0 caller 0xffffff80002c266d): Kernel trap at 0xffffff7f817e4895, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000000, CR3: 0x000000000f61e000, CR4: 0x0000000000000660
RAX: 0x0000000000000000, RBX: 0xffffff8102a2ba40, RCX: 0xffffff80dcba907c, RDX: 0x00000000ff55b22d
RSP: 0xffffff8102a2b8c0, RBP: 0xffffff8102a2b8e0, RSI: 0xffffff8102a2ba40, RDI: 0xffffff80ccd46000
R8: 0x000000000003ffe0, R9: 0xffffff8101bd5000, R10: 0xffffff80ccac50b0, R11: 0x0000000000000100
@arctouch-shadowroldan
arctouch-shadowroldan / gist:1724657
Created February 2, 2012 17:17
backtrace smartermeter
$ sudo gem install --backtrace smartermeter
Password:
ERROR: While executing gem ... (NoMethodError)
undefined method `call' for nil:NilClass
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/requirement.rb:129:in `satisfied_by?'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:243:in `all?'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/requirement.rb:129:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/requirement.rb:129:in `all?'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/requirement.rb:129:in `satisfied_by?'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/source_index.rb:325:in `search'
[1257635.970915] BUG: scheduling while atomic: flush-8:0/955/0xffffffff
[1257635.970931] BUG: unable to handle kernel paging request at 0000000481f5d3
[1257635.970936] IP: [<ffffffff8105377d>] task_rq_lock+0x4d/0xa0
[1257635.970946] PGD 0
[1257635.970948] Oops: 0000 [#1] SMP
[1257635.970951] last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shed_cpu_map
[1257635.970955] CPU 3
[1257635.970956] Modules linked in: btrfs zlib_deflate crc32c libcrc32c ufs qn hfsplus hfs minix ntfs vfat msdos fat jfs reiserfs ipmi_si mpt2sas scsi_transrt_sas mptctl mptbase ipmi_devintf ipmi_msghandler dell_rbu nfs lockd nfs_acl th_rpcgss sunrpc xfs exportfs fbcon tileblit font bitblit softcursor psmouse v16fb dell_wmi vgastate lp serio_raw joydev bnx2 dcdbas parport power_meter sesnclosure usbhid hid megaraid_sas [last unloaded: ipmi_si]
[1257635.970986] Pid: 928, comm: xfslogd/3 Not tainted 2.6.32-24-server #41-Ubtu PowerEdge R710
[1257635.970988] RIP: 0010:[<ffffffff8105377d>] [<ffffffff8105377d>] task_rq_ck+0x4d/0xa