เราสามารถตั้งค่า Proxy ให้ Git ได้ด้วยคำสั่งนี้ ผ่าน Command Line
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
เปลี่ยนข้อมูลในคำสั่งตามรายละเอียดด้านล่าง
$corsOptions = array( | |
"origin" => "*", | |
"exposeHeaders" => array("Content-Type", "X-Requested-With", "X-authentication", "X-client"), | |
"allowMethods" => array('GET', 'POST', 'PUT', 'DELETE', 'OPTIONS') | |
); | |
$cors = new \CorsSlim\CorsSlim($corsOptions); | |
$app->add($cors); |
$scope.profiles = [{ | |
id: '1', | |
firstname: 'ณเดชน์', | |
lastname: 'คูกิมิยะ', | |
nickname: 'ณเดชน์' | |
}, { | |
id: '2', | |
firstname: 'เจษฎาภรณ์', | |
lastname: 'ผลดี', | |
nickname: 'ติ๊ก' |
// Defined to be used in Slim Web API | |
// MAMP | |
$config['db']['user'] = "root"; | |
$config['db']['pass'] = "root"; | |
// XAMPP | |
$config['db']['user'] = "root"; | |
$config['db']['pass'] = ""; |
<access origin="tel:*"/> | |
<allow-intent href="tel:*" /> |
gitignore.txt
in root of Xamarin Solutionren gitignore.txt .gitignore
mv gitignore.txt .gitignore
ดาวน์โหลดและติดตั้ง Heroku Toolbelt
npm install @ionic-native/core --save | |
"dependencies": { | |
"@angular/common": "2.4.8", | |
"@angular/compiler": "2.4.8", | |
"@angular/compiler-cli": "2.4.8", | |
"@angular/core": "2.4.8", | |
"@angular/forms": "2.4.8", | |
"@angular/http": "2.4.8", |