Skip to content

Instantly share code, notes, and snippets.

View CSaratakij's full-sized avatar
🎯
Focusing

Chatchai Saratakij CSaratakij

🎯
Focusing
View GitHub Profile
@CSaratakij
CSaratakij / main.py
Created August 18, 2016 17:01
Test Exit Turtle
#!/usr/bin/env python3
import turtle, sys
from turtle import Turtle
from turtle import Screen
class MyTurtle(Turtle):
def quit(self, btn, fun):

Bomb Lab necessities

The bomb lab is most easily completed if you understand the following tools and commands. Also, if I am describing a program, assume that you run it from command line.

Strings

In case you have never used strings before it basically just tells you all the strings in an executable. If I were to run it on the bomb I would simply run

Most active GitHub users in Thailand

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 29 Jul 2015 01:52:41 GMT till Fri, 29 Jul 2016 01:52:41 GMT.

Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:

githubUsers
 .filter(user => user.followers > 6)
@CSaratakij
CSaratakij / fbterm-hacks.md
Created July 24, 2016 09:00 — forked from zellio/fbterm-hacks.md
fbterm, installation and configuration hacks

fbterm setup and config hacks

Installation and setup

Install fbterm via your favorite package manager

pacman -S fbterm
@CSaratakij
CSaratakij / tmux-cheatsheet.markdown
Created July 22, 2016 13:44 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@CSaratakij
CSaratakij / JavaApplication1.java
Last active April 27, 2016 11:54
My Java random pick by index example.
package javaapplication1;
import java.util.*;
public class JavaApplication1 {
public static void main(String[] args) {
Random rand = new Random();
@CSaratakij
CSaratakij / gist:4ed1e681616a0e87f0ba6daa683277c4
Created April 24, 2016 18:05 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@CSaratakij
CSaratakij / ExLoopFun.cs
Last active April 1, 2016 17:52
My example of printing number.
using System;
using System.Collections.Generic;
namespace ExLoopFun
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter the positive integer number : ");
package exnumloopflagver2;
public class ExNumLoopFlagVer2 {
public static void main(String[] args) {
int maxNum = 6;
int dragNum = 1;
for (int i = maxNum; i > 0; i--) {
@CSaratakij
CSaratakij / ExNumLoopFlag.java
Last active March 21, 2016 03:17
My Num Flag Example
package exnumloopflag;
public class ExNumLoopFlag {
public static void main(String[] args) {
int maxNum = 6;
String space = "";
for (int i = maxNum; i > 0; i--) {