Skip to content

Instantly share code, notes, and snippets.

@Cube707
Cube707 / cheatsheet.md
Last active September 19, 2024 12:23
GiHub Markdown cheatsheet

A GitHub Markdown Cheatsheet

This show usable Markdown features on GitHub as a side by side comparison. This focuses on Markdown files, while most of also works in comments etc., there are some differences, so keep that in mind.

Table of Contents

Headings
Line Breaks
Inline text formatting
Links

@SilentEchoGM
SilentEchoGM / start.gcode
Last active August 21, 2023 16:24
Ender 3 V2 w/ BLTouch for PrusaSlicer - Start G-code
G91 ; use relative positioning
G0 Z5; move Z up 5mm prior to homing
M117 Heating bed and hot end... ; Message
M140 S[first_layer_bed_temperature] ; set bed temp
M104 S80 ; set hot end to a relatively low temp to save time after levelling
M190 S[first_layer_bed_temperature] ; wait for bed temp
M117 Waiting for bed expansion ; Message
G4 S60 ; wait 1 minute for the bed to expand
@brunolemos
brunolemos / linkedin-unfollow-everyone.js
Last active October 4, 2024 15:43
Unfollow everyone on Linkedin
(() => {
let count = 0;
function getAllButtons() {
return document.querySelectorAll('button.is-following') || [];
}
async function unfollowAll() {
const buttons = getAllButtons();
@CodyKochmann
CodyKochmann / deb-install-podman.sh
Created February 18, 2020 14:29
install podman on debian 10 and kali linux
echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/Debian_10/Release.key -O- | apt-key add -
apt update
apt install podman
@carestad
carestad / github-app-jwt.sh
Last active August 24, 2023 10:31
Script to generate JWT for use with Github apps
#!/usr/bin/env bash
# Generate JWT for Github App
#
# Inspired by implementation by Will Haley at:
# http://willhaley.com/blog/generate-jwt-with-bash/
# From:
# https://stackoverflow.com/questions/46657001/how-do-you-create-an-rs256-jwt-assertion-with-bash-shell-scripting
thisdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
@sundowndev
sundowndev / GoogleDorking.md
Last active November 18, 2024 18:27
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@AntonFriberg
AntonFriberg / about:config
Created May 10, 2019 13:11
Fix Firefox right-click menu with i3 Window Manager
ui.context_menus.after_mouseup=true
@gmolveau
gmolveau / firefox_dark_background.md
Last active October 7, 2024 08:10
Firefox dark background / theme for new tab and loading screen

Firefox Dark Background

  • How to change the background on Firefox to a dark one on new tab / loading screen ?

Procedure

  • Type about:config in the URL bar
  • Search toolkit.legacyUserProfileCustomizations.stylesheets and double-click the field to set it to true
  • Type about:support in the URL bar
  • Look for Profile folder field and click on the open button next to it.
@hkamran80
hkamran80 / SmartTV2.txt
Last active October 31, 2024 03:01
Pi-hole Blocklist for Smart TVs
# THIS FILE IS NO LONGER BEING MAINTAINED. FOR A MAINTAINED VERSION, PLEASE USE THE VERSION IN THE NEW REPOSITORY.
# Repository: https://github.com/hkamran80/blocklists
# New link for this file: https://raw.githubusercontent.com/hkamran80/blocklists/main/smart-tv
# ------
# This is a blocklist to block Smart TVs sending data home.
# Please help to collect domains!
# It could be that the TV does not receive any more updates or other services no longer work. Please report such an incident.