Skip to content

Instantly share code, notes, and snippets.

View dee1337's full-sized avatar
🎯
Focusing

Daniel Geers dee1337

🎯
Focusing
View GitHub Profile
@dee1337
dee1337 / Programming_Languages_Extensions.json
Created August 27, 2024 09:53 — forked from ppisarczyk/Programming_Languages_Extensions.json
Programming Languages and their File Extensions
[
{
"name":"ABAP",
"type":"programming",
"extensions":[
".abap"
]
},
{
"name":"AGS Script",
@dee1337
dee1337 / RPI_FAN.md
Created August 20, 2024 07:07 — forked from 0x7d7b/RPI_FAN.md
Raspberry Pi PWM Fan Controller

After mounting the GPIO hammer headers to my RPi Zero I am now ready to do some prototyping. The first thing I wanted to test is controlling a 4 pin PWM fan. So here is a short howto on that.

Prerequisites

Besides a RPi Zero with pin headers you need a 4 pin PWM (Pulse With Modulation) fan. I took a Noctua NF-F12 5V fan. Be aware that when you take a 12V fan it will damage your board!

To easily access the RPi Zero during setup I use an USB to serial adapter cable as described in on of my other posts.

Installation

Prepare the SD card as usually. Usually before mounting an RPi Zero I put it into my Raspberry Pi 3 B+. Since that one has an ethernet connection I can update the system and install required libraries:

@dee1337
dee1337 / league_ping.cpp
Created April 25, 2017 09:08
League Ping
#include <stdio.h>
#include <string>
#include <assert.h>
#include <stdlib.h>
#include <iostream>
#include <sstream>
#include <vector>
using namespace std;
@dee1337
dee1337 / gist:72358058acd4097eb300
Created January 2, 2015 12:28
Fix Fern Wifi for Alfa AWUS036NH / wlan*mon pattern
"""
Fern-Wifi-Cracker 2.0 Not working with Ralink Chipsets (tested on AWUS036NH )
What steps will reproduce the problem?
1.start fern-wifi
2.select interface
What is the expected output? What do you see instead?
expected output: "Monitor mode enabled on wlan0mon"
#!/bin/sh
# Sublime Text 3 install with Package Control
# http://simonewebdesign.it/blog/install-sublime-text-3-on-fedora-20/
# fix by dee1337:
# select the correct ST3 version depending on the system - 64bit build does not work on fedora i686 32bit
# Run this script with:
# $ curl LINK_TO_THIS_SCRIPT | sh