Skip to content

Instantly share code, notes, and snippets.

@ELLIOTTCABLE
ELLIOTTCABLE / BrowserHereHelper.applescript
Last active January 25, 2023 00:14 — forked from georgebrock/Info.plist
AppleScript Applet to bypass 'When switching to an application, switch to a Space …' for your web-browser
use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
-- BrowserHereHelper.applescript:
-- v2, by <https://github.com/@ELLIOTTCABLE>
-- Instructions and current version:
-- <https://gist.github.com/ELLIOTTCABLE/b25c6fea41f74ab6e38c5ee8dc744411>
-- ---- ---- ---- --
@ELLIOTTCABLE
ELLIOTTCABLE / remove-sidebar.css
Created October 1, 2018 15:01 — forked from 0atman/remove-sidebar.css
slack.com remove left sidebar
/* hide the sidebar */
.client_channels_list_container {
display: none;
}
#team_menu {
display: none;
}
#col_channels_bg {
display: none;
}
@ELLIOTTCABLE
ELLIOTTCABLE / userContent.css
Created July 17, 2018 17:44
Best Tridactyl start page ever
@-moz-document regexp("moz-extension://.*/static/newtab.html") {
body {
display: none !important;
}
}
@ELLIOTTCABLE
ELLIOTTCABLE / Properly_align_LaTeX_images_to_baseline.py
Created September 15, 2017 17:38 — forked from parttimenerd/Properly_align_LaTeX_images_to_baseline.py
Add-on for Anki which properly align LaTeX images
# -*- coding: utf-8 -*-
# Properly align LaTeX images to baseline
#
# Improved by Johannes Bechberger
#
# Copyright (c) 2016, Artem Leshchev <matshch@gmail.com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
@ELLIOTTCABLE
ELLIOTTCABLE / .gitignore
Last active July 14, 2023 15:34 — forked from rosston/.gitignore
BASH Script to keep Route53 updated with your current external IP address
*.ip
*.log
// index.js
module.exports = require('./Library/app');
// Source/app.js.es6
import from 'foo';
import from 'bar';
// Source/foo.js.es6
console.log('simple');
@ELLIOTTCABLE
ELLIOTTCABLE / aaa-run-it.sh
Last active October 29, 2015 04:40 — forked from steventroughtonsmith/gist:6788b6c340a0aa52345a
Run OS X Screen Saver as Wallpaper
launchctl load ~/Library/LaunchAgents/com.highcaffeinecontent.wallpaper.plist
# The Rulebook, or Paws-language spec-suite, is written as a series of files like the following.
# Each file is a YAML file encoding a set of tests. This file can be consumed as-is (if you have a
# YAML parser handy), compiled into a single Paws-source-code test file (see below), or into
# a directory of individual plain Paws files for each test.
#
# (Eventually / ideally, an automated test-runner provided with the Rulebook will take your
# implementation's binary, compile these tests to individual files, and then verify that your
# implementation-in-progress succeeds on each test, individually.)
Combinations against infrastructure:
Paws.js output
[devyn] Paws.rs - ~/Projects/ELLIOTTCABLE/Paws.js/Executables/paws.js test-branch.paws
Hello, world
Hello, world
Hello, world
Hello, world
~ Paws loves you. Bye! 💖
Paws.rs output
@ELLIOTTCABLE
ELLIOTTCABLE / POST.sh
Last active December 17, 2015 16:39 — forked from metajack/irc.json
#!/bin/bash
OTP=$1
owner=$2
repo=$3
user=CHANGEME
curl -H "X-GitHub-OTP: $OTP" -i -u $user -X POST https://api.github.com/repos/$owner/$repo/hooks --data @irc.json