This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Simple steps for me to remember how I did this | |
============================================== | |
1. Partition | |
/root - /dev/sdx2 - Ext4 parition | |
/boot/efi - /dev/sdx1 - EFI partition | |
2. Install the system | |
3. chroot to the system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " Disable vi-compatibility | |
set t_Co=256 | |
colorscheme xoria256 | |
set guifont=menlo\ for\ powerline:h16 | |
set guioptions-=T " Removes top toolbar | |
set guioptions-=r " Removes right hand scroll bar | |
set go-=L " Removes left hand scroll bar | |
set linespace=15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This snippet implements the logic behing https://github.com/philipbrown/signplz , simply to explain the functionality of generating the auth signature | |
* for non-php programmers so that they can authenticate with the API without a problem. | |
**/ | |
$api_key = ""; | |
$api_sec = ""; | |
$url = "http://abc.com/programs/1"; | |
// Method specific options |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This snippet implements the logic behing https://github.com/philipbrown/signplz , simply to explain the functionality of generating the auth signature | |
* for non-php programmers so that they can authenticate with the API without a problem. | |
**/ | |
$api_key = "key"; | |
$api_sec = "sec"; | |
$url = "http://abc.com/api/signin"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$databasehost = "localhost"; | |
$databasename = "db"; | |
$databasetable = "temp"; | |
$databaseusername ="root"; | |
$databasepassword = "root"; | |
$fieldseparator = ","; | |
$lineseparator = "\n"; | |
$csvfile = "csv.csv"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
root /vagrant/public; | |
index index.html index.htm index.php app.php app_dev.php; | |
# Make site accessible from ... | |
server_name customer1.abc.com 192.168.22.10.xip.io vaprobash.dev; | |
access_log /var/log/nginx/vagrant.com-access.log; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://stackoverflow.com/questions/19386962/laravel-eloquent-and-complex-relationships?rq=1 | |
http://forumsarchive.laravel.io/viewtopic.php?pid=21255 | |
http://stackoverflow.com/questions/20666490/laravel-4-mssql-stored-procedure-with-parameters-as-a-prepared-statements | |
http://culttt.com/2013/08/05/extending-eloquent-in-laravel-4/ | |
http://www.blogosfera.co.uk/2013/08/pass-parameters-in-insert-query-stored-procedure-in-laravel-4/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove index.php from the url | |
http://stackoverflow.com/questions/10474740/how-to-remove-index-php-from-urls | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d |