Skip to content

Instantly share code, notes, and snippets.

View hebbianloop's full-sized avatar
💭
building for what's next

S El Damaty hebbianloop

💭
building for what's next
View GitHub Profile
@hebbianloop
hebbianloop / nocturne-v1_attestation.log
Created October 24, 2023 15:05
Attestation for nocturne-v1 MPC Phase 2 Trusted Setup ceremony
Hey, I'm seldamat-1558845 and I have contributed to the nocturne-v1 MPC Phase2 Trusted Setup ceremony.
The following are my contribution signatures:
Circuit # 1 (canonaddrsigcheck)
Contributor # 9
Contribution Hash: 856064c0 4f8bb5bf 9e32d7b5 d9efca35
82c0e3b9 2ebf4394 27ac753f 35e8f80f
de44f977 95f2f5a2 3329b41f c2468a45
d0081e7a 17b12478 aedb85ea a32f30f3
### Keybase proof
I hereby claim:
* I am seldamat on github.
* I am hebbianloop (https://keybase.io/hebbianloop) on keybase.
* I have a public key ASAuTJdm64pPsxZ_-ZD4R-pq8XsT157lmkQUMps1j4jXWwo
To claim this, I am signing this object:
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreihdn2wvanoesyshls7vp4edaktmabrf4nvc7wpsbbeseqp2bmugiu ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
#!/bin/env sh
lines=$(tput lines)
cols=$(tput cols)
awkscript='
{
letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*()"
lines=$1
@hebbianloop
hebbianloop / gist:c5ff89e150a7f831cf46a5db9c8b5c9a
Created April 28, 2018 16:59 — forked from khakimov/gist:3558086
Matrix Effect in you terminal
echo -e "\e[1;40m" ; clear ; while :; do echo $LINES $COLUMNS $(( $RANDOM % $COLUMNS)) $(( $RANDOM % 72 )) ;sleep 0.05; done|awk '{ letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*()"; c=$4; letter=substr(letters,c,1);a[$3]=0;for (x in a) {o=a[x];a[x]=a[x]+1; printf "\033[%s;%sH\033[2;32m%s",o,x,letter; printf "\033[%s;%sH\033[1;37m%s\033[0;0H",a[x],x,letter;if (a[x] >= $1) { a[x]=0; } }}'
@hebbianloop
hebbianloop / openconnect.md
Created April 27, 2017 22:18 — forked from moklett/openconnect.md
OpenConnect VPN on Mac OS X

Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.

As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.

Here's how to get it set up on Mac OS X:

  1. OpenConnect can be installed via homebrew:

     brew update
    

brew install openconnect

@hebbianloop
hebbianloop / mac-trim-support-non-apple-ssd.markdown
Created April 18, 2017 04:39 — forked from bzerangue/mac-trim-support-non-apple-ssd.markdown
Enabling TRIM Support on Mac OS X with Non-Apple SSDs

How To: Enable TRIM with Non-Apple SSD

The guide breaks the process down into three steps, all performed via copying and pasting the code snippets through the terminal window. To launch a terminal window, open the Utilities folder inside the Applications folder and select terminal.

The first step makes a backup of the original IOAHCIBlockStorage file called IOAHCIBlockStorage.original. You will be prompted to enter in your system password when using the "sudo" command, since you are modifying system files. Copy and paste the code into the terminal window, a successful or uneventful response is a new blank terminal line.

sudo cp /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage.original

Next the code patches the IOAHCIBlockStorage file, removing the requirements that the SSD be made by Apple. Copy and paste t