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
/* | |
* Layers to SVG - layers_export.jsx | |
* @version 0.1.1 | |
* Improved PageItem selection, which fixed centering | |
* | |
* @author Anton Ball | |
* @author Timothy Groves | |
* Exports all layers to SVG Files | |
* I didn't want every layer in the SVG file so it first creates a new document | |
* and one by one copies each layer to that new document while exporting it out |
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
"build_systems": [ | |
{ | |
"name": "grunt: default", | |
"cmd": ["grunt", "--no-color"], | |
"path": "/usr/local/bin", | |
"variants": [ | |
{ | |
"name": "grunt: cssmin", | |
"cmd": ["grunt", "--no-color", "cssmin"], | |
"path": "/usr/local/bin" |
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
RewriteEngine On | |
RewriteRule ^(.*/)?\.svn/ - [F,L] | |
ErrorDocument 403 "Access Forbidden" |
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
#demo { | |
background:url(ie8-logo.png) 0 0 no-repeat; | |
filter: progid:DXImageTransform.Microsoft.gradient( | |
startColorstr=#00FFFFFF, endColorstr=#00FFFFFF | |
); | |
} |
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
var m = '12'; | |
// conditional needs a clause, not just an assignment, so compare to null to see if a match Array is returned. | |
if ((m = value.match(/^([\d]+)$/)) != null) { | |
return parseInt(m[1], 10); | |
} |
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
# Add this to your ~/.profile to open the sublime project file in the current directory using `sublp` without any arguments. | |
# Note: `subl` ust be in your PATH. | |
# | |
# Usage: Navigate to folder containing project file. Type `sublp` and hit enter. | |
# | |
# Thanks to http://www.reddit.com/user/execrator for the hint! | |
# | |
alias sublp='subl --project *.sublime-project' |
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
function _initColorbox() | |
{ | |
// return if colorbox not loaded | |
if (!jQuery().colorbox) { | |
return; | |
} | |
$(".selector").colorbox({}); | |
} |
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
if (!jQuery().pluginName) { | |
return; | |
} | |
// do something with the plugin here |
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 | |
echo "===============" | |
echo "svn disk usage:" | |
du -sh /var/svn | |
echo "===============" | |
echo "git disk usage" | |
du -sh /var/git | |
echo "===============" |
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
// in parent document | |
// no jQuery required | |
(function () { | |
var | |
ifr = document.getElementById('iframeid'), | |
vpadding = 50; | |
window.addEventListener( | |
"message", | |
function (ev) { | |
var d=ev.data.split(':'), k=d[0], v=d[1]; |
NewerOlder