Skip to content

Instantly share code, notes, and snippets.

Jan Killian iki

Block or report user

Report or block iki

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
View .gitignore
# Format:
iki / docker-compose.yml
Created Sep 15, 2019
Docker-compose nginx CORS proxy
View docker-compose.yml
version: '3.7'
image: jwilder/whoami
iki / Dockerfile
Last active Apr 20, 2020
Test volume mount in docker
View Dockerfile
FROM alpine
COPY . .
CMD ls -l /data
iki / .gitignore
Last active Jun 25, 2018
Example of using GraphQL API from Micropython with ported Prisma python-graphql-client
View .gitignore
# See for more about ignoring files.
# logs
# tools settings and other hidden directories
View Medium: remove location hash.user.js
// ==UserScript==
// @name Medium: remove location hash
// @namespace
// @description Remove location hash from medium
// @include*
// @include*
// @version 1
// @grant none
// ==/UserScript==
iki / vc.bat
Last active Nov 19, 2015
Visual Studio 10/11/14 environment setup for python, or node.js/node-gyp. Determines VS version and architecture, calls respective vcVarsAll.bat and sets vcTargetsPath if needed.
View vc.bat
@echo off
setlocal enableextensions
::: echo === "%~f0" %* >&2
set vcArgs=%*
set vcVersions=14 11 10
call :poparg vcArgs vcVersions 10 10 %1 && shift
call :poparg vcArgs vcVersions 11 11 %1 && shift
iki / gulpfile.js
Last active Jan 18, 2019
generating API documentation from RAML specification using raml2html in gulp
View gulpfile.js
'use strict';
var gulp = require('gulp');
var path = require('path');
var CWD = path.resolve('.');
var API_SPEC = path.resolve(CWD, '../api/api.raml');
var API_DEST = path.resolve(CWD, '../server/static/docs/api');
var API_HTML = 'index.html';
iki /
Last active Jan 28, 2020 — forked from othiym23/
Update global top level npm packages

Update global top level npm packages


npm update -g updates all global packages and their dependencies, see


  1. Either use the shell script or windows batch here instead.
#!/usr/bin/env python
from __future__ import print_function
import re
import os
import sys
import glob
LF = '\n'
fs = require 'fs'
log = console.log
dump = (obj) -> JSON.stringify obj, null, 2
keys = Object.keys
src = process.argv[2] or 'package.json'
log src
pkg = JSON.parse fs.readFileSync src
log 'JSON: ' + dump pkg
You can’t perform that action at this time.