Skip to content

Instantly share code, notes, and snippets.

Nicolas Orcali norcali

  • Buenos Aires
Block or report user

Report or block norcali

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .php
* Example PgSQL Auth Plugin settings
* See for details and explanation
* Options
$conf['authtype'] = "pgsql";
View Gemfile
source ''
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
gem 'sqlite3'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.0.2'
View gist:f07347000509de45d996
unsigned long *, src,
unsigned long *, dst,
unsigned long, len)
unsigned long buf[64]; /* Buffer for chunks */
unsigned long lenleft = len; /* Remaining size */
unsigned long chunklen = sizeof(buf); /* Initial chunk length */
/* Loop handling chunk sizes */
View gist:32d320c6611023f31ac1
def set_full_name
wed = self
wed.full_name = self.couple.full_name
View gist:6024257
"Buenos Aires": {
"default": "SABE",
"Avellaneda": "AGAD",
"Azul": "SAZA",
"Bahia Blanca": "SAZB",
"Ezeiza": "SAEZ2",
"Comodoro Rivadavia": "AG0198",
"Coronel Suarez": "SACS",
"General San Martin": "BUEX",
View gist:6024254
<script src=""></script>
<script type="text/javascript" src=""></script>
<script type="text/javascript">
$.getJSON("provincias.json", function(data) {
//var json = $.parseJSON(data);
View gist:5698858
describe "#statuses" do
it "returns an array of Tweets" do
statuses = => [{:id => 25938088801, :text => 'tweet!'}]).statuses
expect(statuses).to be_an Array
expect(statuses.first).to be_a Twitter::Tweet
it "returns an array of Tweets" do
statuses ="Twitter").statuses
expect(statuses).to be_an Array
View gist:5629719
color = 0
j = 1
Sites.all.each do |site|
2.times do
i = 0
post = site.posts.reverse[i]
if nada
elsif color.modulo(2) == 0
View gist:5404614
<input id="site_user_id_orcalinicolasgmailcom" name="site[user_id]" type="radio" value="" />
<label for=""></label>
<input id="site_user_id_lordgamuzagmailcom" name="site[user_id]" type="radio" value="" />
<label for=""></label>
<input id="site_user_id_orcalinicolasinfobaecom" name="site[user_id]" type="radio" value=""/>
View gist:5322507
"nombre"=>"Nicolas Orcali",
You can’t perform that action at this time.