Skip to content

Instantly share code, notes, and snippets.

Avatar

Jan Killian iki

View GitHub Profile
@iki
iki / .gitignore
Last active May 13, 2021
Example of using GraphQL API from Micropython with ported Prisma python-graphql-client
View .gitignore
# See https://help.github.com/ignore-files/ for more about ignoring files.
# logs
*.log*
# tools settings and other hidden directories
/.*/
@iki
iki / docker-compose.yml
Created Sep 15, 2019
Docker-compose nginx CORS proxy
View docker-compose.yml
version: '3.7'
services:
whoami:
image: jwilder/whoami
ports:
- 127.0.0.1:7000:8000
cors:
View .gitconfig
# Edit this file as you like and merge with $HOME/.gitconfig (global) or .git/config (given repo only)
#
# See https://help.github.com/articles/set-up-git
#
# See http://git-scm.com/docs/git-config
# or http://www.kernel.org/pub/software/scm/git/docs/git-config.html
#
# See http://git-scm.com/book/en/Customizing-Git-Git-Configuration
# or http://progit.org/book/ch7-1.html
#
@iki
iki / Dockerfile
Last active Apr 20, 2020
Test volume mount in docker
View Dockerfile
FROM alpine
WORKDIR /data
COPY . .
CMD ls -l /data
@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 .gitignore
# Format: https://git-scm.com/docs/gitignore#_pattern_format
*.json
*.yaml
.DS_Store
*.log
*.log.*
/.*/
@iki
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';
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 Dec 29, 2015
Getting started in a m.e.a.n. way (MongoDB, Express, AngularJS, Node.js)
View README.md
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.