Skip to content

Instantly share code, notes, and snippets.

View Goles's full-sized avatar

Nicolas Goles Goles

View GitHub Profile

Keybase proof

I hereby claim:

  • I am goles on github.
  • I am goles (https://keybase.io/goles) on keybase.
  • I have a public key ASDMLb4YrDuxGgF6JnR72jlb-_NpUMKvRVjsDM1OwMutTgo

To claim this, I am signing this object:

@Goles
Goles / hello.mm
Last active August 29, 2015 14:20
// Header
@interface AnOperation : NSOperation
@property (nonatomic, readonly) NSString *ifa;
@property (nonatomic, assign) double timeInterval;
@end
// .m
// Tries to access a property with an exponential back-off
let N = 1000;
var i = 2;
var array = Bool[](count:N, repeatedValue:true);
for i in 2..array.count {
for var j = 2; j * i < array.count; ++j {
if array[j * i] {
array[j * i] = false
}
}

Hasta donde sé hay "evaluaciones"... había una planilla dando vueltas por ahí que evaluaba las aceleradoras en general por capital levantado. Las que realmente valen la pena son YCombinator, 500 Startups, Techstars (generalizando un poco y en el momento que ví la planilla).

El tema es que Startup Chile no puede medirse (en mi opinión) de esta manera. El objetivo final, es diferente.

Lo que plantea Startup Chile


Mission: "Position Chile as the leading innovation and entrepreneurship hub of Latam"

#
# Uncrustify Configuration File
# File Created With UncrustifyX 0.2 (140)
#
# Alignment
# ---------
## Alignment
@Goles
Goles / gist
Created February 24, 2014 12:12
This is a gist
use strict;
use vars qw($VERSION %IRSSI);
use Irssi;
$VERSION = '1.0.0';
%IRSSI = (
authors => 'Brandon Black',
contact => 'brandonmblack@gmail.com',
name => 'irssi-osx-notify',
description => 'OS X Notifications for Irssi.',
PLCancelTicketSet *ticketSet = [PLCancelTicketSet ticketSet];
id<PLCancelTicket> httpTicket = [_client connectionWithRequest: req
bodyData: reqData
timeout: timeout
dispatchContext: [PLDirectDispatchContext context]
block: ^(PLHTTPResponse *response, id <PLInputStream> bodyInputStream, NSError *error)
{
// ... check for error ..
PLLimitingInputStreamFilter *inputFilter = [PLLimitingInputStreamFilter filterWithInputStream: bodyInputStream
maximumBytes: MAX_RESOURCE_DOWNLOAD_BYTES];
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
# This package tracks vim directly from Vim.org and not from the debian repos.
url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2'
sha1 '601abf7cc2b5ab186f40d8790e542f86afca86b7'
devel do
url 'http://ftp.de.debian.org/debian/pool/main/v/vim/vim_7.4b.004.orig.tar.gz'
#!/bin/bash
# This should work whether you are already in a TMUX session or not...
# Irssi directory is assumed to be in the user's home dir
if [ -z "$TMUX" ]
then
tmux new-session -d -s ircuser
tmux split-window -tircuser -h -l20
tmux send-keys -tircuser "tmux send-keys -t0 \"irssi\" C-m; \
tmux send-keys -t0 \"/set nicklist_height \$(stty size | cut -f1 -d' ' -)\" C-m; \
tmux send-keys -t0 \"/set nicklist_width \$(stty size | cut -f2 -d' ' -)\" C-m; \