Skip to content

Instantly share code, notes, and snippets.

Avi Aryan aviaryan

Block or report user

Report or block aviaryan

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
@aviaryan
aviaryan / CDN.md
Created Oct 2, 2019 — forked from vinkla/CDN.md
A guide on how to upload images to GitHub's CDN through issue and pull request text fields.
View CDN.md

Upload Images to GitHub's CDN

  1. First, visit any repository on GitHub and click your way through to the issues page.

  2. Create a new issue by clicking the New Issue button. You'll now see title and description fields.

  3. Drag-and-drop an image on to the description field. This will start the uploading process.

  4. Copy the URL and use it in README, issues or pull requests however you like.

@aviaryan
aviaryan / open-note-taking-format
Last active Dec 14, 2018
open note taking format
View open-note-taking-format
----
note_id: b1fd72f5-ff0a-46f9-a41b-4e3f4208bf18
notebook_id: 49bf069c-08b8-465f-845b-e39b24a513c4
title: Open Note-taking Format
tags: spec rant
created: 2018-12-10T10:00:43
modified: 2018-12-12T20:09:32
is_trashed: false
----
View blockstack-verify
Verifying my Blockstack ID is secured with the address 1CYA733ju6n6VSnYtqymNfikoYBdwrJGvY https://explorer.blockstack.org/address/1CYA733ju6n6VSnYtqymNfikoYBdwrJGvY
@aviaryan
aviaryan / btc-eth-dca-buy.php
Created Sep 17, 2017 — forked from levelsio/btc-eth-dca-buy.php
This script runs daily and "Dollar Cost Average"-buys $40 BTC and $10 ETH per day
View btc-eth-dca-buy.php
<?
//
// [ BUY BTC & ETH DAILY ON BITSTAMP ]
// by @levelsio
//
// 2017-08-23
//
// 1) buy $40/day BTC
// 2) buy $10/day ETH
//
@aviaryan
aviaryan / REPO TOC GENERATOR.md
Last active Jul 12, 2017
Script to generate a TOC given we have md files in the repo
View REPO TOC GENERATOR.md

Just run this script from the root of the repo. It goes through all folders, gets all the files and creates a TOC for them.

python script.py

This will show you the TOC generated.

python script.py > out.txt
@aviaryan
aviaryan / es6_without_xpack.md
Created Jun 21, 2017
Run ElasticSearch 6 without Xpack
View es6_without_xpack.md
docker run -tid --name appbase_elasticsearch -e ES_JAVA_OPTS='-Xms750m -Xmx750m' -e "xpack.security.enabled=false" \
    -e "xpack.graph.enabled=false" -e "xpack.ml.enabled=false" -e "xpack.monitoring.enabled=false" \
    -e "xpack.watcher.enabled=false" -p 9200:9200 docker.elastic.co/elasticsearch/elasticsearch:6.0.0-alpha2
View GoSublime.sublime-settings
{
"env": {
"GOPATH": "$HOME/go",
"PATH": "$GOPATH/bin:$PATH"
},
// "fmt_cmd": ["goimports"],
// enable comp-lint, this will effectively disable the live linter
"comp_lint_enabled": true,
View latte-demo.md

LaTTe Demo

Hello World

:help
:reset
a = 2
View keybase.md

Keybase proof

I hereby claim:

  • I am aviaryan on github.
  • I am aviaryan (https://keybase.io/aviaryan) on keybase.
  • I have a public key whose fingerprint is C0B8 BB4F 85D7 E05E DC75 239E A9C6 A03E AF6B 353F

To claim this, I am signing this object:

View Setup remote git repo on EC2.md

Setup remote git repo on EC2

Create a bare repository

$ mkdir <repo-name>.git
$ cd <repo-name>.git
$ git init --bare
You can’t perform that action at this time.