Skip to content

Instantly share code, notes, and snippets.

@chrismarksus
chrismarksus / Dockerfile
Created November 14, 2017 21:22
docker for slack-export-viewer
FROM python:3
MAINTAINER Chris Marks
ENV HOST=0.0.0.0
ENV PORT=5000
WORKDIR /app
EXPOSE ${PORT}
@chrismarksus
chrismarksus / copy_url_to_static_site.sh
Created November 14, 2017 21:18
Copy a website as a static download
wget -P save/to/directory/ -mpck --user-agent="" -e robots=off --wait 1 -E http://url.to.site:5000
@chrismarksus
chrismarksus / git_commands.md
Created June 7, 2017 13:20
Git Command Session Sheet

Git Terminology:

master default branch we develop in

origin default upstream repo (like Github)

HEAD current branch

remote repository stored on another computer

@chrismarksus
chrismarksus / Dockerfile
Last active June 5, 2017 15:14
Dockerfile for create a simple web server
# Dockerfile for create a simple web server
#
# docker build -t pyweb .
# docker run -it --rm -v $(pwd):/usr/web pyweb
#
# docker run -d -v $(pwd):/usr/web pyweb
# docker logs NAME
#
# use the ip address produced by th 'ip a' output
@chrismarksus
chrismarksus / CONTRIBUTING.md
Last active February 14, 2017 04:30
CONTRIBUTING

#CONTRIBUTING

Right the project is a mess but I have good README, unit tests and code coverage.

@chrismarksus
chrismarksus / dabblet.css
Created February 12, 2016 15:04
The difference between these 2 purples
/**
* The difference between these 2 purples
*/
body{
font-weight: bold;
font-family: 'Comfortaa', cursive;
font-size: 2em;
background-color: #d3d3d3;
}
.container {
@chrismarksus
chrismarksus / dabblet.css
Last active February 8, 2016 18:18
The difference between these 2 purples
/**
* The difference between these 2 purples
*/
body{
font-weight: bold;
font-family: 'Comfortaa', cursive;
font-size: 2em;
background-color: #d3d3d3;
}
.container {
@chrismarksus
chrismarksus / dabblet.css
Last active February 4, 2016 21:49 — forked from anonymous/dabblet.css
The difference between these 2 purples
/**
* The difference between these 2 purples
*/
body{
font-weight: bold;
font-family: 'Comfortaa', cursive;
font-size: 2em;
background-color: #d3d3d3;
}
.container {
@chrismarksus
chrismarksus / .ctags
Created January 12, 2016 19:23 — forked from xzj/.ctags
my .ctags syntax file for Groovy language (exuberant-ctags)
--langdef=groovy
--langmap=groovy:.groovy
--regex-groovy=/^[ \t]*[(private|public|protected) ( \t)]*def[ \t]+([A-Za-z0-9_]+)[ \t]*\(/\1/f,function,functions/
--regex-groovy=/^[ \t]*private def[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/v,private,private variables/
--regex-groovy=/^[ \t]*public def[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/u,public,public variables/
--regex-groovy=/^[ \t]*[abstract ( \t)]*[(private|public) ( \t)]*class[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/c,class,classes/
--regex-groovy=/^[ \t]*[abstract ( \t)]*[(private|public) ( \t)]*enum[ \t]+([A-Za-z0-9_]+)[ \t]*/\1/c,class,classes/
@chrismarksus
chrismarksus / soy.vim
Last active August 29, 2015 14:19 — forked from rcmachado/soy.vim
" Vim syntax file
" Language: Soy Templates
" Maintainer: Rodrigo Machado [email protected]
" Last Change: Thu Apr 15 16:59:00 GMT 2010
" Filenames: *.soy
" URL: http://gist.github.com/gists/367358/download
"
" Based on Smarty.vim
" For version 5.x: Clear all syntax items