Skip to content

Instantly share code, notes, and snippets.

View thatkookooguy's full-sized avatar

Neil Kalman thatkookooguy

View GitHub Profile
1. install babun
2. install ubuntu mono powerline fonts on windows
3. change zsh theme to agnoster
4. add json property getter node app (my own app)
5. add custom functions for nodejs
6. make symbolik links for Development, Downloads, Documents.
7. make functions to replace node and npm paths with cygpath (windows paths instead of shell paths)
This part is kinda hard since the function needs a seperate case for flags (if there are flags, understand which parameter is a path)
thatkookooguy /
Created July 20, 2015 19:38
open images in terminal in ascii art
open_image() {
term_width=`tput cols`
if [ -z "$1" ]; then
echo "${RED}ERROR${NC}: no parameter found"
elif [[ "$1" == *\.png ]]; then
curl $1 > pic.png && convert pic.png pic.jpg && jp2a --color --width=$term_width pic.jpg && rm pic.jpg pic.png
elif [[ "$1" == *\.jpg ]]; then
jp2a --color --width=$term_width $1
elif [[ "$1" == *\.gif ]]; then
curl $1 > pic.gif && convert pic.gif pic.jpg && jp2a --color --width=$term_width pic.jpg && rm pic.jpg pic.gif
thatkookooguy /
Last active January 6, 2016 10:01
a default template for Pull Request :-)

Change Summary

< single change as paragraph >

< multiple changes as checkboxes. if a bug was introduced or a change will be implemented as a follow up, include an unchecked checkbox

  • change short
  • change short
  • change short

< if needed! >

thatkookooguy / user.css
Last active January 28, 2016 08:12
This will make tty.js open up a terminal in fullscreen after a user connects & change the background color to the default purple. This should be added to tty.js/static/
.terminal {
background-color: #300A24 !important;
thatkookooguy / #githubBURN
Last active March 11, 2016 13:56
when you make a comment about something a coder did for himself, and got submited to github for everyone to see 😉
when you make a comment about something a coder did for himself, and got submited to github for everyone to see :wink:
thatkookooguy / parseFileNames.js
Last active March 18, 2016 06:08
Trying to create a fileName parser for kibibit. This should get the following data: 1) fileName (no extension) 2) extension 3) all `tags` (words after the 1st dot (excluding the extension and hidden file dot) 4) hidden state of file
var testFileName = 'kaki.js';
var testHiddenFile = '.hidden';
var testHiddenWithExtension = '.hidden.js';
var testTags = 'kaki.test.js';
var testHiddenWithTags = '.kaki.test.js';
function analizeFileName(fileName) {
// input not a string
if(!angular.isString(fileName)) {
return {error: "fileName should be a string"};
# This installs two files, app.exe and logo.ico, creates a start menu shortcut, builds an uninstaller, and
# adds uninstall information to the registry for Add/Remove Programs
# To get started, put this script into a folder with the two files (app.exe, logo.ico, and license.rtf -
# You'll have to create these yourself) and run makensis on it
# If you change the names "app.exe", "logo.ico", or "license.rtf" you should do a search and replace - they
# show up in a few places.
# All the other settings can be tweaked by editing the !defines at the top of this script
!define APPNAME "Redkix"
thatkookooguy / constants.js
Created May 18, 2016 14:34
if this doesn't work, tell me
angular.module('Kibibit', [])
.constant('TYPE_ERROR_MSGS', function(varName, typeExpected, typeRecieved) {
return [varName,
" should be a ",
" but was given a ",
ABC: ["abc"],
ADA: ["ada|adb"],
C9Search: ["c9search_results"],
Dockerfile: ["^Dockerfile"],
Dummy: ["dummy"],
DummySyntax: ["dummy"],
Eiffel: ["e|ge"],
EJS: ["ejs"],
Elixir: ["ex|exs"],
Elm: ["elm"],