Skip to content

Instantly share code, notes, and snippets.

Plamen Stoev pstoev

Block or report user

Report or block pstoev

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
View isArray.js
if( Object.prototype.toString.call( someVar ) === '[object Array]' ) {
alert( 'Array!' );
}
View st3_explorer_context_menu.bat
@echo off
rem Based on a gist for adding sublime text 2:
rem https://gist.github.com/mrchief/5628677
SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with ST3" /t REG_SZ /v "" /d "Open with ST3" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with ST3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f
View webkit_scrollbar_styling.css
/*#region ScrollBar Styles */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background-color: rgba(113, 112, 107, 0.2);
}
::-webkit-scrollbar-thumb:vertical {
background-color: rgba(0, 0, 0, 0.2);
@pstoev
pstoev / jsbin_case
Created Jul 26, 2012
Truncated code
View jsbin_case
var total_items_array = [{
"created_at": "Thu Jul 26 14:01:50 +0000 2012",
"id": 228490315407958000,
"id_str": "228490315407958016",
"text": "Лятна жега налегна и лихвите http://t.co/ce3D3HRr",
"source": "<a href=\"http://www.dnevnik.bg\" rel=\"nofollow\">e:Twit</a>",
"truncated": false,
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
You can’t perform that action at this time.