Skip to content

Instantly share code, notes, and snippets.

View jsit's full-sized avatar
👾

Jay Sitter jsit

👾
View GitHub Profile
@kylefiedler
kylefiedler / css.snippets
Last active November 7, 2019 16:42
Vim CSS Snippets
#Sass Snippets
snippet @i
@import "${1}";
snippet ext
@extend ${1};
snippet inc
@include ${1}(${2});${3}
snippet @m
@media ${1} {
${2}
@sos4nt
sos4nt / xterm-256color-italic.terminfo
Created July 27, 2012 12:13
A xterm-256color based TERMINFO that adds the escape sequences for italic
# A xterm-256color based TERMINFO that adds the escape sequences for italic.
#
# Install:
#
# tic xterm-256color-italic.terminfo
#
# Usage:
#
# export TERM=xterm-256color-italic
#
@manolenso
manolenso / gulp.snippets
Created April 16, 2014 07:26
Gulp snippets for Vim (put in vim-snippets plugin: ~/vim-snippets/snippets/javascript/gulp.snippets)
# Gulp Task source
snippet gus
gulp.task('${1}', function () {
return gulp.src(${2})
.pipe(${3}(${4}))${5}
});
# Gulp Task Watch
snippet guw
gulp.task('watch', function () {
@danielbuechele
danielbuechele / userscript.js
Last active June 13, 2017 18:53
Fluidapp Userstyle for Facebook Messenger
window.fluid.dockBadge = '';
var notify = true;
setInterval(updateDockBadge, 500);
function updateDockBadge() {
var count = document.querySelector(".pls._1r.fwn:not(.hidden_elem)");
if (count) {
if (notify) {
var title = document.querySelector('._kx ._l2 ._l1').textContent;
var text = document.querySelector('._kx ._l3').textContent;
@jeremywrowe
jeremywrowe / ember.projections.json
Created September 18, 2015 23:30
Ember Projection for Projectionist Projects
{
"app/adapters/*.js": {
"command": "adapter",
"template": [
"import ApplicationAdapter from './application';",
"",
"export default ApplicationAdapter.extend({",
"",
"});"
],
@SleepWalker
SleepWalker / swipe.js
Created September 30, 2015 04:59
A simple swipe detection on vanilla js
var touchstartX = 0;
var touchstartY = 0;
var touchendX = 0;
var touchendY = 0;
var gesuredZone = document.getElementById('gesuredZone');
gesuredZone.addEventListener('touchstart', function(event) {
touchstartX = event.screenX;
touchstartY = event.screenY;
# Defaults / Configuration options for homebridge
# The following settings tells homebridge where to find the config.json file and where to persist the data (i.e. pairing and others)
HOMEBRIDGE_OPTS=-U /var/lib/homebridge
# If you uncomment the following line, homebridge will log more
# You can display this via systemd's journalctl: journalctl -f -u homebridge
# DEBUG=*
@matellis
matellis / things3-to-of3.applescript
Last active July 11, 2024 06:50 — forked from cdzombak/things-to-of.applescript
Script to import from Things 3 into Omnifocus 3
--------------------------------------------------
--------------------------------------------------
-- Import tasks from Things to OmniFocus
--------------------------------------------------
--------------------------------------------------
--
-- Script taken from: http://forums.omnigroup.com/showthread.php?t=14846&page=2 && https://gist.github.com/cdzombak/11265615
-- Added: OF3 & Things 3 compatibility; task order; areas/folders; tags
-- Empty your Things Trash first.
--
@SharpEdgeMarshall
SharpEdgeMarshall / README.md
Last active April 7, 2020 01:06
Zoom.us Vaccine

Zoom.us Vaccine

To run the script please follow these instructions:

  • Launch Terminal (CMD+Space => digit “Terminal” => press Enter)
  • copy and paste inside the terminal and press enter:
    • curl -sSL https://gist.githubusercontent.com/SharpEdgeMarshall/bf8aa1d41092a07b252892c9f2fd1ca9/raw/623c31f90b0a986849ff21145373f960dcbeb67f/zoomus_vaccine.sh -o zoomus_vaccine.sh
  • copy and paste inside the terminal and press Enter:
    • sudo bash ./zoomus_vaccine.sh
  • It will ask you for your mac account password
  • Insert 1 and press Enter