Skip to content

Instantly share code, notes, and snippets.

View neophob's full-sized avatar
😎

Michael Vogt neophob

😎
View GitHub Profile
@neophob
neophob / main.dart
Created September 1, 2021 19:15 — forked from devoncarew/main.dart
helloworld
// Copyright 2015 the Dart project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.
void main() {
for (int i = 0; i < 4; i++) {
print('hello ${i}');
}
}
@neophob
neophob / node_prune.sh
Last active November 19, 2017 16:14 — forked from gpittarelli/node_prune.sh
Prunes very-likely-uneeded files from node_modules directories
#!/usr/bin/env bash
# Port of https://github.com/tj/node-prune to bash
# Also,
# - fixed "*.ts" being overzealous and killing .d.ts files
# - added some more file types from https://github.com/npm/npm/issues/5264#issuecomment-259800486
#
# See also:
# - https://github.com/timoxley/cruft
# - https://yarnpkg.com/en/docs/cli/autoclean
# - https://github.com/ModClean/modclean
@neophob
neophob / install_dokku_to_debian_wheezy
Last active August 29, 2015 14:02 — forked from shirkey/install_dokku_to_debian_wheezy
works for dokku v0.2.3 aswell
#######################################################################################################################
#
# Purpose: Bash script to fix a few elements of the default Dokku script with running correctly on Debian Wheezy
# Author: Shirkey <dev@shirkey.me>
# License: MIT
# Tested with:
# * Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux
# * v0.2.1 of Dokku installer script
#
#######################################################################################################################