Skip to content

Instantly share code, notes, and snippets.

View nicksergeant's full-sized avatar

Nick Sergeant nicksergeant

View GitHub Profile
~ weechat-curses
irc: connecting to server ssl.domain.com/6666 (SSL)...
irc: TLS handshake failed
irc: error: The TLS connection was non-properly terminated.
irc: reconnecting to server in 10 seconds
... now I try /reconnect
irc: connecting to server ssl.domain.com/6666 (SSL)...

[[tweet-319285740448133123]]

// First grab Stylebot: https://chrome.google.com/webstore/detail/stylebot/oiaejidbmkiecgbjeifoejpgmdaleoha?hl=en
#wx-breaking-now {
display: none !important;
}
#wx-wrapper {
border-style: none !important;
}
// 1. Head to "http://www.pandora.com/profile/likes/[[ username ]]" and fire up your JS console.
// 2. Click "Show more" a bunch of times until you have all of your loved tracks on the page.
// 3. Cache all of the track DOM objects.
$tracks = $('div#track_like_pages div.section');
// 4. Iterate and spit out the data.
for (var i = 0; i < $tracks.length; i++) {
var t = $tracks.eq(i);
var title = $.trim($('h3.normal', t).text());
hr.fuzzy {
background: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(0%, #DBD7CC),
color-stop(100%, #F6F1E6)
);
background: -moz-gradient(
center top,
.nom {
border-bottom: 1px solid #CCC;
position: relative;
}
.nom:after {
background: #FFF;
content: attr(data-title);
color: #CCC;
font: bold 14px Helvetica;
height: 11px;
<?xml version="1.0"?>
<tt xmlns="http://www.w3.org/ns/ttml" xml:lang="en">
<head>
<metadata xmlns:ttm="http://www.w3.org/ns/ttml#metadata">
<ttm:title/>
<ttm:description/>
<ttm:copyright/>
</metadata>
<styling xmlns:tts="http://www.w3.org/ns/ttml#styling">
<style xml:id="amara-style" tts:color="white" tts:fontFamily="proportionalSansSerif" tts:fontSize="18px" tts:textAlign="center"/>
#!/bin/sh
scss -t compressed /path/to/css/style.scss /path/to/css/style.css
git add static/css/style.css
// Settings, user:
{
"bold_folder_labels": true,
"caret_style": "wide",
"color_scheme": "Packages/User/Molokai.tmTheme",
"create_window_at_startup": false,
"font_size": 14,
"highlight_line": true,
"ignored_packages": [],
var endTimeMilliseconds = parser.startTime(subtitleScope.subtitle) / 1000;
var startTimeMilliseconds = parser.endTime(subtitleScope.subtitle) / 1000;