Skip to content

Instantly share code, notes, and snippets.

Avatar

Suhail Suhail

View GitHub Profile
View gist:d5937688edd88f447aae415e21ff9575
Apple Pay - complete blocking;
Apple - complete exit from the market;
Adidas - refusal to work with the national football team;
Audi - exit the market;
AMD - a ban on the supply of microchips and soon a ban on the supply of video cards;
British Petrolium - 20% of shares left Rosneft;
BBC - revocation of broadcasting licenses;
BMW - closes factories, blocks supplies;
Bolt - exit from the market;
Boeing - exit from the market;
@Suhail
Suhail / songs.md
Last active September 26, 2021 07:29
View songs.md

FAQ of Songs for Tunes

Songs for Tunes lets artists upload songs to sell on an open decentralized marketplace with other artists. The goal is to fund music artists to keep producing great music.

To mint, you need music.

1. How do I mint an Original Song?

You must be the owner of an original Tune NFT. You can buy one here: https://opensea.io/collection/tunesproject

After that, you can mint directly from our web app: https://songs.tunesproject.org

View lyrics.txt
Astrally Project Yourself To A Comfortable Chair - lol
Astrally projecting me
I'm astrally projecting me
Right into this comfy chair
So you can sit on me yeah
I'm astrally projecting me
Outta body, outta sight
Think about ya when you're closing your eyes
@Suhail
Suhail / tunes.txt
Last active September 21, 2021 05:18
Last updated 9/20/21 @ 10:18 PM PT
View tunes.txt
The End Of An Identity
MOMENT.
Punishment Fit For A Worm
Rainbow Reptiles
Another Day, Another Dollar, Another Drink
Roller Skating Summer
maybe its u
Death to Life
Lab Coat Baby
My Life In The Bush Of Ghosts
View gist:4894be26d9e837234d38f7b337ca4ae8
quarantine
COVID19
Pandemic
Virus
Lockdown
social distancing
Zoom
FDA
#COVID19
coronavirus
View assets.json
{
"public_suffix_list.dat": {
"content": "internal",
"updateAfter": 19,
"contentURL": [
"https://publicsuffix.org/list/public_suffix_list.dat",
"https://gitcdn.xyz/repo/publicsuffix/list/master/public_suffix_list.dat",
"assets/thirdparties/publicsuffix.org/list/effective_tld_names.dat"
]
},
@Suhail
Suhail / encode.cpp
Last active January 21, 2020 03:24
View encode.cpp
/*
I am sending encode(uint8_t, int, void *) data from a 12 MB file then calling a flush. This is the output I get:
Attempting to capture audio from a file...
Initializing encoder...
sample rate: 48000
Read 12292096 bytes from a file
------------------------------------------
Size of in_linesize: 12292096
out_samples: 1
View gist:beb3ee9e9f25eb24d37d8fc0a74920ff
2019-05-28 16:37:27, Info CBS Exec: Processing complete. Session: 30741934_1207138151, Package: Microsoft-OneCore-Graphics-Tools-Package~31bf3856ad364e35~amd64~~10.0.17763.1, Identifier: KB777778 [HRESULT = 0x80240438 - Unknown Error]
2019-05-28 16:37:27, Info CBS Reporting capability session finalize status: 0x80240438, client id: DISM Package Manager Provider, reboot count: 0, capabilities: Tools.Graphics.DirectX~~1.0, state: Installed, ID: 30741934_1207138151, RetryID: 30729324_3564694283, retryStatus: 1, torn state reservicing: 0x80004001
2019-05-28 16:37:28, Info CBS Reoffer flag set by session:30741934_1207138151
2019-05-28 16:37:28, Error CBS Failed to perform operation. [HRESULT = 0x80240438 - Unknown Error]
2019-05-28 16:37:28, Info CBS Session: 30741934_1207138151 finalized. Reboot required: no [HRESULT = 0x80240438 - Unknown Error]
2019-05-28 16:37:28, Info CBS Failed to Finalize
View gist:7ac633dce6ac6415c533bce311b16966
suhail@Suhails-MacBook-Pro:~/Desktop/AI/pytorch$ ./scripts/build_android.sh
Bash: GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)
Caffe2 path: /Users/suhail/Desktop/AI/pytorch
Using Android NDK at /Users/suhail/Library/Android/sdk/ndk-bundle
Building protoc
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/suhail/Desktop/AI/pytorch/build_host_protoc/build
[1/123] Linking CXX static library libprotobuf.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libprotobuf.a(arenastring.cc.o) has no symbols
View image blob
[[[[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.08235294371843338, 0.8117647171020508, 0.9921568632125854, 0.9921568632125854, 0.9098039269447327, 0.18431372940540314, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.5647059082984924, 0.9882352948188782, 0.9882352948188782, 0.9882352948188782, 0.9098039269447327, 0.6117647290229797, 0.20392157137393951, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.