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
import time | |
import re | |
hist = [] | |
commands = [] | |
count = 0 | |
trueCount = 0 | |
# by year | |
yearCounts = {} | |
monthCounts = {} |
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
module samw.dev/ebiten | |
go 1.15 | |
require ( | |
github.com/aquilax/go-perlin v1.1.0 | |
github.com/hajimehoshi/ebiten/v2 v2.2.4 | |
) |
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
package main | |
import ( | |
"fmt" | |
"image/color" | |
"math" | |
"github.com/hajimehoshi/ebiten" | |
"github.com/hajimehoshi/ebiten/ebitenutil" | |
"github.com/jaxi/motion" |
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
# you need to `sudo pip install pyxhook` as it's used to intercept the volume presses | |
# you will also want to update your launcher to call this script (I just have mine in the pico-8 directory | |
# and have my PICO-8.sh run: | |
# SDL_VIDEODRIVER=x11 DISPLAY=:0 python /home/cpi/pico-8/pico-8-volume.py | |
# video of what it looks like: https://www.youtube.com/watch?v=BAoYapdMiPM | |
import pygame | |
import os | |
import pyxhook | |
import alsaaudio |
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
@ECHO OFF | |
echo Powershell profile deleter | |
set /p PCNAME="PC:" | |
Powershell -Mta -NoProfile -Command "& {Get-WmiObject Win32_UserProfile -Computer %PCNAME% | Where {(!$_.Special) -and (!$_.Loaded) -and ($_.LastUseTime -ne $null) -and ($_.ConvertToDateTime($_.LastUseTime) -lt (Get-Date).AddDays(-1))} | Remove-WmiObject -Verbose}" | |
pause |
This tool helps you with many absolutely proprietary software which doesn't include proper push-to-talk key. I wrote this with Google Meet in mind but is also useful for many other browser based apps as well.
Like this? Support me at Github!
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
package main | |
import ( | |
"time" | |
"machine" | |
"image/color" | |
"tinygo.org/x/drivers/microbitmatrix" | |
"tinygo.org/x/drivers/mma8653" | |
) |
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
#include "pokitto.h" | |
Pokitto::Core game; | |
//#define SCREEN_W 110 | |
//#define SCREEN_H 88 | |
extern "C" { | |
#include "chip8.h" | |
void chip8_initialize(C8* CH8); |
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
module github.com/mlh758/exc_test | |
go 1.12 | |
require github.com/360EntSecGroup-Skylar/excelize v1.4.1 |