echo "Enter m3u8 link:";read link;echo "Enter output filename:";read filename;ffmpeg -i "$link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 $filename.mp4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
AfterContentInit, | |
ChangeDetectorRef, | |
ContentChildren, | |
Directive, | |
Input, | |
OnDestroy, | |
OnInit, | |
QueryList, | |
Renderer2, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package me.duncte123.fuck; | |
import java.lang.reflect.Constructor; | |
import java.lang.reflect.Field; | |
import sun.misc.Unsafe; | |
public class Main { | |
private static Integer integer; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TwitchIngest.swift | |
// | |
// | |
// Created by Ahmed Bekhit on 5/12/18. | |
// Copyright © 2018 Ahmed Bekhit. All rights reserved. | |
// | |
// MARK:- Source: https://stream.twitch.tv/ingests/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://www.npmjs.com/package/ky | |
const ky = require('ky'); | |
const fs = require('fs'); | |
const MARATHON_ID = ''; | |
// can be found in devtools (f12) -> application -> localstorage -> oengus.io -> token | |
const TOKEN = ''; | |
async function downloadSchedule() { | |
const json = await ky.get(`https://oengus.io/api/marathons/${MARATHON_ID}/schedule`, { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Strain and loaf | |
Shot acrost better than catches the most amount of tread | |
Knock once the salt | |
No man is what you get | |
The pot calling thee croses | |
Gutsied of nead | |
Abses make love not work is like a drink with a brame | |
Life is like a box of chocolates, sometimes hard to find, have an elephant at this mouths have big ears | |
Kick your own cannot stand | |
Prime to pleasure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Laravel queue worker using systemd | |
# ---------------------------------- | |
# | |
# /lib/systemd/system/queue.service | |
# | |
# run this command to enable service: | |
# systemctl enable queue.service | |
[Unit] | |
Description=Laravel queue worker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gnu.trove.map.TCharDoubleMap; | |
import gnu.trove.map.hash.TCharDoubleHashMap; | |
import java.io.Serializable; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.regex.Pattern; | |
public class MarkovChain implements Serializable { | |
private static final long serialVersionUID = 986958034001823764L; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sandbox; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Modifier; | |
public class MainSandBox { | |
public static void main(String[] args) throws Exception { | |
Example ex = new Example(); | |
// Change private modifier to public | |
Field f = ex.getClass().getDeclaredField("id"); |
NewerOlder