Skip to content

Instantly share code, notes, and snippets.

View echoes341's full-sized avatar
🌀

G. Rossin echoes341

🌀
  • 11:29 (UTC +02:00)
View GitHub Profile
@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)
@ValdikSS
ValdikSS / huawei-fw-list.txt
Last active September 17, 2024 17:07
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.
@olih
olih / jq-cheetsheet.md
Last active September 26, 2024 07:11
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

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active September 27, 2024 18:50
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname