Skip to content

Instantly share code, notes, and snippets.

View norsez's full-sized avatar
💭
busy coding

Norsez Orankijanan norsez

💭
busy coding
View GitHub Profile
@norsez
norsez / Iphone Icon.png Bash Script
Created July 19, 2012 10:00 — forked from jessedc/iOS Icon.png bash script
A simple bash script using OSX command line tool sips to resample a 512x512px image
#!/bin/bash
f=$(pwd)
sips --resampleWidth 512 "${f}/${1}" --out "${f}/iTunesArtwork"
sips --resampleWidth 57 "${f}/${1}" --out "${f}/Icon.png"
sips --resampleWidth 114 "${f}/${1}" --out "${f}/Icon@2x.png"
sips --resampleWidth 29 "${f}/${1}" --out "${f}/Icon-Small.png"
sips --resampleWidth 58 "${f}/${1}" --out "${f}/Icon-Small@2x.png"
sips --resampleWidth 50 "${f}/${1}" --out "${f}/Icon-Small-50.png"
sips --resampleWidth 72 "${f}/${1}" --out "${f}/Icon-72.png"
@norsez
norsez / การใช้ Git ฉบับรีบร้อน.md
Created June 29, 2012 09:19
การใช้ Git ฉบับรีบร้อน #THiOS

#การใช้ Git ฉบับรีบร้อน

##Git Git เป็น revision control แบบ distributed (หมายความว่าไม่มีศูนย์กลาง) และ แบบ non-linear history (หมายความว่ามีประวัติการเปลี่ยนแปลงแบบไม่ใช่เส้นตรง) ดังนั้นทำให้คอนเซปต์ของ Git นั้นต่างจาก revision control รุ่นก่อนหน้าหลายอย่าง

ต่อไปจะอธิบายย่อๆเรื่องคำสั่ง Git โดยอิงกับการทำงานใน GitHub เป็นสำคัญ (Git มีวิธีใช้พลิกแพลงมากมาย ไปศีกษาการใช้อื่นได้ด้วยการไป Google เอาเอง)

##clone

สมมุติว่ามี repository แห่งนีงใน GitHub เช่น https://github.com/norsez/projectA

@norsez
norsez / ThaiiOSDevelopersUnited.md
Created June 29, 2012 05:19
Thai iOS Developers United

#Thai iOS Developers United #THiOS

เราคือกลุ่ม iOS Developer จาก Thailand ครับ ขอเชิญทุกท่านเข้ามาช่วยกันเรียนรู้ แก้ปัญหา และร่วมมือทาง open source เกี่ยวกับ iOS และ network กันไว้ครับ หากสนใจเข้าร่วมส่งเมสเสจมาหา Owner ท่านใดก็ได้ในกลุ่ม https://github.com/organizations/Thai-iOS-Developers-United ครับ

##เราใช้ Gist และ Twitter ในการสื่อสารในกลุ่ม Thai iOS Developers United ###ใช้ Twitter ในการสื่อสาร ริเริ่มไอเดีย ถามปัญหา (ขอเป็นปัญหาที่ไม่มีอธิบายชัดเจนแล้วใน iOS Programming References นะครับ) และ พูดคุยกันได้บน Twitter @THiOSDev ครับ