Skip to content

Instantly share code, notes, and snippets.

View heronrs's full-sized avatar
👋

Heron Rossi heronrs

👋
  • HotelEngine
  • Sao Paulo - Brazil
  • 03:15 (UTC -03:00)
View GitHub Profile
#!/bin/bash
echo Intalling linux esentials...
sudo apt-get update -y
sudo apt-get install -y gcc \
gconf2 \
make \
linux-headers-$(uname -r) \
build-essential \
apt-transport-https \
ca-certificates \
@heronrs
heronrs / hyper.js
Last active January 20, 2018 00:21 — forked from coco-napky/hyper.js
Hyper config for git bash in Windows
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
fn main() {
println!("Guessing game project!");
let secret_number = rand::thread_rng().gen_range(1, 101);
println!("Secret number {}", secret_number);
}
@heronrs
heronrs / bobp-python.md
Created May 31, 2017 23:57 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@heronrs
heronrs / vmware_settings.md
Created March 4, 2017 21:50
VmWare Windows 10 Host Setup

If shared folders is not working:

. Player > Manager > Update VM Tools

#If audio is not working: . On host > Control Panel > Realtek Audio Manager > Options > Check AC97 option

@heronrs
heronrs / Atom behind proxy
Last active January 19, 2017 15:17
atom behind proxy
https://github.com/atom/apm/issues/322#issuecomment-196835163
@heronrs
heronrs / make_backup.py
Created July 14, 2016 18:00 — forked from chucknado/make_backup.py
A Python script for the REST API tutorial, "Backing up your knowledge base," at https://support.zendesk.com/hc/en-us/articles/204371903
import os
import datetime
import csv
import requests
credentials = 'your_zendesk_email', 'your_zendesk_password'
session = requests.Session()
session.auth = credentials
@heronrs
heronrs / node_fixex
Created June 20, 2016 21:09
node.js
--install / npm error
sudo apt-get purge nodejs npm
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install -y nodejs