| Functionality | [Ruby][1] | [Node][2] | [Atom][3] | [Sublime Text][4] |
|---|---|---|---|---|
| Atom to Sublime Text | ✓ | ✓ | ✓ | |
| Atom to TextMate | ✓ | ✓ | ||
| Atom to Visual Studio Code | ✓ | ✓ | ✓ | |
| Sublime Text to Atom | ✓ | ✓ | ✓ | ✓ |
| Sublime Text to TextMate | ✓ | ✓ | ||
| Sublime Text to Visual Studio Code | ✓ | ✓ | ✓ | |
| TextMate to Atom | ✓ | ✓ | ✓ | |
| TextMate to Sublime Text | ✓ | ✓ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # For installation and usage, please refer to my blog post: | |
| # http://derekstavis.github.io/posts/creating-a-installer-using-inno-setup-on-linux-and-mac-os-x/ | |
| # | |
| # The MIT License (MIT) | |
| # | |
| # Copyright (c) 2014 Derek Willian Stavis | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Last tested with Baikal 0.4.6 | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] | |
| # iOS 9.2 | |
| RewriteRule /.well-known/carddav /html/card.php [R,L] | |
| RewriteRule /.well-known/caldav /html/cal.php [R,L] | |
| # Mac OS X 10.10 | |
| Redirect /.well-known/carddav /html/card.php | |
| </IfModule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://gist.github.com/idleberg/df8f04ec04d2b523d5ff | |
| import os, sublime, sublime_plugin, subprocess | |
| # Array of required Brew packages | |
| packages = [ | |
| '' | |
| ] | |
| def plugin_loaded(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://gist.github.com/idleberg/ca5714fd2b9607db02b8 | |
| import os, sublime, sublime_plugin, subprocess | |
| # Array of required Node packages | |
| packages = [ | |
| '' | |
| ] | |
| def plugin_loaded(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # droppid v0.2.3 | |
| # Public Domain Mark 1.0 | |
| # https://gist.github.com/idleberg/81ed196f2401be045893 | |
| # | |
| # Usage: sudo [sh] droppid.sh [priority] | |
| # Check for sudo | |
| if [ "$EUID" -ne 0 ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://gist.github.com/idleberg/03bc3766c760bb4b81e3 | |
| import os, stat, sublime, sublime_plugin | |
| # Array of files, relative to package directory | |
| files = [ | |
| 'my-script.sh' | |
| ] | |
| def plugin_loaded(): |
Enable Spotlight indexing for volumes (network shares, external disks, etc.) in Terminal
# enable indexing
mdutil /Volumes/name -i on
# disable indexing
mdutil /Volumes/name -i off
# check indexing statusThis script scans your Dropbox (or any given folder) for folders stored in the ignore array and excludes them from syncing. Makes use of the official Dropbox CLI
I'm a beginner at bash, so all improvements are welcome!
#!/bin/bash
set -e
# SETTINGS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| session_start(); | |
| if (isset($_GET["locale"])) { | |
| $locale = $_GET["locale"]; | |
| } else if (isset($_SESSION["locale"])) { | |
| $locale = $_SESSION["locale"]; | |
| } else { | |
| $locale = "en_US"; |