A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
#!/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 \ |
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); | |
} |
https://github.com/atom/apm/issues/322#issuecomment-196835163 |
import os | |
import datetime | |
import csv | |
import requests | |
credentials = 'your_zendesk_email', 'your_zendesk_password' | |
session = requests.Session() | |
session.auth = credentials |
--install / npm error | |
sudo apt-get purge nodejs npm | |
curl -sL https://deb.nodesource.com/setup | sudo bash - | |
sudo apt-get install -y nodejs |