Skip to content

Instantly share code, notes, and snippets.

View dabit's full-sized avatar

David Padilla dabit

View GitHub Profile
@products.each_with_index do |p, i|
p.update_attribute(:date_available, i.minutes.ago)
end
@dabit
dabit / gist:3800937
Created September 28, 2012 16:55 — forked from anonymous/gist:3791655
SG codigo 1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SG___Code_1
{
class Program
{
static void Main(string[] args)
@dabit
dabit / fix_skype_conversation_icons_retina.sh
Created October 14, 2012 03:40 — forked from dive/fix_skype_conversation_icons_retina.sh
Fix the size of avatars in the Skype conversation screen for Retina Macbook Pro screen
#!/bin/bash
# by Artyom Loenko aka dive (artyom.loenko@mac.com)
# Usage:
# - download this script
# - open Terminal.app
# - goto to Folder where script downloaded
# - run 'chmod +x fix_skype_conversation_icons_retina.sh'
# - then run './fix_skype_conversation_icons_retina.sh'