Skip to content

Instantly share code, notes, and snippets.

@linxichen
linxichen / dell_loud_fan.txt
Created February 7, 2022 23:35
Solution to Dell PowerEdge server loud fan
Reddit post: https://www.reddit.com/r/homelab/comments/j3hh1r/poweredge_r730xd_fans_loud_wont_slow_down_help/
iDRAC Setting Fan Speed on Poweredge R730xd with IPMI (should work with others but cmds will vary with device names
=========================================================================================================
Reference: https://gist.github.com/mdpuma/8972079b7da52afef15cc039039ff818
1. Get your iDRAC on the LAN and config a username and password
2. In the iDRAC interface (access via web browser), enable IPMI in iDRAC Settings > Network > IPMI Settings
3. Download/install the Dell iDRAC tools for windows (in this case, filename was DellEMC-iDRACTools-Web-WINPE-9.4.0-3732_A00.exe)
4. Open a cmd prompt (iDRAC IP in this example is 192.168.16.2)
5. cd c:\program files\dell\sysmgt\iDRACTools\IPMI
@Blackshome
Blackshome / sensor-light-add-on.yaml
Last active December 21, 2025 22:10
sensor-light-add-on.yaml
blueprint:
name: Sensor Light Add On
description: >
# ♾️ Sensor Light Add On - Media & Movie - House Alarm - Smoke Alarm + More
**Version: 2.3**
Lights, Camera, Action! Get ready to grab the popcorn because it's movie time with a touch of cinematic magic! 🎬✨
@Pulimet
Pulimet / AdbCommands
Last active December 21, 2025 22:09
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@aalmiray
aalmiray / db.groovy
Last active December 21, 2025 22:02
Groovy/JBang
@Grab('com.oracle.database.jdbc:ojdbc8:19.7.0.0')
@Grab('com.oracle.database.jdbc:ucp:19.7.0.0')
import java.sql.Connection
import java.sql.SQLException
import java.sql.Statement
import java.sql.ResultSet
import oracle.ucp.jdbc.PoolDataSourceFactory
import oracle.ucp.jdbc.PoolDataSource
PoolDataSource pds = PoolDataSourceFactory.poolDataSource.with(true) {
@atsuya
atsuya / config
Created May 3, 2019 14:02
My Waybar config
{
"layer": "top", // Waybar at top layer
"modules-left": ["sway/workspaces"],
"modules-right": ["tray", "cpu", "memory", "backlight", "network", "pulseaudio", "battery", "clock"],
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
"tooltip-format": "{:%Y-%m-%d | %H:%M}",
@rianvdm
rianvdm / brainstorming-planning.md
Last active December 21, 2025 21:56
Project brainstorming and spec creation

Project brainstorming and spec creation

Build ideas from scratch through guided discovery, then produce developer-ready specs and implementation prompts.


When to Use

  • Starting a new side project from a rough idea
  • Need structured thinking before jumping into code
@joshuakraemer
joshuakraemer / instructions.md
Last active December 21, 2025 21:55
How to install Windows Media Player 11 to a Proton prefix
  1. Download Windows Media Player 11, 64 bit (wmp11-windowsxp-x64-enu.exe):
    $ cd /tmp/
    $ curl -O https://web.archive.org/web/20190512112704/https://download.microsoft.com/download/3/0/8/3080C52C-2517-43DE-BDB4-B7EAFD88F084/wmp11-windowsxp-x64-enu.exe
  2. Extract the archive:
    $ cabextract wmp11-windowsxp-x64-enu.exe -d wmp11
  3. Run and close the game through Steam. A Proton prefix is created on the first run.
  4. Go to the game's folder inside Steam's compatdata folder:
    $ cd $HOME/.local/share/Steam/steamapps/compatdata/287290
  5. Set prefix to Windows XP: $ WINEPREFIX=$PWD/pfx wine winecfg
@NeoTheFox
NeoTheFox / compatdata.sh
Last active December 21, 2025 21:54
Link Steam's Proton prefixes by name for ease of use
#!/usr/bin/env bash
help() {
echo NAME
echo " compatdata.sh - create \"by-game\" symlink folder for every compatdata folder on this machine"
echo
echo SYNOPSIS
echo " compatdata.sh [-h] [-p]"
echo
echo OPTIONS
@sundowndev
sundowndev / GoogleDorking.md
Last active December 21, 2025 21:50
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"
@AyakoGFX
AyakoGFX / .emacs
Last active December 21, 2025 21:46
Single file Emacs config
(require 'package)
(setq package-enable-at-startup nil)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
("nongnu" . "https://elpa.nongnu.org/nongnu/")
("elpa-devel" . "https://elpa.gnu.org/devel/")
("gnu" . "https://elpa.gnu.org/packages/")))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))