Skip to content

Instantly share code, notes, and snippets.

View dtinth's full-sized avatar
🎶
𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪

Thai Pangsakulyanont dtinth

🎶
𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪𒐪
  • @bemusic                 @creatorsgarten                 @eventpop                 @showdownspace                 @spacetme                @wonderfulsoftware                
  • Krungthepmahanakhonamonrattanakosinmahintharayutthayamahadilokphopnoppharatratchathaniburiromudomratchaniwetmahasathanamonphimanawatansathitsakkathattiyawitsanukamprasit (Bangkok), Thailand
  • YouTube @dtinth
View GitHub Profile
@dtinth
dtinth / Journal.md
Last active January 1, 2016 19:39
Installing Ruby 2.0.0 on Kindle

Installing Ruby 2.0.0 on Kindle

So I've just jailbroken my Kindle, and want to run Ruby on it. This is what I have right now on my Kindle:

  • KUAL, the Kindle Unified Applications Launcher
  • KTERM with tmux

Make sure you've also enabled usbnetwork so that you can SSH to your kindle via USB.

@dtinth
dtinth / Main.java
Created December 16, 2013 04:38
Example of Interface
import java.io.BufferedReader;
import java.util.Scanner;
import javax.swing.JOptionPane;
interface Dialog {
void say(String message);
String ask(String question);
}
@dtinth
dtinth / TaskSchedule10.html
Last active December 27, 2015 16:09
TaskSchedule10
<style scoped>
.container { max-width: 100%; }
</style>
<h1>Task and Schedule</h1>
<h2>Tasks</h2>
<table class="table table-bordered">
<thead>
@dtinth
dtinth / Week10.html
Created November 7, 2013 10:44
Week10
<h1>TSP Status Report</h1>
<h2>Week 10 (Cycle 2.1)</h2>
<table class="table">
<thead>
<tr>
<th></th>
<th class="text-center">Plan</th>
<th class="text-center">Actual</th>
@dtinth
dtinth / PamKuan.rb
Created November 6, 2013 14:14
Single Statement Pam Kuan Solution (Ruby)
gets.to_i.times { puts gets.strip
.gsub(/^([^aeiou]*)([aeiou]\w*)( [^aeiou]*)([aeiou]\w*)$/, '\\1\\4\\3\\2')
.gsub(/^([^aeiou]*)([aeiou]\w*)( \w+ [^aeiou]*)([aeiou]\w*)$/, '\\1\\4\\3\\2')
.gsub(/^(\w+ [^aeiou]*)([aeiou]\w*)( \w+ [^aeiou]*)([aeiou]\w*)$/, '\\1\\4\\3\\2')
.gsub(/^(\w+ [^aeiou]*)([aeiou]\w*)( \w+ \w+ [^aeiou]*)([aeiou]\w*)$/, '\\1\\4\\3\\2')
.gsub(/^(\w+ \w+ [^aeiou]*)([aeiou]\w*)( \w+ \w+ [^aeiou]*)([aeiou]\w*)$/, '\\1\\4\\3\\2')
.gsub(/^(\w+ \w+ [^aeiou]*)([aeiou]\w*)( \w+ \w+ \w+ [^aeiou]*)([aeiou]\w*)$/, '\\1\\4\\3\\2') }
@dtinth
dtinth / PamKuan.md
Last active December 27, 2015 13:09
Pam Kuan

Pam Kuan

ควนผำเป็นวิทำสลับคี วิธีกวนสร้างคำผาร ร่าเวียก กำผวนคาร

จี๊ข้อโนทย์ ให้แครมเขียนโปรกุณ ผำควน ห้อยใหน่

กรณางค์มีหลายพยี ให้ใช้กี่ดังต่อไปน้ฏ

  • 2 พยางค์ ผีพยางค์ท่วน 1 กับ 2
@dtinth
dtinth / Problem.md
Last active December 27, 2015 12:59

Awake

ให้รับข้อความหลายๆ ข้อความ ข้อความนึงมีหลายบรรทัด อธิบายวันหนึ่งวัน แล้วให้แสดงข้อความออกมาว่าในวันนั้นตื่นทั้งหมดกี่ชั่วโมง โดยที่ในข้อความจะมีเวลาเขียนอยู่ โดยให้ถือว่าเวลาแรกที่ปรากฏเป็นเวลาที่ตื่น และเวลาสุดท้ายที่ปรากฏ เป็นเวลาที่นอน

บรรทัดสุดท้ายของข้อความในแต่ละวันจะมีคำว่า Sleep

Input

@dtinth
dtinth / TestPlan.md
Created November 4, 2013 07:23
Test Plan

Test Case Name

Purpose

To make sure that .............

XRef

@dtinth
dtinth / Lecture.md
Last active May 28, 2018 06:34
ISO 29110 Lecture

ISO 29910 Lecture

This lecture note is taken from Workgroup Software Development Process course...

PDCA Cycle

  • Plan, do, check, act.
@dtinth
dtinth / week9.html
Last active December 27, 2015 01:39
Sompong Software Enterprise WEEK 9
<h1>TSP Status Report</h1>
<h2>Week 9 (Cycle 2.1)</h2>
<table class="table">
<thead>
<tr>
<th></th>
<th class="text-center">Plan</th>