Skip to content

Instantly share code, notes, and snippets.

Pankaj Parashar pankajparashar-zz

Block or report user

Report or block pankajparashar-zz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pankajparashar-zz
pankajparashar-zz / twitter.json
Created Aug 22, 2016 — forked from hrp/twitter.json
Example JSON response from Twitter streaming API
View twitter.json
{
"text": "RT @PostGradProblem: In preparation for the NFL lockout, I will be spending twice as much time analyzing my fantasy baseball team during ...",
"truncated": true,
"in_reply_to_user_id": null,
"in_reply_to_status_id": null,
"favorited": false,
"source": "<a href=\"http://twitter.com/\" rel=\"nofollow\">Twitter for iPhone</a>",
"in_reply_to_screen_name": null,
"in_reply_to_status_id_str": null,
"id_str": "54691802283900928",
View random-colors.css
.random-color {
border-top-color: "LightCoral";
border-right-color: #a44b58;
border-bottom-color: rgb(108, 188, 134);
border-left-color: rgb(24%, 88%, 5%);
outline-top-color: hsl(88, 69%, 69%);
outline-right-color: rgba(220, 71, 132, 0.69);
outline-bottom-color: rgba(79%, 47%, 14%, 0.37);
outline-left-color: hsla(111, 31%, 38%, 0.86);
}
@pankajparashar-zz
pankajparashar-zz / spool.sql
Last active Aug 29, 2015
The perfect SQLPLUS script.
View spool.sql
SET TRIMSPOOL ON
SET TRIMOUT ON
SET HEADSEP OFF
SET ECHO OFF
SET VERIFY OFF
SET TERMOUT ON
SET HEADING OFF
SET PAGESIZE 0
SET FEEDBACK OFF
SET NEWPAGE NONE
@pankajparashar-zz
pankajparashar-zz / todo.sh
Created Feb 8, 2014
The best todo list app for any developer
View todo.sh
Make a list of your todos in /etc/motd:
* Dump prod.sql
- Don't forget to sanitize
* Finish Foo project
And now you'll see it every time you open a new prompt:
* Dump prod.sql
- Don't forget to sanitize
View gist:8381857
sudo chown -R `whoami` ~/.npm
sudo chown -R $USER /usr/local
View cheatsheet.md
View baseline.css
body {
font-size: 1em;
line-height: 1.5em;
}
h1 {
font-size: 6.87500em;
line-height: 1.09091em;
margin-top: .2182em;
margin-bottom: .4364em;
View SassMeister-input.scss
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
// SCSS version of Joshua's baseline generator - [http://joshnh.com/tools/em-baseline-generator.html]
// Article - http://joshnh.com/2011/08/03/how-to-set-up-a-baseline-grid/
$base-font-size: 16px !default;
$line-height: 24px !default;
View typeplate.scss
$line-height: 1.65 !default;
$font-size: 112.5 !default; // percentage value (16 * 112.5% = 18px)
$font-base: 16 * ($font-size/100) !default; // converts our percentage to a pixel value
$measure: $font-base * $line-height;
// Modular Scale Values
// http://typecast.com/blog/contrast-through-scale
$tera: 117 !default; // 117 = 18 × 6.5
View _snippet.html
<ul id="members" data-role="listview" data-filter="true">
<!-- ... more list items ... -->
<li>
<a href="detail.html?id=10">
<h3>John Resig</h3>
<p><strong>jQuery Core Lead</strong></p>
<p>Boston, United States</p>
</a>
</li>
<!-- ... more list items ... -->
You can’t perform that action at this time.