Skip to content

Instantly share code, notes, and snippets.

View vojtechjurasek's full-sized avatar

Vojtěch Jurásek vojtechjurasek

View GitHub Profile
@diogocapela
diogocapela / country-dial-codes.json
Created March 25, 2020 15:21
country-dial-codes.json
[
{ "name": "Afghanistan", "iso": "AF", "flag": "🇦🇫", "dialCode": "+93" },
{ "name": "Aland Islands", "iso": "AX", "flag": "🇦🇽", "dialCode": "+358-18" },
{ "name": "Albania", "iso": "AL", "flag": "🇦🇱", "dialCode": "+355" },
{ "name": "Algeria", "iso": "DZ", "flag": "🇩🇿", "dialCode": "+213" },
{ "name": "American Samoa", "iso": "AS", "flag": "🇦🇸", "dialCode": "+1-684" },
{ "name": "Andorra", "iso": "AD", "flag": "🇦🇩", "dialCode": "+376" },
{ "name": "Angola", "iso": "AO", "flag": "🇦🇴", "dialCode": "+244" },
{ "name": "Anguilla", "iso": "AI", "flag": "🇦🇮", "dialCode": "+1264" },
{ "name": "Antarctica", "iso": "AQ", "flag": "🇦🇶", "dialCode": "+672" },
@osopolar
osopolar / com.user.time-machine-exclude-node-modules-job.plist
Last active December 20, 2022 08:44 — forked from peterdemartini/command.sh
Exclude node_modules (and more) from timemachine, use launchd to scan the Project directory on a regular basis, for example meanwhile you are having siesta. Put this file in ~/Library/LaunchAgents and call `launchctl load ~/Library/LaunchAgents/com.user.time-machine-exclude-node-modules-job.plist`
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.user.time-machine-exclude-node-modules-job</string>
<key>RunAtLoad</key>
<false/>
<key>KeepAlive</key>
<false/>
@jonathantneal
jonathantneal / README.md
Last active March 19, 2024 23:31
Local SSL websites on macOS Sierra

Local SSL websites on macOS Sierra

These instructions will guide you through the process of setting up local, trusted websites on your own computer.

These instructions are intended to be used on macOS Sierra, but they have been known to work in El Capitan, Yosemite, Mavericks, and Mountain Lion.

NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward the edit command to Sublime Text:

alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
@PetrKaleta
PetrKaleta / Caffeinated.coffee
Created January 8, 2012 21:38
Micro JavaScript library written in CoffeeScript to solve my needs when creating mobile web apps for iOS.
###
Caffeinated.js 1.0.1
(c) 2012 Petr Kaleta, @petrkaleta
Caffeinated.js is freely distributable under the MIT license.
Micro JavaScript library written in CoffeeScript to make my life easier when creating mobile web apps for iOS.
I don't like extending built-in JavaScript objects, so I've created this lib as an separate object.
I used underscore identifier to make its calls short as possible. So please do not mess this lib with gorgeous
Underscore.js lib by Jeremy Ashkenas, DocumentCloud Inc.
Some methods are inspired or borrowed from popular JavaScript frameworks like jQuery, Underscore.js and Prototype.js