Skip to content

Instantly share code, notes, and snippets.

🐢
movin on

Evan Hutomo evanhutomo

🐢
movin on
View GitHub Profile
View Skills
Python ███████████████░░░░░ つよつよ Pretty Good
Javascript(ES6) ██████░░░░░░░░░░░░░░ 途中で勉強 Still learning
HTML(template) █████░░░░░░░░░░░░░░░ 途中で勉強 Still learning
CSS(preprocessor) █████░░░░░░░░░░░░░░░ 途中で勉強 Still learning
C/C++(Kernel) █████░░░░░░░░░░░░░░░ 途中で勉強 Still learning
Adobe Illustrator █████████████████░░░ つよつよ Pretty Good
Guitar ██████████░░░░░░░░░░ 良い    Good
View buram_python.py
# pass data from 1 window parent to child window
from tkinter import *
class trackApp(Frame):
def __init__(self, master):
Frame.__init__(self, master)
@evanhutomo
evanhutomo / file0.txt
Last active Nov 20, 2017
簡単な漢字と語彙のFlash cardsをPythonで作成する ref: https://qiita.com/evanhutomo/items/7dd5e92e3b234f0a342b
View gitignore-note
#built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
@evanhutomo
evanhutomo / gradle_eh
Last active Aug 29, 2015
personal cheatsheet for memorizing purpose of gradle command
View gradle_eh
## check and download gradle from gradle-wrapper.properties
./gradlew -v
## fire a spesific gradle command (you can see the gradle tab on right the right side - default). For instance, assemble command
./gradlev assemble
@evanhutomo
evanhutomo / qjs
Created Apr 8, 2015
ELOQUENT JAVASCRIPT exercise - The sum of a range
View qjs
(function () {
/*
console.log(sum(range(1, 10)));
-> 55
console.log(range(5, 2, -1));
-> [5,4,3,2]
*/
function range (param1, param2, param3) {
/*
1. if param1 >= param2 then -param3 else return false
@evanhutomo
evanhutomo / npm
Last active Aug 29, 2015
npm useful command (for reminder purpose)
View npm
#print list of global installed libraries
npm list -g
#write .bash_profile with NODE_PATH (npm root -g) -> point to node_modules
echo 'export NODE_PATH="'$(npm root -g)'"' >> ~/.bash_profile && . ~/.bash_profile
#write .bash_profile with NODE_PATH GLOBAL
echo 'export NODE_PATH="'$(npm bin -g)'"' >> ~/.bash_profile && . ~/.bash_profile
@evanhutomo
evanhutomo / shell
Last active Feb 8, 2018
bash note for personal use
View shell
# fix MAMP common issue, myslq wont start but apache is start
killall -9 mysqld
# check bash type
/usr/bin/printenv
# node and npm path, write on .bash_profile
echo 'export PATH=$PATH:/usr/local/bin' >> $HOME/.bash_profile
# uninstall npm package
@evanhutomo
evanhutomo / phase1.js
Last active Aug 29, 2015
phase 1 : Learn javascript module pattern
View phase1.js
/*
Courtesy of addyosmani
http://addyosmani.com/resources/essentialjsdesignpatterns/book/#modulepatternjavascript
*/
// Counter covers namespace
var Counter = (function(){
//count covers private var
var count = 0;
//count covers private method
var privateMethod;
You can’t perform that action at this time.