Skip to content

Instantly share code, notes, and snippets.

View saikiranmarripati's full-sized avatar
🏠
Working from home

Saikiran Marripati saikiranmarripati

🏠
Working from home
View GitHub Profile
@simivar
simivar / print_r_reverse.php
Last active November 4, 2023 23:27
PHP function to reverse print_r function
<?php
/**
* I've published a fully-tested Composer library with type-casting.
* @see https://github.com/simivar/reverse-print-r
*/
/**
* Matt: core
* Trixor: object handling
* lech: Windows suppport
@ajitbohra
ajitbohra / script.js
Created May 25, 2015 18:49
jQuery: SweetAlert throws error logStr is not defined
// This code throws error: logStr is not define
swal({
title: "Problem",
text: "Problem processing request !",
type: "Error"
});
// This code works perfect
// type argument accepts following: error,success,info,warning
// type is case sensitive "Error" in place of "error" will throw error
@apnerve
apnerve / Important JS Concepts
Created March 25, 2015 07:56
A collection of important JS concepts to help folks brush up their JS knowledge or prepare for interviews
* Scope
* Closure
* Hoisting
* IIFEs and their uses
* Event loop