- Open Chrome Developer tools and click the Network tab.
- Navigate to the page with the video and get it to start playing.
- Filter the list of files to "m3u8".
- Find master.m3u8 or index.m3u8 and click on it.
- Save the file to disk and look inside it.
- If the file contains a single m3u8 master url, copy that one instead.
- Run the program m3u8x.
- 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.
<template> | |
<input type="text" :value="address" @input="$emit('update:address', $event.target.value)"> | |
<input type="text" :value="city" @input="$emit('update:city', $event.target.value)"> | |
<input type="text" :value="region" @input="$emit('update:region', $event.target.value)"> | |
<input type="text" :value="country" @input="$emit('update:country', $event.target.value)"> | |
<input type="text" :value="postal" @input="$emit('update:postal', $event.target.value)"> | |
</template> | |
<script setup> | |
import { defineProps } from 'vue' |
Grid of regular hexagons using CSS with a hover effect to show text. This grid is responsive.
You can find more info about this responsive grid of hexagons here : http://stackoverflow.com/questions/26114920/responsive-grid-of-hexagons/26116497#26116497
Forked from web-tiki's Pen CSS responsive grid of hexagons.
Forked from web-tiki's Pen CSS responsive grid of hexagons.
To add an entry in the Windows Explorer context menu to open Cmder
in a specific directory, paste this into a OpenCmderHere.reg
file
and double-click to install it.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
@="Open Cmder Here"
"Icon"="\"%CMDER_ROOT%\\icons\\cmder.ico\",0"
Moved to git repository: https://github.com/denji/nginx-tuning
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon
with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done |
<?php | |
/** | |
* Translates a camel case string into a string with | |
* underscores (e.g. firstName -> first_name) | |
* | |
* @param string $str String in camel case format | |
* @return string $str Translated into underscore format | |
*/ | |
function from_camel_case($str) { | |
$str[0] = strtolower($str[0]); |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |