Skip to content

Instantly share code, notes, and snippets.

@alienresident
alienresident / video-fix-videos-for-pseudo-streaming.md
Last active April 20, 2024 05:02
How to: Fix pseudo-streaming videos by moving Moov Atom
How to:

Fix pseudo-streaming videos by moving Moov Atom

Relies on some *nix CLI utilities: mediainfo; and qt-faststart (part of ffmpeg). I used homebrew to install them on OS X.

What is pseudo-streaming?

Pseudo streaming is simply a video that can start playing before it's fully dowmloaded. The videos are not streaming but rather progressively downloaded. What's important is that the file metadata (the Moov Atom) is at the start of the file rather than at the end. Usually this is an option set when encoding the file (called quick start or web start). If the files have not been encoded this way you can either re-encode or use a utility to move the Moov Atom. Re-encoding takes much longer than using a utility to move the Moov Atom so here's how to do it.

Steps

First check with mediainfo to see if video 'is streamable':

@tanaikech
tanaikech / submit.md
Created August 17, 2023 05:45
Cooking PDF over Google Apps Script

Cooking PDF over Google Apps Script

Abstract

When PDF file can be managed with Google Apps Script, that will lead to the automation process on cloud. In this report, the method for cooking PDF over Google Apps Script.

Introduction

@saeziae
saeziae / custom.css
Created April 19, 2024 15:23
Visuwual Stuwudio Cowode
.editor-group-watermark > .letterpress{
background-image: url(https://raw.githubusercontent.com/Aikoyori/ProgrammingVTuberLogos/main/VSCode/VSCode-Thick.png) !important;
opacity: .75;
}
@Akianonymus
Akianonymus / create_multiple_profiles.md
Last active April 20, 2024 05:00
Create multiple profiles for ISLAND app

Setup multiple island spaces

Note: Must have an work profile already setup, So that we can modify fw.sys.max_profiles to allow more work profiles

su # to gain root access
resetprop ro.debuggable 1 
am restart

@pksunkara
pksunkara / config
Last active April 20, 2024 04:50
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
username = pksunkara
[init]
defaultBranch = master
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta

Cover Letters - Initial Effective Communication

It’s imperative that you communicate why you are the right person for the job. Employers have a problem. They need an engineer or data scientist on their team, and you can be that person! They’ll never get the chance to meet you unless you introduce yourself. Be sure to make a strong first impression by following the guidelines in this ReadMe.

Follow the First Rule of Job Search

“Never say or write anything unless it positively supports your position as an applicant.”+

  • Communicate why you are the right person for the job
  • Don’t undermine yourself
  • Failing to send a cover letter
  • Not showing enough interest in the company
@ometa
ometa / plex.nginx.conf
Last active April 20, 2024 04:47
NGINX reverse proxy in front of Plex media server v1.3.3.3148
# This example assumes the NGINX proxy is on the same host as the Plex Media Server.
# To configure Plex Media Server to serve requests without requiring authentication,
# ensure that your LAN subnet is correctly added to the advanced server setting called
# "List of IP addresses and networks that are allowed without auth". Example:
# 192.168.0.1/24
upstream plex-upstream {
server 127.0.0.1:32400;
}
@jhaddix
jhaddix / all.txt
Last active April 20, 2024 04:45
all wordlists from every dns enumeration tool... ever. Please excuse the lewd entries =/
This file has been truncated, but you can view the full file.
.
..
........
@
*
*.*
*.*.*
🐎
@matthewpi
matthewpi / README.md
Last active April 20, 2024 04:36
Nix on Fedora

NixOS on Fedora

Please note that these instructions are not offically supported or condoned by Nix and are not guaranteed to always work, but from my testing everything seems to work perfectly fine.

These steps may not be required if NixOS/nix#2374 is resolved.

SELinux

These commands are required for both Fedora Workstation and Fedora Silverblue

// Stadtreinigung Hamburg Abfuhrkalender
// von Markus Fritze, loxone@sarnau.com
// Version: 30.07.2018
//
// Ausgänge:
// TQ1: Welche Tonnen werden am nächsten Termin abgeholt
// TQ2: Volltext "In xyz Tagen: tonne1, tonne2, ..."
// AQ1: In wieviel Tagen wird TQ1 (siehe oben) abgeholt (0 = Heute)
// Die folgenden Eingänge geben an in wieviel Tagen die jeweilige Müllsorte
// abgeholt wird. Achtung: regelmäßig wird mehr als eine Sorte am Tag abgeholt!