Skip to content

Instantly share code, notes, and snippets.

View ttsvetanov's full-sized avatar

Tsvetan Tsvetanov ttsvetanov

  • 42.375486, -71.219070
View GitHub Profile
@ttsvetanov
ttsvetanov / NSURL+FavoritesList.h
Created November 6, 2015 18:49 — forked from jnozzi/NSURL+FavoritesList.h
NSURL category that provides a simple way to append a fileURL to the end of favorite items or favorite volumes list used in the side bars seen in Finder and the open and save dialog boxes.
//
// NSURL+FavoritesList.h
// FavoritesListTester
//
// Appends the URL to the end of the Favorite Items or Favorite Volumes list
// (found in the side bar of Finder windows and open/save dialogs, etc.)
//
// Notes:
//
// 1. Must be a file URL.
@ttsvetanov
ttsvetanov / sidebar.m
Created November 6, 2015 18:50 — forked from nanoant/sidebar.m
Change your Lion sidebar item icons
// (l) copyleft 2011 Adam Strzelecki nanoant.com
//
// Usage:
// sidebar - to see the ids of your favorite sidebar items
// sidebar ItemName - to remove item specific icon
// sidebar ItemName sbBj - to set specific item icon, see:
// /System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist
// Compile it with:
// gcc -o sidebar sidebar.m -F /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks -framework Foundation -framework CoreServices
//
{
"agency" :
{
"agency_id" : "ART",
"agency_name" : "Arlington Transit",
"agency_url": "http://www.arlingtontransit.com/",
"agency_timezone" : "America/New_York"
},
"routes" :
@ttsvetanov
ttsvetanov / tmux.md
Created April 10, 2016 05:01 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@ttsvetanov
ttsvetanov / README.md
Created August 7, 2016 00:22 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


Index:

@ttsvetanov
ttsvetanov / orthodoxc++.md
Created August 15, 2017 04:49 — forked from bkaradzic/orthodoxc++.md
Orthodox C++

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?