Skip to content

Instantly share code, notes, and snippets.

View iesta's full-sized avatar

Goom JM iesta

View GitHub Profile

Keybase proof

I hereby claim:

  • I am iesta on github.
  • I am iesta (https://keybase.io/iesta) on keybase.
  • I have a public key ASDsOMbIQCIp78u6aMZOt4BbasY9pc_8hFEHpp2G9Eex2Ao

To claim this, I am signing this object:

0x7adb612b9341e144bf82019fb2f27a7acdb1537e
console.log('hello');
@iesta
iesta / Test
Created November 15, 2016 09:01
/* insert code here */
@iesta
iesta / gist:7446235
Created November 13, 2013 09:31
Postfix errors - mail.log
Nov 13 10:26:18 vps13616 postfix/smtp[17826]: connect to alt4.gmail-smtp-in.l.google.com[173.194.79.27]:25: Connection timed out
Nov 13 10:26:18 vps13616 postfix/smtp[17818]: connect to alt4.gmail-smtp-in.l.google.com[173.194.79.27]:25: Connection timed out
Nov 13 10:26:18 vps13616 postfix/smtp[17838]: connect to alt4.gmail-smtp-in.l.google.com[173.194.79.27]:25: Connection timed out
Nov 13 10:26:18 vps13616 postfix/smtp[17825]: connect to alt4.gmail-smtp-in.l.google.com[173.194.79.27]:25: Connection timed out
Nov 13 10:26:18 vps13616 postfix/smtp[17831]: connect to alt4.gmail-smtp-in.l.google.com[173.194.79.27]:25: Connection timed out
Nov 13 10:26:18 vps13616 postfix/smtp[17818]: 896E32C2884: to=<sucresemoule@gmail.com>, orig_to=<nlaftq@ufeo.com>, relay=none, delay=25496, delays=25345/0.42/151/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.79.27]:25: Connection timed out)
Nov 13 10:26:18 vps13616 postfix/smtp[17826]: 35C8C2C2454: to=<advertise.bz222zuqi@gmail.com>, relay=n
@iesta
iesta / gist:6593176
Created September 17, 2013 11:37
Join element of NSArray ios
[[self.wrings valueForKey:@"upperCuts"] componentsJoinedByString:@"caca"]);
@iesta
iesta / new_gist_file
Created September 10, 2013 14:41
Create a button programmatically
UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[button addTarget:self
action:@selector(aMethod:)
forControlEvents:UIControlEventTouchDown];
[button setTitle:@"Show View" forState:UIControlStateNormal];
button.frame = CGRectMake(80.0, 210.0, 160.0, 40.0);
[view addSubview:button];
@iesta
iesta / gist:6434429
Created September 4, 2013 08:49
Some Sublime Text 2 user keymap
[
{ "keys": ["ctrl+-"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
{ "keys": ["ctrl+super+escape"], "command": "show_panel", "args": {"panel": "console"} },
{ "keys": ["ctrl+shift+="], "command": "insert_snippet", "args": {"contents": "<%= $0 -%>"} },
{ "keys": ["ctrl+shift+ù"], "command": "insert_snippet", "args": {"contents": "<% $0 %>"} },
{ "keys": ["ctrl+$"], "command": "show_panel", "args": {"panel": "console"} },
{ "keys": ["ctrl+enter"], "command": "insert_snippet", "args": {"contents": "<br />"} },
{ "keys": ["ctrl+shift+-"], "command": "insert_snippet", "args": {"contents": "<hr />"} },
{ "keys": ["ctrl+l"], "command": "insert_snippet", "args": {"contents": " => "} },
@iesta
iesta / new_gist_file
Created June 24, 2013 12:48
Flat bootstrap
/* Flatten das boostrap */
.well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid {
-moz-box-shadow: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
-webkit-border-radius: 0px !important;
-moz-border-radius: 0px !important;
border-radius: 0px !important;
border-collapse: collapse !important;
background-image: none !important;
@iesta
iesta / new_gist_file
Created June 11, 2013 13:39
Create phonegap app
./create /Volumes/All/android/dev/pg001 li.duck.phonegap001 phonegap001