Skip to content

Instantly share code, notes, and snippets.

View sivabudh's full-sized avatar

Sivabudh Umpudh sivabudh

View GitHub Profile
"You can work on the projects simultaneously, I guess.
- Landing Page (I'll ask Hanna to get in contact with you on FB)
- The (Thai version) Yaowawit website (you're in charge of it from now on)
Since you got access to the website, you become part of Yaowawit community now. And you can redesign the site or rewrite the text that is best for the school and best for the Thai audience.
The design can be completely different from the two other versions. The most important points are you cater the design toward Thai audience, and through your design you convey the voice of the school.
EXTENSION = Gist.alfredworkflow
BUNDLEID = pjkh.gist
VERSION = 2.0.2
SOURCE_FILES = functions.sh gist.sh icon.png info.plist setup.sh
PKG_FILES = $(SOURCE_FILES)
WORKFLOW_DIR = $(HOME)/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows
INSTALL_DIR = `grep -l -- ">$(BUNDLEID)<" "$(WORKFLOW_DIR)"/*/info.plist | sed 's/\/info.plist//'`
all: $(EXTENSION)
@sivabudh
sivabudh / decha.html
Created August 19, 2013 09:01
Decha Noob
<!DOCTYPE html>
<html>
<head>
<title> Fakebook </title>
<style>
.boxed {
width: 250px;
height: 250px;
border: 1px solid green ;
margin-left: 121px;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
class ContactMailer < ActionMailer::Base
default from: "[email protected]"
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
# en.feedback_mailer.user_feedback.subject
#
def contact(name, subject, message)
@name = "Anonymous"
@sivabudh
sivabudh / gist.rb
Created October 9, 2013 18:25
a test file
https://gist.github.com/6905823
@sivabudh
sivabudh / pac
Created November 20, 2013 03:33
you can put your description here
def run(a,b,c)
a + b + c
end
http://spin.atomicobject.com/2011/04/29/enhance-your-mac-os-x-with-programs/
http://spin.atomicobject.com/2011/05/26/enhancing-your-os-x-part-2/
http://spin.atomicobject.com/2011/06/27/enhancing-your-os-x-part-3/
http://spin.atomicobject.com/2011/06/27/enhancing-your-os-x-part-4/
http://architectryan.com/2012/10/03/remap-home-and-end-on-os-x-mountain-lion/#.UoxG4WQ-Lhk
http://apple.stackexchange.com/questions/16135/remap-home-and-end-to-beginning-and-end-of-line
http://mwholt.blogspot.com/2012/09/fix-home-and-end-keys-on-mac-os-x.html
$users = DB::table('users')->select('name', 'email')->get();
$users = DB::table('users')->distinct()->get();
$users = DB::table('users')->select('name as user_name')->get();