Skip to content

Instantly share code, notes, and snippets.

View arcolife's full-sized avatar

Archit Sharma arcolife

View GitHub Profile
@arcolife
arcolife / _doubts.md
Last active August 16, 2022 14:02
AEA structure discussions on discord
@arcolife
arcolife / main.js
Created June 28, 2022 06:54
PSI browser extension V3 new modified
var ports = {};
var listeners = {
};
var contextMenuID = '4353455656';
var currentPort;
chrome.contextMenus.create({
title: 'Share window,tab or desktop',
id: contextMenuID
@arcolife
arcolife / main.js
Created June 28, 2022 06:52
PSI browser extension V2 old
var ports = {};
var listeners = {
};
var contextMenuID = '4353455656';
var currentPort;
chrome.contextMenus.create({
title: 'Share window,tab or desktop',
id: contextMenuID
@arcolife
arcolife / bionic_text.js
Created June 2, 2022 11:20
bionic mode roam extension
/***********************************************************
Roam Bionic text
inspired by Bionic Reading (TM) : https://https://bionic-reading.com/
Version: 0.41, May 31th, 2022
By: @fbgallet on Twitter
- Toggle it with Shift+Alt+B or 'B' button in the top bar.
- Set fixation (percentage of word in bold), saccade (applies every x words) and button display on [[roam/js/bionic text]] page.
Support my work on: https://www.buymeacoffee.com/fbgallet
@arcolife
arcolife / peachi.sh
Last active May 25, 2021 20:08
life ain't all peachy
declare -a MY_EYES # so cloudy
for cloud in "${MY_EYES[@]}"; do
i for an i in `$cloud describe deathstar`; do
rm -rf *
done
done
@arcolife
arcolife / Run 1.md
Last active October 26, 2020 14:50
LRT3 runs - report - 26 Oct
era_duration = '1700seconds'
minimum_era_height = 100
minimum_round_exponent = 14
{
  "api_version": "1.0.0",
  "chainspec_name": "lrt3-2020-10-22T12:25:27Z",
@arcolife
arcolife / Run 1.md
Last active October 20, 2020 07:21
Casper Node LRT3 report - Oct 19, 2020
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 3 column 1
---

stopped nodes:

```
172.85.63.221
172.96.52.130
```

---
@arcolife
arcolife / statsd.service
Created April 10, 2017 13:34
statsd systemd service file
[Unit]
Description=network daemon to collect metrics
[Service]
User=statsd
Type=simple
ExecStart=/usr/bin/statsd /etc/statsd/config.js
Restart=on-failure
[Install]
@arcolife
arcolife / 1_create_net_subnet_image_flavor.md
Last active April 26, 2020 21:18
openstack 10 (newton) network router create

create network / subnet / image / flavor

# create a net and a subnet
i=1;
while [ $i -lt 51 ]; do 
  neutron net-create scalenet$i --shared; 
  j=0;