Skip to content

Instantly share code, notes, and snippets.

View natronics's full-sized avatar
💭
Not currenly working on side projects.

Nathan Bergey natronics

💭
Not currenly working on side projects.
View GitHub Profile
@natronics
natronics / log.html
Last active November 7, 2015 20:54
turn weechat logs into html
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="natronics.org">
<meta name="author" content="Nathan Bergey">
<link href='http://fonts.googleapis.com/css?family=Arvo:400,700|PT+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/resources/css/bootstrap.min.css" rel="stylesheet">
<link href="/resources/css/style.css" rel="stylesheet">
@natronics
natronics / Get_Modis.py
Created October 18, 2011 05:21
Get a MODIS image from every day of the year using one of NASA's predefined subsets
#!/usr/bin/env python
# Get the MODIS image from every day of the year using one of NASA's predefined
# subsets
import urllib
import time
baseurl = 'http://rapidfire.sci.gsfc.nasa.gov/subsets/?subset='
subset = 'USA1' # Pacific Northwest
@natronics
natronics / zenirc
Created March 5, 2014 20:01
An /etc/init.d/ start-stop-daemon for managing https://github.com/zenirc/zenircbot
#!/bin/sh
### BEGIN INIT INFO
# Provides: zenirc
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starts zenircbot
# Description: Starts zenircbot