Skip to content

Instantly share code, notes, and snippets.

Avatar

Jan Killian iki

View GitHub Profile
View .gitignore
# Format: https://git-scm.com/docs/gitignore#_pattern_format
*.json
*.yaml
.DS_Store
*.log
*.log.*
/.*/
View Medium: remove location hash.user.js
// ==UserScript==
// @name Medium: remove location hash
// @namespace http://efcl.info/
// @description Remove location hash from medium
// @include https://medium.com/*
// @include https://uxdesign.cc/*
// @version 1
// @grant none
// ==/UserScript==
@iki
iki / README.md
Last active Jan 28, 2020 — forked from othiym23/npm-upgrade-bleeding.sh
Update global top level npm packages
View README.md

Update global top level npm packages

Problem

npm update -g updates all global packages and their dependencies, see https://github.com/npm/npm/issues/6247.

Solution

  1. Either use the shell script or windows batch here instead.
View ngseed.md

CleverStack

Angular Seed

YAAS (Yet Another Angular Seed)

While know about the existence of ng-boilerplate, the angular-app repo on Github, or even Yeoman and it's angular-generator, none of those really fit the bill when it comes to structuring a medium to large application as it often is the case here at Clevertech.

This is not yet another angular seed: this is the collaborative effort of open source enthusiasts to solve the most of the problems in AngularJS development. Yes, we took the liberty of adding a bit of a bleak packaging but that allows us for dead-easy installing, upgrading and extending.

Let's dive into it.

@iki
iki / accept_languages.py
Created Nov 28, 2011 — forked from filippo/accept_languages.py
decode HTTP_ACCEPT_LANGUAGE headers
View accept_languages.py
def accept_languages(browser_pref_langs):
"""Parses the request and return language list.
browser_pref_langs is the plain Accept-Language http request header
value.
Stolen from Products.PloneLanguageTool, under GPL (c) Plone Foundation,
slightly modified.
Taken from tweetengine http://github.com/Arachnid/tweetengine/
"""
browser_pref_langs = browser_pref_langs.split(',')
i = 0
@iki
iki / Questions
Created Jun 26, 2011
Kiwi Pycon Give-away
View Questions
GitHub username: iki
Day job: freelance dev
Favorite open source project: linux, python, ruby
Open Source contributions (if any): python modules
Stranded on an island, what 3 items do you take: zippo, machette, solar powered netbook with gps
Tie-breaker, pick a number between 1 and 20,000: 2829