Skip to content

Instantly share code, notes, and snippets.

View Zenedith's full-sized avatar

Zenedith Zenedith

View GitHub Profile
@Al-Azif
Al-Azif / pi-exploit-host.conf
Last active March 1, 2025 20:26
Config file for exploit host on Pi-hole
# 0. Use `crtl+h` and replace `{{HOST}}` with the IP address of a server you
# control and want to direct the traffic to. Or Just use `0.0.0.0` to block it.
#
# 1. Log into your Pi-hole device and move this file into the `/etc/dnsmasq.d/`
# directory. Feel free to rename it.
#
# 2. Run the command `pihole restartdns`
# Redirects Nintendo Landing Page Domains
address=/ctest.cdn.nintendo.net/{{HOST}}
@HatchiFr
HatchiFr / BlockPS4Updates
Last active February 12, 2024 19:53 — forked from aqualad/BlockPS4Updates
pi hole adlist to block ps4 updates
# Exploited PS4 Blocklist (https://gbatemp.net/threads/aio-ps4-exploit-guide.497858/)
#[community.playstation.net]
asm.np.community.playstation.net
ps4.updptl.np.community.playstation.net
ps4.updptl.sp-int.community.playstation.net
ps4updptl.eu.np.community.playstation.net
ps4updptl.jp.np.community.playstation.net
ps4updptl.jp.sp-int.community.playstation.net
ps4updptl.uk.np.community.playstation.net
@ChipCE
ChipCE / readme.md
Last active March 28, 2025 18:09
Klipper bed mesh on print area only macro install guide

READ THIS FIRST

Adaptive bed mesh is merged into klipper master branch. You can use this feature without this custom macro. Official klipper adaptive bed mesh

Klipper mesh on print area only install guide

What this macro do

  • This macro will dynamically changing the bed mesh area based on the size of the parts will be printed. The fw will only probe on the area that the part will be printed (plus mesh_area_offset value)
@eunsukimme
eunsukimme / Dockerfile.app
Last active March 4, 2025 13:08
Configuration Files for Logging System wigh Docker-elk, Filebeat and Node.js
FROM node:12
WORKDIR /app
COPY ./package*.json ./
RUN npm install
ENV PORT=4000
COPY . .
CMD ["npm","run","start"]
@tomohulk
tomohulk / printer.cfg
Created June 20, 2019 00:55
printer.cfg for Ender3 and the Klipper firmware.
# 2018 Creality Ender 3
# AVR atmega1284p
# Flash Command(s)
# * avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
# * make flash
# ================================================================================
# Stepper Definitions
# ================================================================================
# ================================================================================
[stepper_x]
@nobodypb
nobodypb / move_syno_pkgs.sh
Created February 8, 2017 22:59
Script for moving packages on a synology disk station from one volume to another - EXPERIMENTAL!
#!/bin/bash
SOURCE=/volume1
DEST=/volume2
APPDIR=\@appstore
ASK=true
while getopts ":y" opt; do
case $opt in
@Hengjie
Hengjie / tutorial.md
Last active April 20, 2025 10:31
How to passthrough SATA drives directly on VMWare ESXI 6.5 as RDMs

How to passthrough SATA drives directly on VMWare EXSI 6.5 as RDMs

There aren't many tutorials about this, the only tutorials I've found were about passing through entire PCIe cards to VMs, or refered to old ESXI versions (below 6.5) that used a more comprehensive desktop client instead of the web app. In v6.5, the web app was introduced and the desktop client was deprecated. You used to be able to setup RDMs in the desktop client, but with the introduction of the web console, this is no longer the case. This tutorial shows you how to pass SATA HDDs to the virtual machine on VMWare ESXI 6.5. This tutorial is partially based on VMWare's own KB and the now deprecated Forza IT blog post.

A word about VMWare ESXI 6.7

There is now an option while editing your VM's settings to add a New raw disk when you click `Add ha

@deltaepsilon
deltaepsilon / rxjs-firebase-demo.js
Created September 8, 2016 17:44
Demo RxJs integration with Firebase
var Rx = require('rxjs');
var firebase = require('firebase');
firebase.initializeApp({
"databaseURL": "https://quiver-two.firebaseio.com",
"serviceAccount": "./service-account.json"
});
var ref = firebase.database().ref('rxjs-demo');
Rx.Observable.fromPromise(ref.remove())
.map(function () {
@gnachman
gnachman / iterm.scpt
Last active April 8, 2023 23:42
Replace /Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/iterm.scpt with this.
set itermRunning to (application "iTerm" is running)
set scriptPath to quoted form of POSIX path of ((path to me as text) & "::" & "start.sh")
set user_shell to do shell script "dscl /Search -read /Users/$USER UserShell | awk '{print $2}'"
tell application "iTerm"
activate
if not (exists window 1) or (itermRunning = false) then
reopen
end if
@staltz
staltz / introrx.md
Last active April 21, 2025 04:15
The introduction to Reactive Programming you've been missing