Skip to content

Instantly share code, notes, and snippets.

@wknowles
wknowles / first_steps
Last active August 29, 2015 14:28
My First Steps on VPS
##
#FIRST STEPS ON A VPS (A PERSONAL SETUP)
##
#Log in
ssh root@"serverip" -p "ssh port"
#Update all packages
apt-get update; apt-get upgrade
@wknowles
wknowles / .bash_profile
Last active July 1, 2016 07:09 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
@wknowles
wknowles / gdal_commands
Last active October 27, 2015 14:12
commands for a gdal workflow - in progress
gdal_merge.py -init "255" -o combined.asc *
gdal_translate “-a_srs EPSG:4326” -co COMPRESS=LZW -stats combined.asc combined.tif
gdal_translate -co COMPRESS=LZW -stats combined.asc combined.tif
gdaldem hillshade -compute_edges -co compress=lzw combined.tif hillshade.tif
—--
@wknowles
wknowles / leaflet-boilerplate.html
Last active December 9, 2015 20:02
boilerplate for quick and dirty leaflet mapping
<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0"/>
<title>Leaflet template</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css" />
<script src="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js"></script>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wknowles
wknowles / index.html
Last active December 27, 2015 12:48
lagrange
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="/icon/favicon.ico" type="image/x-icon">
<link rel="icon" href="/icon/favicon.png" type="image/png">
<link rel="icon" sizes="32x32" href="/icon/favicon-32.png" type="image/png">
<link rel="icon" sizes="64x64" href="/icon/favicon-64.png" type="image/png">
<link rel="icon" sizes="96x96" href="/icon/favicon-96.png" type="image/png">
<link rel="icon" sizes="196x196" href="/icon/favicon-196.png" type="image/png">
/* Sticky headers for list views and lists in quick edit mode
* ---------------------------------------------
* Created by Daniel Stoelzner
* stoelzner.daniel@gmail.com
* http://spoodoo.com
* Copyright (c) 2015 Daniel Stoelzner (Licensed under the MIT X11 License)
* v2.9BETA for SharePoint 2013
* LastMod: 29th of May, 2015
* ---------------------------------------------
* Include reference to:
@wknowles
wknowles / screenshotTable.sh
Created February 25, 2016 08:58
script to display colorscheme for terminal screenshots
#!/bin/bash
#
# This file echoes a bunch of color codes to the
# terminal to demonstrate what's available. Each
# line is the color code of one forground color,
# out of 17 (default + 16 escapes), followed by a
# test use of that color on all nine background
# colors (default + 8 escapes).
#
@wknowles
wknowles / README.md
Last active February 28, 2016 09:49
Patterson Cylindrical
@wknowles
wknowles / Package Control.sublime-settings
Last active February 29, 2016 09:46
Sublime Text 3 Settings
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"Color Highlighter",
"DocBlockr",
"JSHint",