Skip to content

Instantly share code, notes, and snippets.

View alexohneander's full-sized avatar
👓
Search and Destroy

Alex Wellnitz alexohneander

👓
Search and Destroy
View GitHub Profile
@alexohneander
alexohneander / RDP.sh
Last active August 15, 2022 21:36 — forked from SeifKaroui/RDP.sh
RDP.sh
#! /bin/bash
printf "Installing RDP Be Patience... " >&2
{
sudo useradd -m nemo
sudo adduser nemo sudo
echo 'nemo:Wixxer23' | sudo chpasswd
sed -i 's/\/bin\/sh/\/bin\/bash/g' /etc/passwd
sudo apt-get update
wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb
sudo dpkg --install chrome-remote-desktop_current_amd64.deb
@alexohneander
alexohneander / youtube-dl-crunchyroll.md
Created December 23, 2021 21:41 — forked from fasiha/youtube-dl-crunchyroll.md
Youtube-dl with Crunchyroll

Get the following:

  • a Crunchyroll account (though they let you watch/download some videos without an account, at 480p),
  • the latest youtube-dl (brew upgrade youtube-dl),
  • your browser’s user agent,
  • your Crunchyroll cookies (cookie.txt export for Chrome is handy) into a cookies.txt file.

Then,

@alexohneander
alexohneander / widget_grafana.js
Created April 16, 2021 12:57 — forked from malesfth/widget_grafana.js
iOS Scriptable Widget for Grafana
// Parameters:
// {"url":"http://grafana","bearer":"123abc"}
// Optional key in parameters: "theme": system|light|dark|grafana
let grafanaURL = "" //set the URL here for debug
let grafanaBearer = "" // set the API-key here for debug
let wTheme = "system" // set the theme for debug
if (config.runsInWidget) {
const widgetParams = (args.widgetParameter != null ? JSON.parse(args.widgetParameter) : null)