Skip to content

Instantly share code, notes, and snippets.

View qwertychouskie's full-sized avatar

QwertyChouskie qwertychouskie

View GitHub Profile
@MatthewOates36
MatthewOates36 / FTC_FAST_LOAD.md
Last active January 8, 2025 12:26
Installation and Usage Instructions for FTC Fast Load v0.1.2

FTC Fast Load

Library for FTC teams allowing quick changes to TeamCode files to speed up the software development process.

The fast load works through a combination of an Android Gradle plugin and a small Android library included in the FtcRobotController app. The Gradle plugin creates a streamlined build process for TeamCode classes. The result of this build process is a slim bundle containing only TeamCode classes which is a few hundred KB opposed to the full FtcRobotController APK which is ~50MB. This small bundle allows for sub-second installs.

@denisde4ev
denisde4ev / Arch_Linux_Captcha.sh
Last active February 20, 2025 23:05
solving Arch Linux registration "Captcha" in pure shell script
#!/bin/bash
# only need bash for md5
set -eu
eval "curl(){ '$(which curl)' \"\$@\"; }" # only curl needed for md5 source;
# TODO/CONSIDER: https://stackoverflow.com/q/7765004 "TCP connection, bash only". also needs to resolve domain.
PATH='' # enshure we are pure shell
@v1993
v1993 / stk-update
Last active October 31, 2018 23:59
Simple STK git updater
#!/bin/bash
assetstriger=false
codetriger=false
compiler=g++
. /etc/stk-update
startupdate(){
if zenity --question --title=SuperTuxKart --text='Есть обновления SuperTuxKart. Поставить?' --icon-name=supertuxkart --ok-label=Поставить --cancel-label=Потом --modal
then
BUILD_DIR="$BASEDIR"/stk-code/cmake_build
@esteedqueen
esteedqueen / fix_rbenv.md
Last active March 23, 2025 20:04
How to fix rbenv: version `x.x.x` is not installed

So, you just cloned an existing project's repo and you run bundle install but you got the error: rbenv: version x.x.x is not installed....

What the issue means? The project uses a specific ruby version that you do not have on your system.

Here's how to fix it:

  • Install the Ruby build for the specified version using:
rbenv install x.x.x
@Benau
Benau / patch
Created April 18, 2017 02:19
ST recorder
diff --git a/src/supertux/screen_manager.cpp b/src/supertux/screen_manager.cpp
index 3cf95d8..6ed59c7 100644
--- a/src/supertux/screen_manager.cpp
+++ b/src/supertux/screen_manager.cpp
@@ -44,6 +44,8 @@
#include <stdio.h>
+#include <openglrecorder.h>
+
@qwertychouskie
qwertychouskie / lego.txt
Created November 28, 2016 00:05
Lego EV3 download page update
<div class="mindstorms-main-content">
<div class="article">
<div class="grid-row">
<div class="grid-column">
<div class="grid-content">
<h3 class="article-header">EV3 Software download (PC/Mac/Linux)</h3>
</div>
</div>
</div>
<div class="grid-row article-section-image-right">
@mscalora
mscalora / letsencrypt-update-lighttpd
Last active January 18, 2024 00:28
script to auto update letsencrypt certs for debian lighttpd installation (based on script by Danny Tuppeny)
#!/usr/bin/env bash
#
# Update letsencrypt on a lighttp installation
#
# if you installed letsencrypt in a non-standard location you
# can set the LEDIR env var before you run this script
#
# setup letsencrypt install directory
STDLEDIR=/opt/letsencrypt