Skip to content

Instantly share code, notes, and snippets.

View pjeby's full-sized avatar

PJ Eby pjeby

  • Dirt Simple, Inc.
  • South Florida
View GitHub Profile
@ZigZagT
ZigZagT / Plex Playback Speed.user.js
Last active July 6, 2024 01:03
Plex Web Player Playback Speed Control and Keyboard Shortcuts
// ==UserScript==
// @name Plex Playback Speed
// @namespace https://github.com/ZigZagT
// @version 1.3.1
// @downloadURL https://gist.githubusercontent.com/ZigZagT/b992bda82b5f7a2c9d214110273d3f3c/raw/Plex%2520Playback%2520Speed.user.js
// @updateURL https://gist.githubusercontent.com/ZigZagT/b992bda82b5f7a2c9d214110273d3f3c/raw/Plex%2520Playback%2520Speed.user.js
// @description Add playback speed controls to plex web player with keyboard shortcuts
// @author ZigZagT
// @include /^https?://[^/]*plex[^/]*/
// @include /^https?://[^/]*:32400/
@raveenb
raveenb / ssh_into_android.md
Last active November 9, 2024 11:48
SSH into Android

Connecting to an Android device over SSH

Initial Setup

Install Android App Termux from APKPure or AppStore. If the app exists, just delete and re-install it to get the latest version, The APK can be downloaded from https://apkpure.com/termux/com.termux/ Install the APK using by running

adb install ~/Downloads/Termux_v0.73_apkpure.com.apk
@orumad
orumad / how-to-setup-laravel-53-vue-js-semantic-ui-project.md
Last active May 1, 2022 16:14
How to setup Laravel 5.3 + Vue.js + Semantic UI project

How to setup Laravel 5.3 + Vue.js + Semantic UI project

Create a new Laravel project with composer:

$ composer create-project Laravel/Laravel myproject

Create the database for the project:

$ mysql -uroot
@gmazzap
gmazzap / www-post-thumb.php
Last active January 28, 2023 03:57
WordPress plugin that allow to use an external image url as featured image.
<?php namespace GM\WWWPostThumbnail;
/**
* Plugin Name: WWW Post Thumbnail
* Description: Allow to use an external image url as featured image.
* Plugin URI: https://gist.github.com/Giuseppe-Mazzapica/928bc22e5f49a654cf7c
* Author: Giuseppe Mazzapica
* Author URI: https://github.com/Giuseppe-Mazzapica
* License: MIT
* Version: 0.1.0
*
@raimohanska
raimohanska / Bacon.fromNodeStream.coffee
Last active January 6, 2024 04:19
Bacon.fromNodeStream
fs = require("fs")
Bacon = require("baconjs")
# Bacon.fromNodeStream converts Node.js ReadableStream into an EventStream
Bacon.fromNodeStream = (stream) ->
Bacon.fromBinder (sink) ->
listeners = {}
addListener = (event, listener) ->
listeners[event] = listener
stream.on event, listener