Skip to content

Instantly share code, notes, and snippets.

View AdamHepner's full-sized avatar

Adam Hepner AdamHepner

View GitHub Profile
#!/usr/bin/env python
# org-mode-agenda-push-bullet.py
# Load org-mode agenda items, then push each item as a notification with PushBullet.
# Notication form:
# - Title: "Agenda Item: <CATEGORY>"
# - Note: "<TODO ITEM>"
from subprocess import Popen, PIPE
#from time import strptime
@gitaarik
gitaarik / git_submodules.md
Last active May 31, 2024 06:09
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:

  • Separate big codebases into multiple repositories.
@livibetter
livibetter / README.md
Last active February 25, 2018 13:43
Autovivification in Python, collection of
@radiosilence
radiosilence / gist:3946121
Created October 24, 2012 13:43
Outputs some files that WMs can import and colourify everything with.
import sys
import colorsys
from colorz import colorz
WALLPAPER = '/home/james/.wallpaper'
COLORS = '/home/james/.colors'
XRESOURCES = '/home/james/.Xresources'
cols = ''
xres = """