Skip to content

Instantly share code, notes, and snippets.

@isc30
isc30 / steps.md
Last active November 9, 2024 21:49
Proxmox v7.4/v8 - Ryzen 7 7735HS - AMD Radeon 680M GPU passthrough
@wjy20030407
wjy20030407 / SER6 Pro Vest 7735HS.md
Last active May 9, 2024 11:44
SER6 Pro Vest 7735HS
@daxxog
daxxog / vboxslitaz
Last active April 22, 2022 05:33
set up Virtualbox Guest Additions on slitaz
#!/bin/sh
# - set up Virtualbox Guest Additions on slitaz
# - make sure Guest Additions CD is inserted and mounted!
# - WARNING!! WILL REBOOT SYSTEM WHEN FINISHED!!
# wget -O - http://tinyurl.com/vboxslitaz | sh
# Download the script body
cd /tmp
wget --no-cache https://gist.githubusercontent.com/daxxog/b1a4780694e2cf9751f1c90ec6f58299/raw/.vboxslitaz-sh
@primaryobjects
primaryobjects / m3u8.md
Last active April 27, 2025 15:00
How to download m3u8 and ts video movie streams.

m3u8 Downloading

  1. Open Chrome Developer tools and click the Network tab.
  2. Navigate to the page with the video and get it to start playing.
  3. Filter the list of files to "m3u8".
  4. Find master.m3u8 or index.m3u8 and click on it.
  5. Save the file to disk and look inside it.
  6. If the file contains a single m3u8 master url, copy that one instead.
  7. Run the program m3u8x.
  8. Paste the same m3u8 url in both textboxes (URL and Quality URL) and click "Headers" and set the referral url and user-agent from the request as found in Chrome.
@timothyis
timothyis / gulpfile.babel.js
Last active August 21, 2024 00:29
Gulp 4, ES6 gulpfile example
// Gulp module imports
import {src, dest, watch, parallel, series} from 'gulp';
import del from 'del';
import livereload from 'gulp-livereload';
import sass from 'gulp-sass';
import minifycss from 'gulp-minify-css';
import jade from 'gulp-jade';
import gulpif from 'gulp-if';
import babel from 'gulp-babel';
import yargs from 'yargs';
@ducin
ducin / console-load-js-script.js
Last active February 18, 2021 06:14
load js script from blank page browser (execute following code in the browser console)
(function(root){
root.getScript = function(url) {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = url;
document.head.appendChild(script);
}
}(window));
getScript('http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.js');