Skip to content

Instantly share code, notes, and snippets.

Avatar
✔️

Kenneth Reitz kennethreitz

✔️
View GitHub Profile
View gist:5ae1c9a19d7bd873a01467b51ef9c70c
the songtress of silence is here in truth
and there’s only one thing that you need to know…f
the songtress of silence is here to say
that there’s something so much more to this life that you say that you deserve to enjoy and thrive in
but you componentize, and compartmentalize, and, you know, just do all the things that you want all the fucking time
it doesn’t make sense! there’s no rhythm and rhyme! there’s all these things you constantly want to do and there’s all these people you want to say but these are all things that you never actually get to…
@kennethreitz
kennethreitz / colors.sh
Last active Sep 22, 2019
Bash foreground ANSI terminal colors script.
View colors.sh
#!/usr/bin/env bash
function bake_fg_color {
BLACK="\033[0;30m"
BLACK_BOLD="\033[1;30m"
WHITE="\033[0;37m"
WHITE_BOLD="\033[1;37m"
RED="\033[0;31m"
RED_BOLD="\033[1;31m"
GREEN="\033[0;32m"
View Dockerfile
FROM ubuntu:19.04
ENV DEBIAN_FRONTEND noninteractive
ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8
ENV PYTHONDONTWRITEBYTECODE 1
ENV PIPENV_MAX_SUBPROCESS 64
ENV PIPENV_SKIP_LOCK 1
ENV PIP_EXISTS_ACTION a
View images.py
import io
import os
import json
from tempfile import mkstemp
# import exifread
import PIL
import PIL.Image
import PIL.ExifTags
@kennethreitz
kennethreitz / README.md
Last active Jun 10, 2019
readme example
View README.md

Name OMG Microservice

Microservice badge docker badge

Brief one/two–sentence description of what the service does.

Usage in Storyscript

_insert example usage here_
View Program.cs
using System;
using System.Threading.Tasks;
using DNS.Client;
using DNS.Server;
namespace captivateme
{
class DNSClientServer
{
View gist:cf83b31e9ce42ae89f5aabc81c9dfe5b
Unknown 0:00
name spaces are one honk and great idea. Let's do more of those.
Unknown 0:06
As soon as you don't let everyone and welcome to this at podcast for humans My name is Kenneth rights and you Today we are joined by the wonderful job man, Gino, I'm starting off this episode with, well, this re Oh my gosh. It's a huge one that just came by Sorry.
Unknown 0:24
I'm starting off the revitalization of the show, thanks to Digital Ocean with some people from my town in Winchester, Virginia. And john is a developer I've known for many years, and I've seen him progress and you see me progress in our careers. And I thought we could talk a little bit about that. And john is really passionate about burnout, and about imposter syndrome. And I thought we could touch briefly on that. So we're going to end the episode. We're not going to do this long to our things that we used to do.
Unknown 0:56
View pytheory.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:c81bad65a9397c088a6523f6a22a43e3
# encoding: utf8 1,1 Top# encoding: utf8
import argparse
from datetime import datetime
import json
from random import randint
import requests
import sys
from time import sleep
View domains.txt
alexritter.org
bessiewrites.com
certifi.io
coinbin.org
coins-guide.org
conductofcode.org
convore-archive.org
edmsynths.com
essenceofwinter.com
fortunecookiereview.com