🆕 💻 Mac Setup List:
- all
dotfiles
- install
brew
,node
zsh
,python
- sudo-touchid
- iTerm config
- Fonts with ligatures
- Raycast
- Wallpapers
Use Stacks
on Desktop- git's ssh & gpg setup
Hey, I'm aashutoshrathi-21199234 and I have contributed to the Semaphore V4 Ceremony. | |
The following are my contribution signatures: | |
Circuit # 1 (semaphorev4-1) | |
Contributor # 76 | |
Contribution Hash: | |
0e9c948c 82cce4e4 f257d719 bb6d1c94 | |
7340ce36 d1c0bd4e 18ef4f2a 2f9c4b00 | |
1bf6ec60 e59d6e1e 346d4083 fce62bb7 | |
2342ae2b a97e787e a2578de2 f87967ef |
Hey, I'm aashutoshrathi-21199234 and I have contributed to the Anon Aadhaar V2 Trusted Setup Ceremony. | |
The following are my contribution signatures: | |
Circuit # 1 (aadhaarverifier) | |
Contributor # 47 | |
Contribution Hash: bb00be03 16beda58 fd328967 ee0f3226 | |
ee4f3b84 40c147ee a9e9ea3f 753f8eeb | |
c4d3b881 220ba318 8be655f9 97d6799d | |
7c419a0b 81a0b398 016fc854 bbef35ba |
🆕 💻 Mac Setup List:
dotfiles
brew
, node
zsh
, python
Use Stacks
on Desktop<?php | |
// half-hearted CSS minification | |
$css = preg_replace( | |
array('/\s*(\w)\s*{\s*/','/\s*(\S*:)(\s*)([^;]*)(\s|\n)*;(\n|\s)*/','/\n/','/\s*}\s*/'), | |
array('$1{ ','$1$3;',"",'} '), | |
file_get_contents('linked.css') | |
); | |
// embed as a data: uri | |
$base64css = rtrim(strtr(base64_encode($css), '+/', '-_'), '='); |
// add a cronjob for this | |
import fetch from 'node-fetch'; // for lower node versions | |
const getOrder = () => { | |
const users = ["Jim", "Pam" "Dwight"]; // names of users | |
let shuffled = users | |
.map(value => ({ value, sort: Math.random() })) | |
.sort((a, b) => a.sort - b.sort) | |
.map(({ value }) => `-> ${value}`); |
const sleep = (milliseconds) => { | |
return new Promise((resolve) => setTimeout(resolve, milliseconds)); | |
}; | |
const YOUR_ENTRY_NAME = "Aashutosh"; | |
// Go to NAL Page | |
if (window.location.hash !== "#/security/network/accessList") { | |
window.location.hash = "#/security/network/accessList"; | |
await sleep(1000); | |
} |
def unicodetoascii(text): | |
TEXT = (text. | |
replace('\\xe2\\x80\\x99', "'"). | |
replace('\\xc3\\xa9', 'e'). | |
replace('\\xe2\\x80\\x90', '-'). | |
replace('\\xe2\\x80\\x91', '-'). | |
replace('\\xe2\\x80\\x92', '-'). | |
replace('\\xe2\\x80\\x93', '-'). | |
replace('\\xe2\\x80\\x94', '-'). |
android { | |
... | |
} | |
// Add the below code in android/app/build.gradle after above android block | |
// Provide same version code to all! | |
import com.android.build.OutputFile | |
android.applicationVariants.all { variant -> |
x = document.querySelectorAll('div.f4.lh-condensed.text-bold.text-gray-dark'); | |
for(let i=0; i<x.length; i++) { | |
const [a, b] = x[i].children[0].innerText.split('/'); | |
if(a === b) | |
x[i].parentElement.parentElement.remove(); | |
} |