Skip to content

Instantly share code, notes, and snippets.

View echoes341's full-sized avatar
🌀

G. Rossin echoes341

🌀
  • 08:31 (UTC +02:00)
View GitHub Profile
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active October 20, 2024 15:52
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@olih
olih / jq-cheetsheet.md
Last active October 9, 2024 08:46
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

@ValdikSS
ValdikSS / huawei-fw-list.txt
Last active October 20, 2024 09:14
Huawei firmware files found on update server
==========================================================================
DO NOT WRITE ANY QUESTIONS IN COMMENTS
==========================================================================
This is not appropriate place for discussions. Keep this list FW-only.
I do NOT have any firmware files apart from published here or on 4pda. Please do not contact me for firmware files requests.
This is a list of files found on Huawei update server by brute-forcing URL parameters.
Some firmware files have changelogs. Just change file name to "changelog.xml" in the end of the URL.
@kbrandwijk
kbrandwijk / notifier.js
Created August 18, 2021 06:45
Autocode Expo Slack Notifier
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
const {createHmac} = await import('crypto');
const safeCompare = require('safe-compare');
// Expo request signature check
const hmac = createHmac('sha1', process.env.SECRET_WEBHOOK_KEY);
hmac.update(Buffer.from(JSON.stringify(context.params)));
const hash = `sha1=${hmac.digest('hex')}`;
console.log('context.params', context.params)