Skip to content

Instantly share code, notes, and snippets.

View bovine3dom's full-sized avatar

Oliver Blanthorn bovine3dom

View GitHub Profile
@mrknmc
mrknmc / shopping.sh
Last active June 1, 2023 02:30
ASDA Groceries parsing
#!/usr/bin/env bash
### This only works assuming that you have all the necessary cookies in ./cookies.txt.
### I use this plugin: https://chrome.google.com/webstore/detail/cookiestxt/njabckikapfpffapmjgojcnbfjonfjfg
### Execute as follows: ./shopping.sh ./cookies.txt output.csv
# get last order id
order_id=$(curl -s -b $1 'https://groceries.asda.com/api/order/view?showmultisave=true&showrefund=true&pagenum=1&pagesize=25&requestorigin=gi' | jq -r '.orders | .[0] | .orderId')
# get url for last order

How to use ssh in Android's Kodi app

If you have your Android device with Kodi installed on it, you might want to add remote folder using ssh/sftp protocol.
Since it's a bad security practice setup a ssh access allowing to log in using a password instead of the ssh key, the setup should be done by using such file.

If you ever done this before in an OS as GNU/Linux or MacOS you'll be already familiar with the process and concepts as ssh, public/private keys, etc. If that's not your case, I recommend you to check the previous link.

@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active July 28, 2024 00:48
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@jens1o
jens1o / exploiting-tridactyl.md
Last active April 2, 2021 13:37
Get calc.exe with and by Tridactyl - Vulnerability analysis

Watch a video Get calc.exe with and by Tridactyl

The extension Tridactyl

Tridactyl provides a different kind of way how you can browse the web. It's keyboard-bound and kind of related to vim (you can scroll, go to start/end of the page, zoom, search in page with keyboard shortcuts).

A GIF showing some basic functionality of Tridactyl, browsing with keyboard shortcuts, navigating the web.

(Source: https://github.com/tridactyl/tridactyl/blob/37ad6cf4ccadd111e440fca1cb85ce48e8f90693/doc/AMO_screenshots/trishowcase.gif, licensed under the Apache License, Author: Oliver Blanthorn)

It has a command line interface at the bottom of the webpage (as seen in the GIF). You can try it out yourself here: [https://github.com/tridactyl/tridactyl/#installing](

@quisquama
quisquama / a.md
Last active November 30, 2022 22:45

Turns the mode indicator into a little colored triangle in the corner of the page.

tridactyl-mode-indicator