Skip to content

Instantly share code, notes, and snippets.

View apirak's full-sized avatar

Apirak Panatkool apirak

View GitHub Profile

Install php on CentOS

Vagrant file

config.vm.network :forwarded_port, guest: 80, host: 8081
config.vm.network :forwarded_port, guest: 3306, host: 3381

Install software

sudo yum install curl ftp rsync sudo time wget which git-core

@apirak
apirak / Candidate.md
Last active December 23, 2015 06:59

#Geeky Pod

##Checkin

####Python

  • Chaiwat Suttipongsakul
  • Chokchai Phatharamalai <<
  • Airmee Chanita Anuwong
  • Pam Suebvisai
  • Edkung Foo

#วันที่ 1: User Experience Fundamental

##10:00 - 12:00

###ทำความเข้าใจ User eXperience

อธิบายถึงความหมายของ UX และพิจารณาความแตกต่างระหว่าง UX UI และ Graphic Design โดยผู้เข้าร่วมการอบรมจะได้ทดลองอธิบายโปรแกรมตัวอย่างว่าได้รับ Experience แบบใด

###เรียนรู้กระบวนการและพื้นฐานสำคัญ

#วันที่ 2: Design Process & Test

##10:00 - 12:00

###แนวคิดการออกแบบ

ในวันแรกผู้เรียนได้ทดลองออกแบบโปรแกรมโดยมีเพียงทฤษฎีเบื้องต้น แต่ยังขาดการออกแบบโปรแกรมอย่างเป็นขั้นเป็นตอน ในช่วงของแนวคิดการออกแบบ จะแบ่งหัวข้อเป็น 5 ส่วน

  1. Concept : บอกถึงสิ่งที่สำคัญในการวางแนวคิดของโปรแกรม ว่าผู้ใช้แต่ละกลุ่มนั้นต้องการโปรแกรมที่มีคุณลักษณะไม่เหมือนกัน อย่างไร
  2. Workflow : แนวทางในการร้อยเรื่องราวของโปรแกรมเพื่อควบคุมให้ผู้ใช้คาดเดาหรือคาดหวังอย่างที่โปรแกรมต้องการ

ซ้อม

ออกแบบ calendar สำหรับ Sprint3r

เตรียม Persona ให้ (0 min)

image

  • วัยกลางคน 30-45
  • รักธรรมชาติ แต่ทำงานในเมือง
@apirak
apirak / itunesicon.rb
Created July 10, 2018 03:01 — forked from ttscoff/itunesicon.rb
Retrieve a 512 x 512px icon for an iOS app
#!/usr/bin/ruby
# encoding: utf-8
#
# Updated 2017-10-25:
# - Defaults to large size (512)
# - If ImageMagick is installed:
# - rounds the corners (copped from @bradjasper, https://github.com/bradjasper/Download-iTunes-Icon/blob/master/itunesicon.rb)
# - replace original with rounded version, converting to png if necessary
#
# Retrieve an iOS app icon at the highest available resolution
const rgbToHex = (r, g, b) =>
'#' + ((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1);
const nodes = figma.currentPage.findAll(node => node.type === "TEXT" && node.name.charAt(0) === "#");
nodes.forEach(node => {
let nodeId = RegExp(/^#(.*)/).exec(node.name)[1]
let aNode = <RectangleNode> figma.getNodeById(nodeId);
if (aNode) {
// Figma Plugin API version 1, update 14
declare global {
// Global variable with Figma's plugin API.
const figma: PluginAPI
const __html__: string
interface PluginAPI {
readonly apiVersion: "1.0.0"
readonly command: string
@apirak
apirak / .vimrc
Last active March 15, 2022 00:59
syntax on
set rtp+=/usr/local/opt/fzf
call plug#begin()
" File Explorer NERDtree "
Plug 'preservim/nerdtree'
" Fast file search with crtl-p
Plug 'ctrlpvim/ctrlp.vim'
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim