Skip to content

Instantly share code, notes, and snippets.

View deluxghost's full-sized avatar
🤷‍♂️
Huh?

deluxghost deluxghost

🤷‍♂️
Huh?
View GitHub Profile
@davispuh
davispuh / steam_console_params.txt
Last active May 19, 2024 07:30
Steam client parameters, consoles commands and variables
-480p - Run tenfoot in 480p rather than 1080p
-720p - Run tenfoot in 720p rather than 1080p
-accesscode -
-all_languages - show longest loc string from any language
-batterytestmode - rapidly cycle battery percentages for testing
-bigpicture - Start in Steam Big Picture mode
-blefw -
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load
@xPaw
xPaw / steam_quick_queue.user.js
Last active May 19, 2024 05:16
⚠ This script has been integrated into SteamDB browser extension!
// ==UserScript==
// @name Steam Queue Auto Discoverer
// @description Discover the Steam queue three times to get the sale cards
// @version 2.3.0
// @namespace https://gist.github.com/xPaw/73f8ae2031b4e528abf7
// @icon https://store.steampowered.com/favicon.ico
// @match https://store.steampowered.com/explore*
// @grant none
// ==/UserScript==
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active May 17, 2024 07:59
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@lolzballs
lolzballs / HelloWorld.java
Created March 22, 2015 00:21
Hello World Enterprise Edition
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
public class HelloWorld{
private static HelloWorld instance;
public static void main(String[] args){
instantiateHelloWorldMainClassAndRun();
@pernalin9
pernalin9 / 微软输入法自动跳转为中文Fix.ahk
Last active April 28, 2024 13:51 — forked from maokwen/AutoHotKey-Switch-IME.ahk
微软输入法自动跳转为中文Fix.ahk
# 如果可以接受capslock作为输入法切换按键,强烈建议使用评论区脚本
# 如果可以接受capslock作为输入法切换按键,强烈建议使用评论区脚本
# 如果可以接受capslock作为输入法切换按键,强烈建议使用评论区脚本
#Include %A_ScriptDir%
timeInterval := 500
; +-------------------------+-------------------------+
@coin8086
coin8086 / using-proxy-for-git-or-github.md
Last active April 7, 2024 07:40
Use Proxy for Git/GitHub

Use Proxy for Git/GitHub

Generally, the Git proxy configuration depends on the Git Server Protocol you use. And there're two common protocols: SSH and HTTP/HTTPS. Both require a proxy setup already. In the following, I assume a SOCKS5 proxy set up on localhost:1080. But it can also be a HTTP proxy. I'll talk about how to set up a SOCKS5 proxy later.

SSH Protocol

When you do git clone ssh://[user@]server/project.git or git clone [user@]server:project.git, you're using the SSH protocol. You need to configurate your SSH client to use a proxy. Add the following to your SSH config file, say ~/.ssh/config:

ProxyCommand nc -x localhost:1080 %h %p
@emesare
emesare / leclaimer.js
Last active February 25, 2024 16:16
Danks asset.party slot claimer for s&box. NO LONGER SUPPORTED
// ==UserScript==
// @name Le claimer
// @namespace http://tampermonkey.net/
// @version 0.3
// @description try to claim yourself access to a game that doesn't exist (its a hoax)
// @author Dank (Discord: Dank#9470)
// @match https://asset.party/get/developer/preview
// @icon https://www.google.com/s2/favicons?sz=64&domain=asset.party
// @grant none
// ==/UserScript==
@m-jowett
m-jowett / log.md
Last active January 3, 2023 07:53
Setup LibreOffice Online (Log/Guide) [WIP]

Setup LibreOffice Online (Log/Guide) [WIP]

About

This guide/log is based off my experience attempting to build and install LibreOffice Online and it's dependencies on my system.

The end goal is to get LibreOffice Online integrated with Karoshi Server.

LibreOffice Online is still in development (17/06/16).

@technillogue
technillogue / calc.py
Created June 28, 2013 18:53
A more complicated recursive python calculator
from collections import OrderedDict
#reverse order of operations
#I didn't have to use an OrderedDict, but it's cute
operations = OrderedDict([
("+", lambda x, y: x + y),
("-", lambda x, y: x - y),
("/", lambda x, y: x / y),
("*", lambda x, y: x * y),
("^", lambda x, y: x ^ y)