Skip to content

Instantly share code, notes, and snippets.

Johannes Jörg Schmidt jo

  • Berlin
Block or report user

Report or block jo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jo / config.json
Last active Jan 3, 2019 — forked from DazWorrall/config.json
Faking RHEV in qemu under packer so that cloud init takes its user data from a floppy disk
View config.json
"type": "qemu",
"output_directory": "output",
"iso_url": "trusty-server-cloudimg-amd64-disk1.img",
"iso_checksum": "cf12c9878c9fb71c95d8f8c288761a99",
"iso_checksum_type": "md5",
"ssh_wait_timeout": "300s",
jo /
Created Apr 5, 2017
Welcome note for Nashi Notes

Welcome to Nashi Notes!

I'm glad you're here and you're reading this.

Your Johannes, TF

jo / my_code.js
Last active Mar 9, 2017 — forked from jefbarn/my_code.js
Using Pouchdb _selector plug-in
View my_code.js
import PouchDB from 'pouchdb-browser' // Or however you are importing PouchDB using your module system
PouchDB.plugin((PouchDB) => { // Add the 'plug-in' to the Pouchdb instance
let pouchReplicate = PouchDB.replicate
PouchDB.replicate = (source, target, repOptions) => {
let sourceAjax = source._ajax
source._ajax = (ajaxOps, callback) => {
if (ajaxOps.url.includes('_selector')) {
View multipart-response
Content-Type: application/json
{"_id":"gnome-rust-couchdb-adventures:text","_rev":"1-45fa252f660e886b336c780f328b0810","text":"Hello CouchDB!"}
Content-Type: application/json
{"_id":"gnome-rust-couchdb-adventures:text","_rev":"2-f0216b155efdac3278a570f594ab0d83","text":"Hello CouchDB!\n<3"}
View glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
View package.json
"name": "hello-import",
"version": "1.0.0",
"scripts": {
"build": "rollup -c"
"author": "Johannes J. Schmidt <> (",
"license": "Apache-2.0",
"devDependencies": {
"events": "^1.1.0",
View map.js
function(doc) {
function emitObject(path, o) {
if (typeof o !== 'object') {
return emit(path, o);
for (var key in o) {
emitObject(path.concat(key), o[key])
View gist:96ad05cb94cd630381d2
View config.json
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",

Transparent Git Encryption

This document has been modified from its [original format][m1], which was written by Ning Shang ( It has been updated and reformatted into a [Markdown][m2] document by [Woody Gilk][m3] and [republished][m4].


When working with a remote git repository which is hosted on a third-party storage server, data confidentiality sometimes becomes

You can’t perform that action at this time.