Skip to content

Instantly share code, notes, and snippets.

View osnysantos's full-sized avatar
Working from home

Osny Netto osnysantos

Working from home
View GitHub Profile
View gist:2fd3a2586e13010f76baff6f053724c5
diff --git a/indra/newview/lltoolbar.cpp b/indra/newview/lltoolbar.cpp
index 8d4820d..fb1aa99 100644
--- a/indra/newview/lltoolbar.cpp
+++ b/indra/newview/lltoolbar.cpp
@@ -84,8 +84,8 @@
class LLFakeResizeHandle : public LLResizeHandle
- LLFakeResizeHandle(const std::string& name, const LLRect& rect, S32 min_width, S32 min_height, ECorner corner = RIGHT_BOTTOM )
- : LLResizeHandle(name, rect, min_width, min_height, corner )
osnysantos / application.html.slim
Created August 23, 2016 17:28 — forked from hmans/application.html.slim
Application layout for Rails (4), Slim style.
View application.html.slim
doctype html
title My App
meta name="viewport" content="width=device-width, initial-scale=1.0"
= stylesheet_link_tag "application", media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag "application", 'data-turbolinks-track' => true
= csrf_meta_tags
View *.rb
ActiveRecord::Base.connection.tables.each do |t|
osnysantos /
Created July 13, 2016 23:00 — forked from ijy/
My Sublime Text 3 setup.
osnysantos /
Last active May 20, 2021 12:43 — forked from kevinelliott/
MacOS Sierra Dev Setup

MacOS Sierra Dev Setup

Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

Install Software

osnysantos / 0_reuse_code.js
Created June 26, 2016 21:04
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
osnysantos /
Created February 3, 2016 13:17 — forked from ChuckJHardy/
DigitalOcean Ubuntu 14.04 x64 + Rails 4 + Nginx + Unicorn + PostgreSQL + Capistrano 3 Setup Instructions