Skip to content

Instantly share code, notes, and snippets.


Agnel Vishal agnelvishal

Block or report user

Report or block agnelvishal

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Blockstack
<script src="" integrity="sha384-+qYCYoUGzsMLAzHm80c4DyhbWgHBBb2N0RFqsg7Lws5ljtBtj/IwpgxZkiR7j7lp" crossorigin="anonymous"></script>
<button id="signin-button">Sign in with Blockstack </button>
const appConfig = new blockstack.AppConfig();
const userSession = new blockstack.UserSession({ appConfig: appConfig });
document.getElementById('signin-button').addEventListener('click', function() {
if (userSession.isUserSignedIn()) {

Keybase proof

I hereby claim:

  • I am agnelvishal on github.
  • I am agnel ( on keybase.
  • I have a public key ASC3V3MG5WQsg9qVstCq_uxNA0sKRs2S_2Cyl2zKWnK_Qgo

To claim this, I am signing this object:

agnelvishal / encryptAndDecrypt.js
Created Sep 28, 2019
Encrypt and Decrypt using Js
View encryptAndDecrypt.js
async function main() {
keyPair = await window.crypto.subtle.generateKey(
name: "RSA-OAEP",
modulusLength: 2048,
publicExponent: new Uint8Array([1, 0, 1]),
hash: "SHA-256",
["encrypt", "decrypt"]
agnelvishal /
Last active Nov 11, 2018
Compile PHP 7.2 with pthreads on Ubuntu 16.04 or Ubuntu 18.04 or Debian 9 Stretch
sudo apt update && \
sudo apt install -y libzip-dev bison autoconf build-essential pkg-config git-core \
libltdl-dev libbz2-dev libxml2-dev libxslt1-dev libssl-dev libicu-dev \
libpspell-dev libenchant-dev libmcrypt-dev libpng-dev libjpeg8-dev \
libfreetype6-dev libmysqlclient-dev libreadline-dev libcurl4-openssl-dev
cd $HOME
tar --extract --gzip --file php-7.2.2.tar.gz
agnelvishal /
Created Jun 3, 2018
pylinkvalidator crawler simple program. (Python 2.7)
#install pylinkvalidator and lxml from pip
from pylinkvalidator.api import crawl_with_options
import lxml
crawled_site = crawl_with_options([""], {"progress":True, "parser":'lxml', "workers": 400,"depth":1000})
View cryptocurrencyValuation.csv
Transactional value Investment value Total Value Remarks
1% of all currency and 1% of gold investment $20,000 $3,000 $23,000 Probable
1% of all currency and 10% of gold investment $20,000 $30,000 $50,000
10% of all currency and 1% of gold investment $200,000 $3,000 $203,000
50% of all currency and 50% of gold investment $1,000,000 $150,000 $1,150,000
100% of all currency and 100% of gold investment $2,000,000 $300,000 $2,300,000 Very Unlikely
View gist:bd6d69523315d2e1100d745bd467b3c4
Verifying my Blockstack ID is secured with the address 1DniMeJtwwKnePwYRR1c8ujGa8i3HgZ1PV
You can’t perform that action at this time.