Skip to content

Instantly share code, notes, and snippets.

Jonas Kalderstam spacecowboy

Block or report user

Report or block spacecowboy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Schnouki
Schnouki / popcorntime-vpn.sh
Last active Apr 3, 2020
OpenVPN for a single application using network namespaces -- helper scripts
View popcorntime-vpn.sh
#!/usr/bin/env zsh
# Initialize VPN
sudo vpnns up
sudo vpnns start_vpn
# Popcorn time!
sudo ip netns exec frootvpn sudo -u $USER popcorntime
# Cleanup
View FloatLabelLayout.java
/*
* Copyright 2014 Chris Banes
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@alexnederlof
alexnederlof / latex-hook.sh
Last active Apr 8, 2017
A hook to build your Latex files after every Git push.
View latex-hook.sh
#!/bin/sh
WEBDIR=yourwebdir
WORKSPACE=your/workspace
TEX_FILE_NAME=your_file
echo
echo "**** Pulling changes into Live [Hub's post-update hook]"
echo
@areina
areina / emacs-email-setup.md
Created Oct 12, 2012
Manage your email in emacs with mu4e
View emacs-email-setup.md

Manage your gmail account in emacs with mu4e

There're a lot of combinations to manage your email with emacs, but this works for me. I've a backup and I can manage my daily email.

The stack:

  • emacs
  • offlineimap
  • mu
  • mu4e
@wdkrnls
wdkrnls / org-syntax-cheatsheet.org
Created Mar 7, 2012
Org-mode Syntax Cheat sheet
View org-syntax-cheatsheet.org

Markup Cheat sheet for Org-mode

Heading 1

Heading 2: Set a deadline and a schedule

[66%] Heading 3: a list with checkboxes

  1. [X] task 1
  2. [X] task 2
  3. [ ] task 3
@jubo
jubo / picasa_download.rb
Last active Sep 25, 2015 — forked from pwnall/picasa_download.rb
Backs up all the photos from Google Picasa Web Albums
View picasa_download.rb
# Backs up all the photos from Google Picasa Web Albums.
#
# The script downloads the original version of the photos, and is not limited to
# 1600x1200 thumbnails.
#
# Author:: Victor Costan
# Copyright:: Copyright (C) 2010 Victor Costan
# License:: MIT
# ------------------------------------------------------------
View picasa_download.rb
# Backs up all the photos from Google Picasa Web Albums.
#
# The script downloads the original version of the photos, and is not limited to
# 1600x1200 thumbnails.
#
# Author:: Victor Costan
# Copyright:: Copyright (C) 2010 Victor Costan
# License:: MIT
require 'yaml'
You can’t perform that action at this time.