Skip to content

Instantly share code, notes, and snippets.

@1devNdogs
1devNdogs / slope_vs_starting.md
Created March 27, 2024 16:40 — forked from gtallen1187/slope_vs_starting.md
A little bit of slope makes up for a lot of y-intercept

"A little bit of slope makes up for a lot of y-intercept"

01/13/2012. From a lecture by Professor John Ousterhout at Stanford, class CS140

Here's today's thought for the weekend. A little bit of slope makes up for a lot of Y-intercept.

[Laughter]

@1devNdogs
1devNdogs / test-relayer-polkadot.json
Last active February 16, 2022 00:15
test-relayer-polkadot.json
[
{
"wss":"wss://polkadot.api.onfinality.io/public-ws",
"paraId":2087,
"chainName":"Polkadot",
"chain":"polkadot",
"feedId":17,
"web":"https://polkadot.network/",
"ecosystem":"polkadot"
},
@1devNdogs
1devNdogs / test-relayer-kusama.json
Last active February 16, 2022 00:15
test-relayer-kusama.json
[
{
"wss":"wss://kusama.api.onfinality.io/public-ws",
"paraId":0,
"feedId":0,
"chain":"kusama",
"chainName":"Kusama",
"web":"https://kusama.network/",
"ecosystem":"kusama"
},
{
"rpc":{
"proposeProofOfSpace":{
"description":"rpc method to propose a proof of space",
"params":[
{
"name":"proposed_proof_of_space_result",
"type":"ProposedProofOfSpaceResult",
"isOptional":false
}
@1devNdogs
1devNdogs / trojantDefaultList.json
Last active April 11, 2021 09:02
Trojan Default List
{
"name": "Trojan Default List",
"timestamp": "2021-03-17T17:23:58.989Z",
"version": {
"major": 1,
"minor": 1,
"patch": 0
},
"tags": {},
"logoURI": "https://app.trojan.finance/static/media/logo_white.fda07fa3.svg",
@1devNdogs
1devNdogs / getSIIUF.js
Last active March 2, 2021 21:47
SII Scrapper 2021
const rp = require("request-promise");
const $ = require("cheerio");
const monthArray = [
"#mes_enero",
"#mes_febrero",
"#mes_marzo",
"#mes_abril",
"#mes_mayo",
"#mes_junio",
"#mes_julio",
{
"name":"Trojan",
"logoURI":"https://www.coingecko.com/assets/thumbnail-007177f3eca19695592f0b8b0eabbdae282b54154e1be912285c9034ea6cbaf2.png",
"keywords":[
"defi"
],
"timestamp":"2021-02-19T10:01:28.246+00:00",
"tokens":[
{"chainId":1,"address":"0x362bc847a3a9637d3af6624eec853618a43ed7d2","name":"PARSIQ","symbol":"PRQ","decimals":18,"logoURI":"https://assets.coingecko.com/coins/images/11973/thumb/DsNgK0O.png?1596590280"}
],
@1devNdogs
1devNdogs / git.migrate
Created September 4, 2020 15:36 — forked from niksumeiko/git.migrate
Moving git repository and all its branches, tags to a new remote repository keeping commits history
#!/bin/bash
# Sometimes you need to move your existing git repository
# to a new remote repository (/new remote origin).
# Here are a simple and quick steps that does exactly this.
#
# Let's assume we call "old repo" the repository you wish
# to move, and "new repo" the one you wish to move to.
#
### Step 1. Make sure you have a local copy of all "old repo"
### branches and tags.
.swiper-wrapper {
cursor:url({{ 'drag.png' | asset}}) 16 9, ew-resize!important;
}
.search-box.popup:before{
width: 28px;
height: 15px;
position: absolute;
content: "";
background: url({{ 'search-angle.png' | asset}});