Skip to content

Instantly share code, notes, and snippets.

======================
Proton: 1647658570 GE-Proton7-10
SteamGameId: 1091500
Command: ['/mnt/10tb/SteamLibrary/steamapps/common/Cyberpunk 2077/REDprelauncher.exe', '--launcher-skip', '-skipStartupScreen']
Options: {'gamedrive', 'forcelgadd', 'vkd3dbindlesstb'}
depot: 0.20220316.47
pressure-vessel: 0.20220315.0
scripts: v0.20220311.0-0-gae4cbed
soldier: 0.20220315.0 soldier 0.20220315.0
Kernel: Linux 5.15.28-1-MANJARO #1 SMP PREEMPT Fri Mar 11 14:12:57 UTC 2022 x86_64
@jetbalsa
jetbalsa / reader.php
Created August 9, 2021 03:49
Badge Reader DC29
<?php
/// WRITTEN BY @JRWR / HATCHAN!!!!!
// GET REKT
$mem = new Memcached();
$mem->addServer('127.0.0.1',11211);
include 'PhpSerial.php';
include 'Medoo.php';
use Medoo\Medoo;
$database = new Medoo([
'type' => 'sqlite',
<?php
define ("SERIAL_DEVICE_NOTSET", 0);
define ("SERIAL_DEVICE_SET", 1);
define ("SERIAL_DEVICE_OPENED", 2);
/**
* Serial port control class
*
* THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTIES !
* USE IT AT YOUR OWN RISKS !
#include <SPI.h>
#include <Ethernet.h>
// set PushButton pin number
const int buttonPin = 2;
// set LED pin numbers
@jetbalsa
jetbalsa / spectre.c
Created January 4, 2018 06:07 — forked from ErikAugust/spectre.c
Spectre example code
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
#pragma optimize("gt",on)
#else
#include <x86intrin.h> /* for rdtscp and clflush */
#endif
<?php
$server = 'tcp://efnet.port80.se';
$port = 6667;
$pass = '';
$nick = 'at-' . gethostname(); // FIX IF HOSTNAME != rysnc hostname, DO THE SAME FOR BELOW
$channel = '#rsync-status';
function send( $conn, $msg )
{
echo "--> {$msg}\n";
return fwrite( $conn, $msg . "\n" );
<?php
$url = urlencode($_SERVER["REQUEST_URI"]);
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_URL, "http://web.archive.org/web/https://eroshare.com".$url);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$response = curl_exec($ch);
$header_size = curl_getinfo($ch, CURLINFO_HEADER_SIZE);
<?php
require("vendor/autoload.php");
$api = new RestClient([
'base_url' => "https://cp-par1.scaleway.com",
'headers' => ['X-Auth-Token' => "#####################", "Content-Type" => "application/json"],
]);
$result = $api->get("servers");
$server = $result->decode_response();
$result = $api->get("volumes");
$volumes = $result->decode_response();
#!/bin/bash
##CHECK IF INSTALLED AND DOWNLOAD
if [ ! -f ~/dogecoin-bin/bin/dogecoind ]; then
command -v curl >/dev/null 2>&1 || { echo >&2 "I require curl but it's not installed. Aborting."; exit 1; }
##CHECK ARCH
arch=$(uname -m)
echo Downloading Dogecoind for $arch
if [ "$arch" == 'x86_64' ]
@jetbalsa
jetbalsa / getfeed.php
Last active April 9, 2017 15:57
This script adds the "folder" child based off the show name so the shanaproject.com YaRSS Deluge Plugin can auto sort your shows off ShowRSS -- This PHP file is called like getfeed.php?id=43302 - so if your old feed url is http://showrss.info/user/43302.rss
<?php
header("Content-type: text/xml");
//setup globals
$dataurl = "http://showrss.info/user/" . preg_replace("/[^0-9]/", "",$_GET['id']) . ".rss";
$data = file_get_contents($dataurl);
$xml = new SimpleXMLElement($data);
foreach($xml->channel->item as $item){
$namespaces = $xml->getNameSpaces(true);
$tv = $item->children($namespaces['tv']);