Skip to content

Instantly share code, notes, and snippets.

View maldechavda's full-sized avatar
😀

Malde Chavda maldechavda

😀
View GitHub Profile
@maldechavda
maldechavda / index.html
Last active November 14, 2016 09:19
Copy TO Clipboard
<input id="txt" />
<button id="btn">Copy To Clipboard</button>
SET GLOBAL sql_mode = '';
@maldechavda
maldechavda / .profile
Created November 3, 2016 07:20
add spark installer in $PATH ubantu
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
<?php
/**
* print_r with <pre>.
*/
function pre()
{
$args = func_get_args();
foreach ($args as $arg) {