Skip to content

Instantly share code, notes, and snippets.

View skulbrane's full-sized avatar

skultek skulbrane

View GitHub Profile
@skulbrane
skulbrane / common-markdown-mistakes.md
Created December 24, 2016 03:46 — forked from DavidAnson/common-markdown-mistakes.md
A few common Markdown mistakes

The following snippets show some common Markdown mistakes.

Click the Raw button to see the source text and understand the author's intent.

GitHub's parser handles some of these cases; other parsers do not.

To catch these problems automatically:

@skulbrane
skulbrane / help.md
Created December 23, 2016 21:19 — forked from atifaziz/help.md
Windows 10 Command Prompt HELP
Command Description
ASSOC Displays or modifies file extension associations.
ATTRIB Displays or changes file attributes.
BREAK Sets or clears extended CTRL+C checking.
BCDEDIT Sets properties in boot database to control boot loading.
CACLS Displays or modifies access control lists (ACLs) of files.
CALL Calls one batch program from another.
CD Displays the name of or changes the current directory.
CHCP Displays or sets the active code page number.
@skulbrane
skulbrane / app.js
Created December 13, 2016 08:05 — forked from shrunyan/app.js
Example Gulp build for Riotjs + ES6 + Browserify + Babelify + Riotify
import './app.tag'
riot.mount('#app', 'app')
#!/bin/bash
${#var}
echo ${#var}
len=${#var}
@skulbrane
skulbrane / bash-def-cmdarg.sh
Last active December 11, 2016 03:59
Comprehensive bash parameter substitution docs @ [TLDP](http://www.tldp.org/LDP/abs/html/parameter-substitution.html)
#!/bin/bash
default_value=-1
value=${1:-$default_value}
echo value=$value
@skulbrane
skulbrane / packer.json
Created February 21, 2016 16:38 — forked from ryanuber/packer.json
QEMU Headless
{
"builders":
[
{
"type": "qemu",
"iso_url": "http://releases.ubuntu.com/14.04.1/ubuntu-14.04.1-server-amd64.iso",
"iso_checksum": "ca2531b8cd79ea5b778ede3a524779b9",
"iso_checksum_type": "md5",
"output_directory": "out",
"shutdown_command": "sudo shutdown -P now",
@skulbrane
skulbrane / grb_black256.vim
Last active December 10, 2015 01:34
vim ir_black mod by [grb](https://github.com/garybernhardt)
" Original: https://github.com/garybernhardt/dotfiles/blob/master/.vim/colors/grb256.vim
" Based on
runtime colors/ir_black.vim
let g:colors_name = "grb256"
hi pythonSpaceError ctermbg=red guibg=red
hi Comment ctermfg=darkgray
' Process.vbs
' VBScript Win32_Process to discover which processes are running
' Author Guy Thomas http://computerperformance.co.uk/
' Version 1.4 - December 2010
' -------------------------------------------------------'
Option Explicit
Dim objWMIService, objProcess, colProcess
Dim strComputer, strList
strComputer = "."
@skulbrane
skulbrane / octocat.svg
Created December 4, 2015 19:34 — forked from johan/octocat.svg
Github octocat avatar, SVG format
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@skulbrane
skulbrane / octocats.sh
Created December 4, 2015 19:21 — forked from aguegu/octocats.sh
A bash script to download all Octocats logos from http://octodex.github.com/
#!/bin/zsh
curl -s "https://octodex.github.com/" | grep "<img.*data-src" | grep -o "/image[^\"]*" | while read line; do
wget 'https://octodex.github.com'$line
done