MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to: Sublime Text
Make it executable with: chmod u+x Sublime\ Text
#!/bin/bash | |
# Unload kernel module , replace rtl8821ae with your device module. | |
modprobe -r rtl8821ae | |
#reload kernel module | |
modprobe rtl8821ae | |
# set wireless interface to down , replace wlp3s0 with your wifi device name | |
ip link set wlp3s0 down | |
#restart wpa_supplicant | |
systemctl reenable wpa_supplicant |
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 |
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/ |
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; |
<?php | |
$databasehost = "localhost"; | |
$databasename = "db"; | |
$databasetable = "temp"; | |
$databaseusername ="root"; | |
$databasepassword = "root"; | |
$fieldseparator = ","; | |
$lineseparator = "\n"; | |
$csvfile = "csv.csv"; |
<?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"; |
<?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 |
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 |
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 |