Direct copy of pre-encoded file:
$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8
@import 'https://fonts.googleapis.com/css?family=Open+Sans'; | |
* { | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
body { | |
font-family: 'Open Sans', sans-serif; | |
line-height: 1.75em; |
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: JDownloader2 | |
# Required-Start: networking | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: JDownloader2 server daemon | |
# Description: JDownloader2 server daemon | |
### END INIT INFO |
Direct copy of pre-encoded file:
$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8
// http://stackoverflow.com/a/10796951 | |
(function(XHR) { | |
"use strict"; | |
var element = document.createElement('div'); | |
element.id = "interceptedResponse"; | |
element.appendChild(document.createTextNode("")); | |
document.body.appendChild(element); | |
var open = XHR.prototype.open; |
const puppeteer = require('puppeteer'); | |
const cheerio = require('cheerio'); | |
async function run() { | |
const browser = await puppeteer.launch(); | |
const page = await browser.newPage(); | |
await page.goto('https://news.ycombinator.com'); | |
let content = await page.content(); | |
var $ = cheerio.load(content); |
or might be easy with gdisk/fdisk ? I'm not sure about this.
------------------------------------------------------------------------
see the reference for more detail, if you want.
https://richardstechnotes.wordpress.com/2015/12/18/setting-up-an-nvme-ssd-on-ubuntu-14-04-lts/
http://takatakamanbou.hatenablog.com/entry/2015/10/25/235600 : Japanese website
I’m looking for any tips or tricks for making chrome headless mode less detectable. Here is what I’ve done so far:
Set my args as follows:
const run = (async () => {
const args = [
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-infobars',
<!DOCTYPE html> | |
<head> | |
<script> | |
var recordedChunks = []; | |
var constraints = { | |
audio: true, | |
video: true | |
}; | |
var mediaRecorder = null; |
<?php | |
/* | |
Hi! | |
So this gist is not a very good implementation, it works great in chrome but the seeking is sort of glitched in firefox. | |
But it does the job and I hope it can help out! | |
(Please let me know how to improve this) | |
*/ | |
ini_set('max_execution_time', 0); | |
$url = "http://mirrors.standaloneinstaller.com/video-sample/jellyfish-25-mbps-hd-hevc.m4v"; //just some sample url, please dont overload their servers |
const mouseEventOf = (eventType) => (element, x, y) => { | |
const rect = element.getBoundingClientRect() | |
const event = new MouseEvent(eventType, { | |
view: window, | |
bubbles: true, | |
cancelable: true, | |
clientX: rect.left + x, | |
clientY: rect.top + y, | |
}) |