Skip to content

Instantly share code, notes, and snippets.

@bjrne
bjrne / download_opencast_uni_halle.md
Created April 29, 2020 11:31
Javascript Bookmarklet for downloading lecture videos without hassle from the uni halle opencast server

Opencast Videos herunterladen

Diese Anleitung funktioniert für alle opencast-Installationen, die so konfiguriert sind, wie die Instanz der MLU Halle. Falls deine Universität einen anderen Player einsetzt, schau doch mal hier vorbei.

Setup

  1. Erstelle ein neues Lesezeichen von einer beliebigen Website. Welche genau ist egal, der Link wird später sowieso getauscht. Wichtig ist nur, dass du später komfortabel an das Lesezeichen rankommst, also leg es zum Beispiel in die Lesezeichenleiste. Shortcut: Strg + D. Als Namen kannst du z.B. "VL runterladen" ö.ä wählen.
  2. Bearbeite das Lesezeichen. Wie genau, hängt von deinem Browser ab. In Firefox machst du einen Rechtsklick auf das Lesezeichen, dann Eigenschaften oder Properties. In Chrome wählst du Bearbeiten oder Edit. Füge nun den Code statt der Adresse ein, je nach Browser unter Adresse, URL oder Location. Der Code ist die folgende Zeile:

`javascript:(

@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active May 6, 2024 10:50
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@geedew
geedew / unlink.sh
Created March 14, 2018 11:44
Removing a cross-platform symlink.
@geedew
geedew / symlink.sh
Last active November 21, 2022 10:00
A cross platform symlink method in Bash
@gene1wood
gene1wood / google-drive-symlink.md
Created September 19, 2017 19:36
Google Drive symlink
@kmpm
kmpm / adding-pixel-to-raspbian-lite.md
Last active March 23, 2024 19:31
Adding PIXEL to Raspbian Lite

Adding PIXEL/GUI to Raspbian Lite

These 'notes' were primarily intended for my own consumption but since there have been surprisingly many comments to it over the years I wanted to do some updates and clarifications. Thanks for all comments.

These instructions will require you to have connection to internet from your pi, WiFi, Ethernet or by some other means like a 3G USB dongle or something.

Preparations

@jayluxferro
jayluxferro / Kali_Desktop_Environments_Installation_and_Removal.md
Last active May 3, 2024 00:39
Kali Desktop Environments Installation and Removal

XFCE Desktop


How to install XFCE Desktop Environment in Kali Linux:

Command:

apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies

How to remove XFCE in Kali Linux:

Command:

@Ashwinning
Ashwinning / how-to-disable-microsoft-virtual-wifi-network.md
Created July 15, 2016 07:14
How to disable wifi microsoft virtual wifi adapter.

How to disable Microsoft WiFi Direct Virtual Adapter


**I think ** this is how it worked

As Admin

netsh wlan stop hostednetwork
//Now with less jquery
//1) go to your my-list page, and scroll to the bottom to make sure it's all loaded:
//http://www.netflix.com/browse/my-list
//2) Next, paste this in your developer tools console and hit enter:
[...document.querySelectorAll('.slider [aria-label]')].map(ele => ele.getAttribute('aria-label'))
//or use this to copy the list to your clipboard:
copy([...document.querySelectorAll('.slider [aria-label]')].map(ele => ele.getAttribute('aria-label')))
@thomxc
thomxc / InsertDate.gs
Created April 2, 2014 08:17
Google Docs Script Macro: Insert Date
/**
* The onOpen function runs automatically when the Google Docs document is
* opened. Use it to add custom menus to Google Docs that allow the user to run
* custom scripts. For more information, please consult the following two
* resources.
*
* Extending Google Docs developer guide:
* https://developers.google.com/apps-script/guides/docs
*
* Document service reference documentation: