Skip to content

Instantly share code, notes, and snippets.

@jayvdb
jayvdb / 0_reuse_code.js
Created May 23, 2017 12:48
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@jayvdb
jayvdb / changelog.md
Created May 22, 2017 08:57
html5shiv changelog

3.7.3

a40f970d - pull request #188 - Fixes an annotation for createElement

0a7343bf - add commonjs support + fix main property in package.json (see #178) (and fixup commit)

f2557ced64 - pull request #170 - Pass 'window' to wrap functions for browserify support

3.7.2

@jayvdb
jayvdb / depman-bitrise-osx.log
Created April 23, 2017 23:12
depman-bitrise-osx.log
██████╗ ██╗████████╗██████╗ ██╗███████╗███████╗
██╔══██╗██║╚══██╔══╝██╔══██╗██║██╔════╝██╔════╝
██████╔╝██║ ██║ ██████╔╝██║███████╗█████╗
██╔══██╗██║ ██║ ██╔══██╗██║╚════██║██╔══╝
██████╔╝██║ ██║ ██║ ██║██║███████║███████╗
╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝╚══════╝╚══════╝
Version: 1.5.6
@jayvdb
jayvdb / modern_programming_languages_docker.md
Created April 2, 2017 04:07
openSUSE docker images for modern programming

Summary

openSUSE needs alpha packages available in https://software.opensuse.org/ for all of the modern programming languages and static analysis tools.

openSUSE also need optimised docker images available for each programming language with advanced tools on the image so that the language can be used easily and properly.

Background

Like most distributions, openSUSE has good support for all the most common traditional programming languages. Starting around 2010, many prominent industry leaders began supporting new programming languages more suited for the modern programming problems and/or avoiding problems of the traditional languages. For example:

@jayvdb
jayvdb / MathJax.ipynb
Created September 23, 2016 05:28 — forked from cyhsutw/MathJax.ipynb
Grabbed from https://github.com/odewahn/ipynb-examples, converted to v3 for GitHub to render.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jayvdb
jayvdb / osm-id-coastline-ways.geojson
Last active August 30, 2016 13:38 — forked from anonymous/overpass.geojson
OSM Indonesia coastline
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jayvdb
jayvdb / osm-id-island-in-wikimedia.geojson
Last active August 30, 2016 13:41 — forked from anonymous/overpass.geojson
OSM Indonesia islands with Wikipedia or Wikidata links
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jayvdb
jayvdb / check_dubious_concat.py
Created July 25, 2016 16:12 — forked from lordmauve/check_dubious_concat.py
Linter for implicit string literal concatentation in list-like context
def check_dubious_concat(src):
"""Check for suspicious string literal concatenation.
We will warn about instances of string literal concatenation in list-like
contexts - that is, where concatenated string literals are adjacent to
commas or inside square brackets.
Such a heuristic will catch instances like this::
foo = [
# git checkout README.md
remark ./README.md > ./README.md.new
sed -i 's/&lt;/</g' README.md.new
sed -i 's:\\\\:\\:g' README.md.new
sed -i 's/&#x3A;/:/g' README.md.new
#sed -i 's/\\\*\\\*/**/;s/^\(\**[^*]*\)\\\*\([^*]*\)$/\1*\2/g' README.md.new
#sed -i 's/\\\*\\\*/**/;s/^\(\*{0,1}[^*]*\)\\\*\([^*]*\)$/\1*\2/g' README.md.new # may need to guard against a star before the current star
sed -Ei 's/\\\*\\\*/**/;s/^(\*{0,1}[^*]*)\\\*([^*]*)$/\1*\2/g' README.md.new
sed -i 's/\\|/|/g' README.md.new
sed -i 's/\\_/_/g' README.md.new