Skip to content

Instantly share code, notes, and snippets.

@cgons
cgons / mac-setup-for-python.md
Last active June 11, 2024 10:38
Python Dev Setup for (M1) Macs
@cgons
cgons / .bashrc
Created August 24, 2020 19:00
Simple Bash Config
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
@cgons
cgons / index.html
Created September 13, 2017 16:07
HTML5 Slim Boilerplate
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">
@cgons
cgons / package.json
Last active September 22, 2017 21:43
Use Webpack 2 to build JS and SASS files/bundles easily.
{
"name": "frontend",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
body { background: white; padding: 15px; font-family: sans-serif; }
.goals { background: #1FBCFE; }
.yellowcards { background: #FEC006; }
.redcards { background: #D25248; }
button {
background: rgba(255, 255, 255, 0.3);
border: 0;
font-size: 18px;
cursor: pointer;
margin-right: 10px;