Skip to content

Instantly share code, notes, and snippets.


Arun Yokesh yokesharun

View GitHub Profile
yokesharun / get_previous_url.js
Created Feb 8, 2016
Jquery get previous url of the browser
View get_previous_url.js
$(document).ready(function() {
var referrer = document.referrer;
// open your console
yokesharun / generate_random_id.js
Created Feb 8, 2016
Generate random Characters with Jquery
View generate_random_id.js
function makeid()
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for( var i=0; i < 5; i++ )
text += possible.charAt(Math.floor(Math.random() * possible.length));
return text;
yokesharun / lite_random_generator.js
Created Feb 8, 2016
Single line Random key generator | id | jquery
View lite_random_generator.js
yokesharun / jquery_details_detect.js
Created Feb 8, 2016
Jquery Detect Browser name | browser version | os name | platform | os version | mobile | bit
View jquery_details_detect.js
(function (window) {
var browser,
ua = window.navigator.userAgent,
platform = window.navigator.platform;
yokesharun / set_cookie.js
Created Feb 8, 2016
Javascript Set | create New cookie
View set_cookie.js
yokesharun / delete_cookie.js
Created Feb 8, 2016
Javascript delete cookie
View delete_cookie.js
yokesharun / get_cookie_value.js
Created Feb 8, 2016
Javascript Get a cookie value by name
View get_cookie_value.js
yokesharun / return_path_url.php
Created Feb 9, 2016
PHP Get path | domain | Queries of the particular url
View return_path_url.php
$url = '//';
// Prior to 5.4.7 this would show the path as "//"
//output will be like
// array(3) {
yokesharun / domain_compare.php
Created Feb 9, 2016
PHP compare the domain with two urls and match it
View domain_compare.php
$url1 = parse_url("");
$url2 = parse_url("");
if ($url1['host'] == $url2['host']){
// not matches
yokesharun / laravel-package
Created Feb 19, 2016 — forked from anistark/laravel-package
Packaging of Laravel website
View laravel-package
So, you're done making the website or web-app and now you would wanna distribute it to your clients. Awesome. Let's go ahead and create a package for the same.
There are two types of packaging that can be done in laravel:
1. VPS
2. Shared
VPS version is for their own use and local testing. So, you would wanna keep it as close to your local system settings as possible.
1. Delete all the files from app/storage/ in the following folders:
You can’t perform that action at this time.