All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login

All New Login
's Avatar

jackz

Joined 10 months ago

Recently created
Least recently created
Recently updated
Least recently updated
All gists 31
jackz's Avatar

jackz / download_youtube.sh

0 likes
0 forks
1 files
Last active 10 months ago
1 #!/bin/bash
2 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
3 if [[ "$#" -lt 1 ]]; then #if less than 1
4 echo "Usage: ./download.sh <youtube url> [name of file] "
5 exit 2
6 fi
7 if [[ "$#" -ne 2 ]]; then
8 echo Downloading $1
9 OUTPUT="$DIR/%(id)s.%(ext)s"
10 else
jackz's Avatar

jackz / export_blocked.js

0 likes
0 forks
1 files
Last active 10 months ago
1 // ==UserScript==
2 // @name Export Blocked Steam Players
3 // @version 1.0
4 // @description Adds a button to export all blocked players
5 // @author Jackz
6 // @match http*://steamcommunity.com/id/*/friends/blocked
7 // @grant GM_setClipboard
8 // @grant GM_getValue
9 // @grant GM_setValue
10 // @grant GM_listValues
jackz's Avatar

jackz / export_subscriptions.js

0 likes
0 forks
1 files
Last active 10 months ago
1 // ==UserScript==
2 // @name Export Steam Workshop Subscriptions
3 // @version 1.0
4 // @description Adds a button to subscribed items page to easily export ALL workshop subscriptions to a simple JSON file.
5 // @author Jackz
6 // @match http*://steamcommunity.com/id/*/myworkshopfiles*
7 // @grant GM_setClipboard
8 // @grant GM_getValue
9 // @grant GM_setValue
10 // @grant GM_listValues
jackz's Avatar

jackz / export_blocked_noTS.js

0 likes
0 forks
1 files
Last active 10 months ago
1 (async function() {
2 const items = [];
3 for(const item of document.getElementsByClassName("selectable")) {
4 items.push(item.attributes['data-steamid'].textContent)
5 }
6 var a = document.createElement("a");
7 a.href = "data:application/json," + JSON.stringify(items);
8 a.download = "banned_users.json";
9 a.click();
10 })();
jackz's Avatar

jackz / launch_gtao_patch.bat

0 likes
0 forks
1 files
Last active 10 months ago
1 :: Launch GTA Online Patch v1.2
2 :: This batch file will automatically launch GTAV if not started, look for the process and inject using Xenos
3 :: You should probably at minimum change the GTADIR parameter below to where your GTA5.exe is
4 :: It will run Xenos64 in the folder the bat file is ran from, for the profile "OnlinePatch.xpr64"
5
6 :: Links
7 :: Xenos - https://github.com/DarthTon/Xenos
8 :: Online Patch Booster - https://github.com/QuickNET-Tech/GTAO_Booster_PoC
9 @echo off
10 title Launch GTA Online Patch
jackz's Avatar

jackz / ecalculator.rs

0 likes
0 forks
1 files
Last active 10 months ago
1 use std::time::Instant;
2 use rand::prelude::*;
3 use std::f64::consts;
4 use console::Term;
5 use std::sync::atomic::{AtomicBool, Ordering};
6 use std::sync::Arc;
7
8 fn main() {
9 //Handler to terminate on CTRL+C
10 let running = Arc::new(AtomicBool::new(true));
jackz's Avatar

jackz / update.sh

0 likes
0 forks
1 files
Last active 10 months ago
1 #!/bin/bash
2 APP_ID=
3 if test -f "update.lock"; then
4 echo "update.lock found, cancelling"
5 exit 1
6 fi
7 touch update.lock
8 trap '{ rm -f -- "update.lock"; }' EXIT
9 /home/steam/steamcmd/steamcmd.sh +login anonymous +force_install_dir $PWD +app_update $APP_ID validate +quit
10 rm update.lock
jackz's Avatar

jackz / 3nplus1.rs

0 likes
0 forks
1 files
Last active 10 months ago
1 fn main() {
2 let mut i: u64 = 0;
3 let mut v: u64;
4 let mut highest = u64::MIN;
5 loop {
6 i += 1;
7 v = i;
8 loop {
9 // Is even
10 if v % 2 == 0 {
jackz's Avatar

jackz / convert_animations_to_lua.js

0 likes
0 forks
1 files
Last active 10 months ago
1 const fs = require('fs')
2
3 let version = "2.0"
4
5 fs.readFile('./animations.txt', 'utf-8', (err, data) => {
6 if(err) {
7 console.error(err)
8 process.exit(1)
9 }
10 const animations = []
jackz's Avatar

jackz / convert.js

0 likes
0 forks
1 files
Last active 10 months ago
1 const fs = require('fs')
2 const MODEL_NAMES = {
3 2627665880: 'Online Female'
4 }
5
6 fs.readFile('./outfit.json', 'utf-8', (err, data) => {
7 if(err) {
8 console.error(err)
9 process.exit(1)
10 }
Newer Older

Powered by Opengist ⋅ Load: 524ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文