Skip to content

Instantly share code, notes, and snippets.

View liu246542's full-sized avatar
🤓
Excited!

FengLiu liu246542

🤓
Excited!
  • China
View GitHub Profile
@tzhao11
tzhao11 / oculus_quest_2_adjust_date_time_no_factory_reset.md
Last active June 2, 2024 02:46
Adjust oculus quest 2 system date and time without doing factory reset.

Adjust Oculus (Meta) Quest 2 System Date/Time without Doing Factory Reset

TL;DR

adb shell service call alarm 2 i64 {current unix epoch * 1000}

Background

@BjornvdLaan
BjornvdLaan / BLSExample.sol
Last active April 10, 2023 07:49
Verification of BLS signatures and BGLS aggregate signatures in Ethereum
pragma solidity ^0.4.14;
/*
Example of how to verify BLS signatures and BGLS aggregate signatures in Ethereum.
Signatures are generated using https://github.com/Project-Arda/bgls
Code is based on https://github.com/jstoxrocky/zksnarks_example
*/
contract BLSExample {
@artjomb
artjomb / PairingLibs.md
Last active July 9, 2024 08:07
List of Pairing Libraries

Pairings can be used for all kinds of advanced cryptographic schemes such as Encryption (Identity-based, Attribute-based, Predicate-based, etc.), Signatures, Zero-Knowledge Proofs, etc. It is in no particular order.

Provides multiple types of Elliptic Curve groups with appropriate pairings on top of them. Code repository resides here.

License: LGPL
Language: C
Thesis: On the Implementation of Pairing-Based Cryptography by Ben Lynn (2007)

git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy
@lirenlin
lirenlin / gist:9892945
Last active July 9, 2024 19:16
i3 wm, hide window title bar
@rxaviers
rxaviers / gist:7360908
Last active July 20, 2024 22:24
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: