Skip to content

Instantly share code, notes, and snippets.

View keikun17's full-sized avatar

Cakey | Buddy Magsipoc keikun17

View GitHub Profile
@keikun17
keikun17 / keybase.proof.text
Created April 2, 2014 08:19
keybase proof
### Keybase proof
I hereby claim:
* I am keikun17 on github.
* I am keikun17 (https://keybase.io/keikun17) on keybase.
* I have a public key whose fingerprint is 7E4A 77B1 BD56 9D36 7E9B 023E 12E0 DDC3 E0EF 53BF
To claim this, I am signing this object:
@keikun17
keikun17 / gist:9264032
Created February 28, 2014 02:32
Trying out snippets
# Does not work
'.source.rb':
'Ruby method':
'prefix': 'rm'
'body':
'def $1 end'
# Does not work either
'.text.rb':
'Ruby method':
@keikun17
keikun17 / gist:8819331
Last active August 29, 2015 13:56
2014 PC
I sold my iMac (2011 model 27",i5, AMD 6970 video card, 12GB RAM) for PHP 45,000 and am building a new PC.
here are the specs and current price nila from online price checks :
Video Card : - AMD Sapphire R9-290X 4GB GDDR5 - PHP 24,850 Dynaquest Website price
CPU : - i5 4670 3.4-3.8 haswell - PHP 9,950 Dynaquest Website price
RAM : - Corsair Vengeance 16GB quad 1600 CL9 - PHP 6,500 Dynaquest Website price
MOBO : - Asrock Fatal1ty Z87 Killer (LGA 1150) - PHP 6,750 Dynaquest website price
HD : Western Digital 2tb - PHP 4,800 - Dynaquest Website price
Case : Generic - PHP 3,000 - budget
@keikun17
keikun17 / 英雄.rb
Last active December 21, 2015 01:29
class Hero
attr_accessor :名, :職, :ファイル, :健康
def initialize(名, 職, ファイル, 健康)
@名 = 名
@職 = 職
@ファイル = ファイル
@健康 = 健康
end
>> a = -> { puts "En Taro Adun" }
>> a.call
=> NoMethodError: undefined method 'a' for main
>> a
=> NoMethodError: undefined method 'a' for main
# This works
>> @a = -> { puts "Allahu Akbar" }
>> @a.call
=> "Allahu Akbar"
@keikun17
keikun17 / gist:5409034
Last active December 16, 2015 08:49
Sigh... #ruby
{'key.with.dot': 'something'}
=> SyntaxError: (irb):7: syntax error, unexpected ':', expecting tASSOC
{'key.with.dot': 'something'}
^
{"key.with.dot": 'something'}
=> SyntaxError: (irb):8: syntax error, unexpected ':', expecting tASSOC
{key.with.dot: 'something'}
^
PR#100054321
Client : Mr. Someone
Quoted Specs : Milk
Offers :
Brand Specs Price Currency/Conversion PO?
---------- ---------- ------- ------------------- ---
Bearbrand Non Fat 10.00 USD @ 41.0 (410PHP) YES!(PO#100-3344)
Nido Fatty 5.00 PHP 300
@keikun17
keikun17 / gist:5283151
Created April 1, 2013 03:45
Walked right into it...
Bad news: Sigh... Mitch and I are going through some really tough times right now...
but it's alright, we still have each other.
It's times like these that we get to appreciate the small stuff in life...
I will be selling stuff starting with my PC (specs below). 5,000 pesos...
pls pm me for details...
AMD FX-8350 4.0GHz 8-Core
Corsair H100i 77.0 CFM Liquid
Arctic Cooling MX-2 65g
Asus Crosshair V Formula-Z ATX AM3+
# Update, upgrade and install development tools:
apt-get update
apt-get -y upgrade
apt-get -y install build-essential
apt-get -y install git-core
# Install rbenv
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv
# Add rbenv to the path:
PhRUG Celebrity Names
Ricky Sta Cruz
Byron Bibat
Terry Ponce
Francis Magsipoc (aka Francis M)
Florence Magsipoc
Elmer Gaspar
Error Fornoles
Raymond Tayag