Skip to content

Instantly share code, notes, and snippets.

View ticky's full-sized avatar
💽

Jessica Stokes ticky

💽
View GitHub Profile
@ticky
ticky / crashplan-dump-paths.js
Created April 25, 2017 06:20
bad userscript to (try to) dump file paths from your Crashplan backup
window.__FILE__PATHS = [];
window.addEventListener('message', (event) => {
const initial_data = JSON.parse(event.data.split(' ').slice(1).join(' '));
const result_parsed = JSON.parse(initial_data.result.data);
result_parsed.data.forEach((file, index) => {
//console.debug(file.path, file.type, file.id);
window.__FILE__PATHS.push(file.path);
if (file.type === "directory") {
const element = $(`[title="${file.path}"] > a`);
@ticky
ticky / post-receive.sh
Created March 15, 2017 01:38
quick ’n dirty post-receive Jekyll builder. _scripts/build is at: https://github.com/ticky/jessicastokes.net/blob/public/_scripts/build
#!/bin/sh
set -e
GIT_REPO=$HOME/Repositories/net.jessicastokes
TMP_GIT_CLONE=$HOME/tmp/net.jessicastokes-checkout
SITE_BUILD=$HOME/tmp/net.jessicastokes-build
SITE_PROD=/usr/local/www/net.jessicastokes
if [ -d "$TMP_GIT_CLONE" ]; then

Question: How do I re-calibrate the Logitech Cordless Action Controller for PlayStation®2?

Answer:

Normally there is no reason to re-calibrate the Logitech Cordless Action Controller for PlayStation2. In rare cases where the mini-joysticks may need to be re-calibrated, you can use the process below. Please note that this process only works for the Logitech Cordless Action Controller for PlayStation2.

  1. Remove one battery.
  2. Hold the L1 and L2 buttons while re-inserting the battery. (NOTE: Do not touch or move the mini-joysticks at all during this time. It is very important that the mini joysticks are allowed to center themselves during this step or the calibration procedure will not be successful.)

The mini-joysticks should now be re-calibrated. Please note that in some cases you may need to resynchronize the gamepad and receiver after this procedure. For more information on resynchronizing this device please see [Knowledge Base Article 437](http://logitech-en-amr.custhelp.co

Platinum Appearance Themes

  • Blue Dalmatian
  • Blueberry Oxygen
  • Blueberry Union
  • Extra Green
  • Flower Power
  • Grape Gravity
  • Grape Mission
  • Heavy Petal 1
  • Heavy Petal 2
@ticky
ticky / bose.md
Last active July 10, 2020 05:58

Bose Updater

URL Scheme

http://localhost:49312/updater/{action}?[parameters]

Responses are always in JSONP, responding to the function BoseUpdater.remoteCallback, which has either two or three parameters (depending upon whether token is supplied). The last parameter appears to be a "status code," whilst the penultimate parameter is the data.

Global Parameters

Free HDBoot Menu Codes

Colours

  • �c0 White
  • �c1 Yellow
  • �c2 Blue
  • �c3 Pink
  • �c4 Gray
  • �c5 Cyan
  • c6 Red
@ticky
ticky / retube.bookmarklet.js
Created August 21, 2016 01:35
Script to convert old youtube (object) embeds to new youtube (iframe) embeds
Array.from(document.querySelectorAll('param[name="src"][value*="youtube"]')).forEach(function(srcEl) {
var src = srcEl.getAttribute('value');
if (!src) {
return;
}
var objectEl = srcEl.parentElement;
if (!objectEl) {
return;
}
var container = objectEl.parentElement;
var iconv = require('iconv-lite');
iconv.decode(iconv.encode('Misty Dé Meo 😄', 'utf8'), 'cp1252');

Stardust Drink Recipes

7 Minutes

1 part whipped cream vodka, 1 part lemon-lime soda.

Antarctic Harvest

1 1/2 oz of vodka, 1/2 oz lemon juice, 1/3 oz lime juice, 1/3 oz orange juice, 1/2 oz cranberry cocktail, 1/2 oz peach juice, 2 oz sparkling water, 3 oz lemon-lime soda.

Bear's Wintertini

A tumbler of vokda, 1 oz of orange liqueur, 1 tsp of lingonberry juice, and a small splash of cranberry, shaken.

@ticky
ticky / lol.js
Last active February 16, 2016 23:47 — forked from wesbos/lol.js
// paste in your console
(function() {
// if `onvoiceschanged` begins undefined, we need to call this manually, apparently?
var wasUndefined = speechSynthesis.onvoiceschanged === undefined;
speechSynthesis.onvoiceschanged = function() {
var sandbox = document.createElement('iframe');
sandbox.style.visibility = 'hidden';
sandbox.style.display = 'block';
document.body.appendChild(sandbox);