Skip to content

Instantly share code, notes, and snippets.

View golfiti's full-sized avatar
🟢
Available

Kridsanapong Wongthongdee golfiti

🟢
Available
View GitHub Profile
void main() {
double total = 28.65;
double price = 9.55;
double volume = total / price;
print(volume);
// *volume จะต้องปัดลงเป็นจำนวนเต็ม
// ex.
{
"digi_list"= (
{
"cal_type"= 0;
"cate_id"= 38;
"cate_name"= "<null>";
"create_date"= "2018-06-20 10:43:41";
"digital_id"= 312;
"digital_name"= "Sales Sheet HP-New";
"digital_url"= "https://54.179.167.50/TISCO_API_SIT/DigitalFiles/47e85a67-39a4-4c28-8182-b77bbecd82bd.pdf";
#import "BIZGrid4plus1CollectionViewLayout.h"
static NSString *cellElementKind = @"cellElementKind";
typedef enum {
kImageGroupTypeNone,
kImageGroupTypeSmallTop,
kImageGroupTypeBigRight,
kImageGroupTypeSmallMiddle,
import Cocoa
// for-in
func checkForIn(array: [Int], dict: [Int: String]) {
for num in array where dict[num] != nil {
num
}
}
checkForIn([1,2,3,4], dict: [1:"one", 2:"two"])
@golfiti
golfiti / wwdc15.md
Last active August 29, 2015 14:24 — forked from mackuba/wwdc15.md

Here's my own list of the interesting stuff announced during this year's WWDC, collected from the keynotes, various Apple docs, blog posts and tweets.

If you're planning to watch the videos, I really recommend this Mac app that helps you download and watch them: https://github.com/insidegui/WWDC.

OS X El Capitan

http://www.apple.com/osx/elcapitan-preview/

  • split view - two apps side by side on full screen