-
Find the Discord channel in which you would like to send commits and other updates
-
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* serial_echo.pde | |
* ----------------- | |
* Echoes what is sent back through the serial port. | |
* | |
* http://spacetinkerer.blogspot.com | |
*/ | |
int incomingByte = 0; // for incoming serial data |
*update: TBC, but this new might affect how easy it is to use this technique past August 2024: Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August
This gist, based in part on a gist by Brian Hartvigsen, allows you to export from Authy your TOTP tokens you have stored there.
Those can be "standard" 6-digits / 30 secs tokens, or Authy's own version, the 7-digits / 10 secs tokens.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" Display my IP address on an I2C OLED screen connected over GPIO """ | |
import socket | |
import time | |
from PIL import Image | |
from PIL import ImageDraw | |
from PIL import ImageFont | |
import Adafruit_GPIO.SPI as SPI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requirements: pip install tweepy fuzzywuzzy python-Levenshtein | |
import tweepy | |
import re | |
from fuzzywuzzy import fuzz | |
# Credentials go here (generate at: https://apps.twitter.com) | |
auth = tweepy.OAuthHandler('consumer_key', 'consumer_secret') | |
auth.set_access_token('access_token', 'access_token_secret') | |
# Connect to Twitter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This post referred to this git. I just trimmed cam and wifi part. | |
// https://github.com/v12345vtm/CameraWebserver2SD/blob/master/CameraWebserver2SD/CameraWebserver2SD.ino | |
#include "FS.h" | |
#include "SD_MMC.h" | |
//List dir in SD card | |
void listDir(fs::FS &fs, const char * dirname, uint8_t levels){ | |
Serial.printf("Listing directory: %s\n", dirname); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; https://github.com/appusajeev/os-dev-16/blob/master/reg.asm | |
; This code is a slightly modified version of the above. | |
; This code dumps the registers in a single boot sector. | |
; Compile and run with the 2 following commands: | |
; nasm -f bin dump.asm -o dump | |
; qemu-system-i386 -fda dump | |
; You can also do it without -fda if you hate floppy disks for some reason. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include<iostream> | |
#include<vector> | |
#include<stack> | |
class Interpreter | |
{ | |
public: | |
static void Run(std::string input) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright Killaship (C) 2022 | |
// Informally, this is under the MIT licence, where basically you can do whatever, just give me credit. | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define PROG_SIZE 30000 | |
unsigned char dcells[30000]; | |
unsigned char program[PROG_SIZE]; | |
int data = 0; | |
int instr = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Killaship | |
2022 | |
November 13th, ~10:30 PM EST | |
This took like an hour or two to make, WITH a tutorial and previous experience! | |
A VM following the specifications of the 'mac' architecture, as outlined in this blog: | |
https://felix.engineer/blogs/virtual-machine-in-c/ | |
I was pretty tired while writing this, so the code might suck. | |
Hell, I typed & instead of % twice and was wondering for minutes about it! | |
I started work on this at ~ 9:15, I recorded the progress. |
OlderNewer