Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block empireshades

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
empireshades / my_podcasts.opml
Last active Sep 3, 2019
my podcast and rss feeds
View my_podcasts.opml
<?xml version="1.0"?>
<opml version="1.0"><head><title>Overcast Podcast Subscriptions</title></head><body><outline type="rss" text="IRE Radio Podcast" title="IRE Radio Podcast" xmlUrl="" htmlUrl=""/><outline type="rss" text="O'Reilly Data Show - O'Reilly Media Podcast" title="O'Reilly Data Show - O'Reilly Media Podcast" xmlUrl="" htmlUrl=""/><outline type="rss" text="Korea and the World" title="Korea and the World" xmlUrl="" htmlUrl=""/><outline type="rss" text="Tumble Science Podcast for Kids" title="Tumble Science Podcast for Kids" xmlUrl="" htmlUrl=""/><outline type="rss" text="China Tech Talk" title="China Tech Talk" xmlUrl="" htmlUrl=""/><outline type="rss" text="Radiolab"
View circling_spheres.pde
float x, y, z;
void setup() {
size(800, 800, P3D);
// setup translate amounts to center screen
x = width / 2;
y = height / 2;
// gonna have the z-axis 'pulsate' as per the last line (sin)
View CIS Controls
# CIS Controls
## Basic CIS Controls
1. Inventory and Control of Hardware Assets
2. Inventory and Control of Software Assets
3. Continuous Vulnerability Management
4. Controlled Use of Administrative Privileges
5. Secure Configuration for Hardware and Software on Mobile Devices, Laptops, Workstations and Servers
from textblob import TextBlob, Word
import sys
import random
from newspaper import Article
from fuzzywuzzy import fuzz
from nltk.stem import WordNetLemmatizer
def nphra(text):
# Extract Noun Phrases from text input
blob = TextBlob(text)
View how to auth python flickr-api
Just a snippet of code to demonstrate the solution to people who arrive here and are still scratching their heads:
import flickr_api
flickr_api.set_keys(api_key = 'my_api_key', api_secret = 'my_secret')
a = flickr_api.auth.AuthHandler()
url = a.get_authorization_url("read")
print url
View CUDA (NVidia GPU) on Centos 7
# Steps to enable CUDA (NVIDIA GPU) on a Centos7 box
# (This is not a script, just some notes)
# setup chroot sftp user for workers to be able to drop files:
empireshades /
Created May 10, 2012
Script that runs an MTR (MattsTraceRoute) report against a given host, saves the output to log and also emails. This is meant to be called by smokeping (via pipe '|') after an alert is triggered. Tested on python2.6
#!/bin/env python
'''This is a script which runs an MTR (matt's traceroute)
against a target hosts - meant to be triggered by a
smokeping alert. Output is emailed and saved to log.'''
import argparse, datetime, subprocess, smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
View Exp. God Chapter

Unit 1: God's Will and Your Life

"I am the vine; You are the branches. If a man remains in me and I in him, he will bear much fruit; apart from me you can do nothing." -John 15:5

Day 1: Jesus Is Your Way

  • As I follow Jesus one day at a time, He will keep me in the center of God's will.
  • Jesus is my Way. I don't need any other road map.

Day 2: Jesus is Your Model

  • The Bible is my guide for faith and practice
  • The right question is, What is God's will?
empireshades /
Last active Aug 31, 2016 — forked from nl5887/
Bash and zsh alias for Transfers files and directories to
function transfer
if test (count $argv) -eq 0
echo "No arguments specified. Usage:\necho transfer /tmp/\ncat /tmp/ | transfer"
return 1
## get temporarily filename, output is written to this file show progress can be showed
set tmpfile ( mktemp -t transferXXX )
## upload stdin or file
View worm_cardio.js
function onGLC(glc) {
// glc.playOnce();
// glc.size(400, 400);
// glc.setMode("single");
// glc.setEasing(false);
var list = glc.renderList,
You can’t perform that action at this time.