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 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 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 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 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
Show hidden characters
{ | |
"selector": "source.ini", | |
"cmd": ["pynsist", "$file"], | |
"variants": [ | |
{ "name": "No MakeNSIS", | |
"cmd": ["pynsist", "--no-makensis", "$file"] | |
} | |
] | |
} |
This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.
You want a script that does a local compile to e.g. an out/
directory. Let's call this compile.sh
for our purposes, but for your project it might be npm build
or gulp make-docs
or anything similar.
The out/
directory should contain everything you want deployed to gh-pages
. That almost always includes an index.html
.
This file contains 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 | |
GIT_ROOT="$(git rev-parse --show-toplevel)" | |
DIRECTORY="$GIT_ROOT/path/to/subfolder" | |
printf "Spawning gulp in \"$DIRECTORY\"\n\n" | |
gulp --cwd "$DIRECTORY" $@ |
This file contains 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
# Pre-requisites | |
brew install bison | |
brew link bison --force | |
# Clone ScummC | |
git clone https://github.com/AlbanBedel/scummc | |
cd scummc | |
# Build | |
./configure |