A sweet set of links I collected into my treasure chest this week.
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
# Description: | |
# Use Skynet to determine if a thing that was said is actually something | |
# S.H.E (Silicon Helix Entity) said. | |
# | |
# Dependencies: | |
# "twss": "0.1.6" | |
# | |
# Configuration: | |
# TWSS_ROOMS - Comma separated list of rooms in which to respond | |
# inappropriately. |
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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>F19 to F19</name> | |
<appendix>(F19 to Hyper (ctrl+shift+cmd+opt) + F19 Only, send escape)</appendix> | |
<identifier>private.f192f19_escape</identifier> | |
<autogen> | |
--KeyOverlaidModifier-- | |
KeyCode::F19, | |
KeyCode::COMMAND_L, |
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
# Sweet Gif Creation from .mov | |
# | |
# Adapted from https://gist.github.com/SlexAxton/4989674 | |
gifify() { | |
if [[ -n "$1" ]]; then | |
GIF="${1%.*}.gif" | |
if [[ $2 == '--bad' ]]; then | |
ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $GIF | |
else | |
ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png |
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
@Web Services | |
whohosts http://www.whoishostingthis.com/%d Who is hosting this? | |
uinfo http://geturlinfo.appspot.com/%r?format=json URL Info for domain | |
down http://downforeveryoneorjustme.com/%s DownforEveryone? | |
@Bookmarklets | |
2text javascript:location.href='http://www.aaronsw.com/2002/html2text/?url='+document.location.href; HTML2Text | |
camel script:https://rawgit.com/mutewinter/Camelmark/master/camelmark.js Search CamelCamelCamel | |
clip javascript:(function(){x=document.createElement('SCRIPT');x.type='text/javascript';x.src='http://brettterpstra.com/share/readability.js?x='+(Math.random());document.getElementsByTagName('head')[0].appendChild(x);y=document.createElement('LINK');y.rel='stylesheet';y.href='http://brettterpstra.com/share/readability.css?x='+(Math.random());y.type='text/css';y.media='screen';document.getElementsByTagName('head')[0].appendChild(y);})(); Run the Clippable bookmarklet | |
clipr javascript:(function(e,a,g,h,f,c,b,d)%20{if(!(f=e.jQuery)||g>f.fn |
My Settings for the Window Resizer Chrome Extension. Import on the Import / Export tab.
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 webpack = require('webpack'); | |
var WebpackDevServer = require('webpack-dev-server'); | |
var config = require('./webpack.config'); | |
var PORT = process.env.PORT || 1337; | |
new WebpackDevServer(webpack(config), { | |
publicPath: config.output.publicPath, | |
hot: true, | |
quiet: false, |
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
.emojie { | |
line-height: 1rem !important; | |
} | |
.bubble.thread { | |
opacity: 0.65; | |
} | |
.bubble.green { | |
border-color: #9554D2 !important; |
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
diff --git a/ycmd/identifier_utils.py b/ycmd/identifier_utils.py | |
index 4217fdef..ac91c97b 100644 | |
--- a/ycmd/identifier_utils.py | |
+++ b/ycmd/identifier_utils.py | |
@@ -102,6 +102,7 @@ FILETYPE_TO_IDENTIFIER_REGEX = { | |
} | |
FILETYPE_TO_IDENTIFIER_REGEX[ 'scss' ] = FILETYPE_TO_IDENTIFIER_REGEX[ 'css' ] | |
+FILETYPE_TO_IDENTIFIER_REGEX[ 'javascript' ] = FILETYPE_TO_IDENTIFIER_REGEX[ 'css' ] | |
FILETYPE_TO_IDENTIFIER_REGEX[ 'sass' ] = FILETYPE_TO_IDENTIFIER_REGEX[ 'css' ] |