Skip to content

Instantly share code, notes, and snippets.

View filfreire's full-sized avatar

Filipe Freire filfreire

View GitHub Profile
filfreire /
Created November 11, 2023 12:32
Extracting Data from TRAOD

Extracting Data from TRAOD - Guide


.CLZ to .GMX; .GMX to game files; game files to .FBX

Extracting .GMX from .GMX.CLZ


filfreire / revert-slack-ui.js
Created October 13, 2023 10:54
revert Slack UI 2023
(function() {
'use strict';
let localConfig = localStorage.getItem("localConfig_v2");
if (localConfig) {
localConfig = localConfig.replace(/\"is_unified_user_client_enabled\":true/g, '\"is_unified_user_client_enabled\":false');
localStorage.setItem("localConfig_v2", localConfig);
filfreire /
Created November 18, 2022 16:50
Create sample SSL Client and Server Certificates
#!/usr/bin/env bash
openssl genrsa -aes256 -passout pass:changeme -out ca.pass.key 4096
openssl rsa -passin pass:changeme -in ca.pass.key -out ca.key
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
openssl genrsa -aes256 -passout pass:changeme -out server.pass.key 4096
openssl rsa -passin pass:changeme -in server.pass.key -out server.key
openssl req -new -key server.key -out server.csr
openssl x509 -CAcreateserial -req -days 365 -in server.csr -CA ca.crt -CAkey ca.key -out server.crt
openssl genrsa -aes256 -passout pass:changeme -out client.pass.key 4096
# quick hack alternative to using 'jq -r .some_field'
grep -o '"some_field": *"[^"]*' experiment.json | grep -o '[^"]*$'