Skip to content

Instantly share code, notes, and snippets.

View talha08's full-sized avatar
πŸ‘¨β€πŸ’»
Easy Life, Busy Day

Md Abu Talha talha08

πŸ‘¨β€πŸ’»
Easy Life, Busy Day
View GitHub Profile
<!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>
$str = "What happens here?";
echo urlencode($str); //What+happens+here%3F
//rawurlencode($str) //What%20happens%20here%3F
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
public function setUp()
{
parent::setUp();
Route::enableFilters();
Artisan::call('migrate');
Artisan::call('db:seed');
Auth::loginUsingId(1);
// OR:
//$this->be(User::find(1));
}
// 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
@talha08
talha08 / Artisan.php
Created May 5, 2016 18:17
Laravel Cheat Sheet
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
............................................
Css
............................................
fieldset {
border:0;
margin-bottom:20px;
}
input {
display:block;
Try this in a helpers file, or macro.
....................................................
/**
* Set active page
*
* @param string $uri
* @return string
*/
function set_active($uri)
{
@talha08
talha08 / setup laravel project on server
Last active June 16, 2016 16:56 — forked from masiur/setup laravel project on server
Laravel Project setup on UBUNTU server
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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Style sheet for project language | Talha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
.tags {
list - style: none;
margin: 0;
overflow: hidden;
padding: 0;
}
.tags li {