Skip to content

Instantly share code, notes, and snippets.

grahampugh / mail_profile.mobileconfig
Last active Nov 25, 2017
E-Mail IMAP configuration profile and outset script. Takes the long user name of the logged in user to populate the email field. User must supply only the password.
View mail_profile.mobileconfig
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
<plist version="1.0">
<false />
groob /
Last active Mar 11, 2017
quick CA server

create a CA and generate keys

# pull container for
docker pull groob/certified:latest
# create CA and intermediary CA; will prompty you for a password
docker run --rm -it --name certified -v $(pwd)/certs:/certified/etc -e GIT_USER=groob -e groob/certified certified-ca C="US" ST="NY" L="New York" O="Example" CN="groob-ca"
# create server cert
docker run --rm -it --name certified -v $(pwd)/certs:/certified/etc -e GIT_USER=groob -e groob/certified certified CN=""
# create cert chain as server.crt
cat certs/ssl/certs/ certs/ssl/certs/ca.crt certs/ssl/certs/root-ca.crt > server.crt
leonardofed /
Last active Sep 29, 2020
A curated list of AWS resources to prepare for the AWS Certifications

A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

n8henrie /
Last active Mar 29, 2020 — forked from nhoffman/
Python script template
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
A simple python script template.
import argparse
View giantuser_signature.html
<br />
<br />
<br />
<style type='text/css'>
table,tr,td,a,span{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;}
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
<meta name='format-detection' content='telephone=no' />
josephspurrier / values_pointers.go
Last active Sep 27, 2020
Golang - Asterisk and Ampersand Cheatsheet
View values_pointers.go
Golang - Asterisk and Ampersand Cheatsheet
Also available at:
p := Person{"Steve", 28} stores the value
juancarlospaco /
Last active May 17, 2019
Add Colors to Logging Python3
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
import logging as log
from copy import copy
if not sys.platform.startswith("win") and sys.stderr.isatty():
tobyspark / tbz.osx.config
Last active Jun 19, 2019
Script to configure a Max OS X machine to my taste
View tbz.osx.config
### Confiure a Mac OS X machine for my taste
### Toby Harris - /
### App Store
# Calca
# Coderunner
# Dash
# Xcode
olasd /
Created Mar 28, 2014
Stream video to youtube via ffmpeg
#! /bin/bash
# Diffusion youtube avec ffmpeg
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée.
VBR="2500k" # Bitrate de la vidéo en sortie
FPS="30" # FPS de la vidéo en sortie
QUAL="medium" # Preset de qualité FFMPEG
YOUTUBE_URL="rtmp://" # URL de base RTMP youtube
View BBC-Radio.m3u
#EXTINF:-1,BBC - Radio 1
#EXTINF:-1,BBC - Radio 2
#EXTINF:-1,BBC - Radio 3
#EXTINF:-1,BBC - Radio 4
#EXTINF:-1,BBC - Radio 5 live
You can’t perform that action at this time.