Skip to content

Instantly share code, notes, and snippets.

Avatar

Jacob Michelsen Jickelsen

View GitHub Profile
View sd_video_ids_diff.json
[
"-LOXGTXUrwk",
"-NFMchVBokU",
"-zJXwPMwOXY",
"00mLin2YU54",
"01n8imWdT6g",
"02VD6G-JD4w",
"03L56CE7QWc",
"04TLq1cKeTI",
"06NK_4HJjhc",
View batchdownload.sh
#!/bin/bash
jq -cr '.[]' $1 | while read i; do
echo $i
python downloader.py --youtubeid $i --output out/$i.json
#python downloader.py --youtubeid=$i --output out/$i.json
done
@Jickelsen
Jickelsen / relaxin-22-08-2019.txt
Created Jul 17, 2020
Video list Relaxin' with SD August 22 2019
View relaxin-22-08-2019.txt
001 - Best VGM 480 - Star Ocean 3 - Till the End of Time - Rust Color.mkv
002 - Best VGM 509 - Unreal Tournament 2003 & 2004 - Tokara Forest (Level 8).mkv
003 - Best VGM 908 - Wild Arms 5 - The Street Corner at Sunset.mkv
004 - Best VGM 601 - Ecco the Dolphin - Defender of the Future - Dolphin's Intrigue.webm
005 - Best VGM 25 - Wild Arms 3 - A Person's Warmth (Quiet Town).mkv
006 - Best VGM 901 - Ragnarok Online II - Swamper.mkv
007 - Best VGM 136 - Legaia 2 - Lost Forest.mkv
008 - Best VGM 909 - Rollercoaster Tycoon 3 - Summer Air.mkv
009 - Best VGM 1092 - Shadow Hearts - Coffee with Bullet.mkv
010 - Best VGM 960 - Xenosaga II - Old Miltia (Submerged City).mkv
View remote-administration.sh
#!/bin/bash
if [ $1 = "connect" ]; then
#turn off WiFi
/sbin/ifconfig wlan0 down
sleep 5
#connect 4g
nmcli device connect cdc-wdm0
View Elsys OTAA for Chirpstack
/*
______ _ _______ _______
| ____| | / ____\ \ / / ____|
| |__ | | | (___ \ \_/ / (___
| __| | | \___ \ \ / \___ \
| |____| |____ ____) | | | ____) |
|______|______|_____/ |_| |_____/
ELSYS simple payload decoder.
Use it as it is or remove the bugs :)
View newboxstarter.ps1
######## Jickel's devboxstarter script ########
Update-ExecutionPolicy Unrestricted
###############################
#### Windows Configuration ####
###############################
# Configure Windows (Boxstarter.WinConfig cmdlets)
Set-WindowsExplorerOptions `
View dashboard-admin.yml
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: kubernetes-dashboard
labels:
k8s-app: kubernetes-dashboard
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
@Jickelsen
Jickelsen / function.yml
Created Mar 31, 2018
Markdown function
View function.yml
apiVersion: v1
kind: Service
metadata:
name: markdownrender
labels:
app: markdownrender
spec:
type: NodePort
ports:
- port: 8080
View boxstarter.ps1
######## Jickel's devboxstarter script ########
###############
#### notes ####
###############
# Test-Admin is not available yet, so use...
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) {
Start-Process powershell -ArgumentList "-noprofile -NoExit -file `"$PSCommandPath`"" -Verb RunAs
Exit
@Jickelsen
Jickelsen / forgejs-editor-schema.json
Last active Oct 18, 2017
ForgeJS schema for jdorn/json-editor. Try it at http://jeremydorn.com/json-editor/ Fields marked with a leading X will requires third party ForgeJS plugins that may not yet be available.
View forgejs-editor-schema.json
{
"type": "object",
"properties": {
"camera": {
"type": "object",
"properties": {
"fov": {
"type": "object",
"properties": {
"default": {
You can’t perform that action at this time.