C0dInGMaFia

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • About

Post navigation

← Older posts

Less GUI compiler

Posted on February 24, 2012 by nattapongkm
Reply

หลังจากลอง less จากเว็บ http://lesscss.org/ เลยลองหาตัว compiler แบบกดแล้ว complie เลยไม่ต้องผ่าน command line เจออยู่สองตัว

ตัวแรกใช้งานบน mac http://incident57.com/less/

Continue reading →

Posted in css | Tagged css, less | Leave a reply

Custom font on iOS

Posted on February 22, 2012 by nattapongkm
Reply

ขั้นตอนแรก:

สร้างโปรเจค เลือก Single View Application

Continue reading →

Posted in iOS | Tagged iOS, object C | Leave a reply

Pass Sessions between subdomains in php

Posted on February 11, 2012 by nattapongkm
Reply

set in php.ini

session.cookie_domain = .mydomain.com

or in .htaccess

php_value session.cookie_domain .example.com

or in your code before session_start

ini_set('session.cookie_domain', substr($_SERVER['SERVER_NAME'], strpos($_SERVER['SERVER_NAME'],"."), 100));
Posted in php | Tagged php, session | Leave a reply

iPhone support in Ubuntu 10.04

Posted on February 7, 2012 by nattapongkm
Reply

ref: http://www.libimobiledevice.org/

Posted in iOS | Tagged iphone | Leave a reply

Call apps via safari on ios

Posted on February 7, 2012 by nattapongkm
Reply

open safari browser on your iPhone or iPad and fill this in URL

itms-books:

another apps can view from ref:

  • http://wiki.akosma.com/IPhone_URL_Schemes
  • http://applookup.com/2010/09/iphone-apps-with-special-url-shortcuts/
Posted in Uncategorized | Leave a reply

How to capture a web page

Posted on February 7, 2012 by nattapongkm
Reply

CutyCapt (WebKit’s rendering) and IECapt (Internet Explorer’s rendering) are command-line utility to capture a web page into a variety of vector and bitmap formats, including SVG, PDF, PS, PNG, JPEG, TIFF, GIF, and BMP

Example:

./CutyCapt --url=http://www.example.org --out=example.png

Reference:

  • http://cutycapt.sourceforge.net/
  • http://iecapt.sourceforge.net/
Posted in Uncategorized | Leave a reply

Add your app path to PATH environment variable on OS X

Posted on February 7, 2012 by nattapongkm
Reply

check PATH variable in terminal:

echo $PATH

open ~/.bash_profile on your favorite text editor

export PATH=/usr/local/bin:$PATH
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
Posted in linux command, osx | Tagged $PATH | Leave a reply

3 ways to compress CSS files using PHP

Posted on February 3, 2012 by nattapongkm
Reply

http://www.catswhocode.com/blog/3-ways-to-compress-css-files-using-php

Posted in Uncategorized | Leave a reply

Find the right sound model

Posted on February 1, 2012 by nattapongkm
Reply
$cat /proc/asound/card*/codec\#*|grep -i codec 
Posted in linux command, ubuntu | Leave a reply

Find the programs running on a port

Posted on February 1, 2012 by nattapongkm
Reply
$sudo lsof -i | grep :80 
Posted in linux command | Leave a reply

Post navigation

← Older posts

Recent Posts

  • Less GUI compiler
  • Custom font on iOS
  • Pass Sessions between subdomains in php
  • iPhone support in Ubuntu 10.04
  • Call apps via safari on ios

Recent Comments

  • Danny on HTTP Pseudostreaming on apache windows
  • alain on HTTP Pseudostreaming on apache windows

Archives

  • February 2012
  • January 2011
  • December 2010
  • November 2010
  • October 2010

Categories

  • android
  • css
  • iOS
  • Life style
  • linux
  • linux command
  • osx
  • php
  • streaming
  • ubuntu
  • Uncategorized

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Proudly powered by WordPress