Skip to content

Instantly share code, notes, and snippets.

View JesseEisen's full-sized avatar
🎯
Focusing

LinKang Chen JesseEisen

🎯
Focusing
View GitHub Profile
@JesseEisen
JesseEisen / countline
Created September 23, 2014 12:25
my personal tool to count source file lines. This is Shell version
#!/bin/bash
# write to count the sourcefile
w=0
par=$3
origin=2
echo "${par:=$origin}"
for s in $(find $1 -maxdepth ${par:=$origin} -type f -name "*.$2")
@JesseEisen
JesseEisen / byteboder
Created September 21, 2014 12:14
This is a snippet to test a OS use which endian.
#include<stdio.h>
int main(int argc, char *argv[])
{
union
{
short s;
char c[sizeof(short)];
}un;
@JesseEisen
JesseEisen / 0_reuse_code.js
Last active August 29, 2015 14:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@JesseEisen
JesseEisen / Review Viewer
Created September 12, 2014 06:00
This is my owner tools,use to review my note easily. without to view in floder.just click. Support save the modify.
from Tkinter import *
from tkMessageBox import *
from FileDialog import *
import os
root=Tk()
root.title('Reviewer')
root.geometry('900x600')
#this is a function to get file list