Skip to content

Instantly share code, notes, and snippets.

View ixth's full-sized avatar
🎯
Focusing

Mikhail Menshikov ixth

🎯
Focusing
View GitHub Profile
@ixth
ixth / index.js
Last active September 26, 2021 10:53
babel-preset-env issue
const source = 'Math.clamp(1, 2, 3)';
const config = {
presets: [
[
'@babel/preset-env',
{
'modules': false,
'corejs': '3.18.0',
'useBuiltIns': 'usage',
'shippedProposals': true,
@ixth
ixth / proto.msg
Last active April 27, 2022 08:43 — forked from alexeypegov/proto.msg
ProtoBuffers debug with CURL. ProtoBuffers should be installed first: "yum install protobuf" or "brew install protobuf".
key:"string value"
int_key:22
@ixth
ixth / backup-github.sh
Created March 8, 2022 22:19
Backup GitHub Repos
PAGE=0
while true; do
PAGE=$(($PAGE + 1))
REPOS=$(curl -s -H "Authorization: token $GITHUB_TOKEN" "https://api.github.com/user/repos?visibility=all&page=$PAGE" | jq -r '.[].ssh_url')
if [ -z "$REPOS" ]; then
break;
fi
for REPO in $REPOS; do
git clone --no-checkout "$REPO"
done

Being aesthetically displeased with jpeg artifacts on @TfTHacker's avatar, I found similar image, spent half an hour in GIMP and got a decent hi-res version:

astrolabe