Skip to content

Instantly share code, notes, and snippets.

View pjeby's full-sized avatar

PJ Eby pjeby

View GitHub Profile
@ZigZagT
ZigZagT / Plex Playback Speed.user.js
Last active April 26, 2024 06:15
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 April 18, 2024 06:27
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