Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🐧 🗡️ 💻

Milan Thapa thapakazi

💭
🐧 🗡️ 💻
View GitHub Profile
View ec2.ini
# Ansible EC2 external inventory script settings
#
[ec2]
# to talk to a private eucalyptus instance uncomment these lines
# and edit edit eucalyptus_host to be the host name of your cloud controller
#eucalyptus = True
#eucalyptus_host = clc.cloud.domain.org
@thapakazi
thapakazi / gist:8974369
Created Feb 13, 2014
9841465367- yagya dai.
View gist:8974369
9841465367- yagya dai.
@thapakazi
thapakazi / update-rvm.sh
Created Feb 13, 2014
Update ruby version using rvm
View update-rvm.sh
#!/bin/bash
#source::
# http://stackoverflow.com/a/4574388/2636474
#First of all, update your RVM installation by running
rvm get stable
#then to make sure you're running the new RVM version, you'll then need to run
rvm reload #(or just open a new terminal).
View jruby-bson-build-fail.err
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/deploy/path/.rvm/rubies/jruby-1.7.11/bin/jruby extconf.rb
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS.
(root) at /deploy/path/.rvm/rubies/jruby-1.7.11/lib/ruby/shared/mkmf.rb:8
require at org/jruby/RubyKernel.java:1085
(root) at /deploy/path/.rvm/rubies/jruby-1.7.11/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
(root) at extconf.rb:1
View music.of.the.day
https://www.youtube.com/watch?v=xnKOVPXhlnE
View gist.url
https://github.com/defunkt/gist.git
View -
https://github.com/defunkt/gist.git
View usb-boot-with-vbox.sh
#!/bin/sh
#source: http://www.twm-kd.com/software/boot-virtualbox-machine-from-a-usb-flash-drive/
#adding virualbox modules
sudo modprobe vboxdrv
#make a vbox hdd for the usb_drive
mkdir -p /tmp/VHardDisks
View org-mode-reference-in.org
You can’t perform that action at this time.