This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Bootstrap Example</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> | |
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> |
This file contains hidden or 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
$str = "What happens here?"; | |
echo urlencode($str); //What+happens+here%3F | |
//rawurlencode($str) //What%20happens%20here%3F |
This file contains hidden or 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
help: https://guides.github.com/features/mastering-markdown/#examples | |
<snippet> | |
<content><![CDATA[ | |
# ${1:Project Name} | |
TODO: Write a project description | |
## Installation | |
TODO: Describe the installation process | |
## Usage | |
TODO: Write usage instructions |
This file contains hidden or 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
public function setUp() | |
{ | |
parent::setUp(); | |
Route::enableFilters(); | |
Artisan::call('migrate'); | |
Artisan::call('db:seed'); | |
Auth::loginUsingId(1); | |
// OR: | |
//$this->be(User::find(1)); | |
} |
This file contains hidden or 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
// Node.js CheatSheet. | |
// Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
// Download: http://nodejs.org/download/ | |
// More: http://nodejs.org/api/all.html | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html |
This file contains hidden or 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 artisan --help OR -h | |
php artisan --quiet OR -q | |
php artisan --version OR -V | |
php artisan --no-interaction OR -n | |
php artisan --ansi | |
php artisan --no-ansi | |
php artisan --env | |
// -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug | |
php artisan --verbose |
This file contains hidden or 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
............................................ | |
Css | |
............................................ | |
fieldset { | |
border:0; | |
margin-bottom:20px; | |
} | |
input { | |
display:block; |
This file contains hidden or 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
Try this in a helpers file, or macro. | |
.................................................... | |
/** | |
* Set active page | |
* | |
* @param string $uri | |
* @return string | |
*/ | |
function set_active($uri) | |
{ |
This file contains hidden or 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
Execute the Steps serially | |
laravel 5.1 | |
assuming domain name 'sustcse12.cf' | |
sudo apt-get update | |
sudo mkdir -p /var/www/sustcse12.cf/public_html | |
sudo chown -R $USER:$USER /var/www/sustcse12.cf/public_html | |
cd /var/www/sustcse12.cf/public_html |
This file contains hidden or 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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
Style sheet for project language | Talha | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
.tags { | |
list - style: none; | |
margin: 0; | |
overflow: hidden; | |
padding: 0; | |
} | |
.tags li { |