This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.$=e():t.$=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.products.grid { | |
display: flex; | |
flex-wrap: wrap; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query Addresses($providerAddress: String) { | |
Addresses(where: {address: {_eq: $providerAddress}}) { | |
Provider { | |
provider_name | |
logo | |
location | |
union_score | |
social: Socials(limit: 1, order_by: {created_at: desc}) { | |
blog | |
discord |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query user($uuid: uuid) { | |
user(where: { uuid: { _eq: $uuid } }) { | |
user2holding: Users_to_Holdings { | |
holding_address | |
id | |
holdings: Holding { | |
token_name | |
token: Token { | |
symbol | |
marketData: Market_Data(limit: 1, order_by: { created_at: desc }) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let cells = document.getElementsByClassName("delegate-item"); | |
let returnDelegates = []; | |
for (let i in cells) { | |
let inner_lis = cells[i].getElementsByTagName("li"); | |
for (let x in inner_lis) { | |
let inner = inner_lis.innerHTML.trim(); | |
if (inner.indexOf("Is public delegate?") > -1) { | |
let i_tag = inner_lis[x].getElementsByTagName("i"); | |
if (i_tag.classList.contains("text-green")) { | |
returnDelegates.push(cells[i]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker logs containername >& logs/myFile.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rustup override add nightly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://ethereum.stackexchange.com/questions/305/what-are-common-pitfalls-or-limitations-when-coding-in-solidity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install -D sass-loader node-sass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RespGen :: Concurrent HTTP GET Response generator | |
func RespGen(urls ...string) <-chan *http.Response { | |
var wg sync.WaitGroup | |
out := make(chan *http.Response) | |
wg.Add(len(urls)) | |
for _, url := range urls { | |
go func(url string) { | |
req, err := http.NewRequest("GET", url, nil) | |
if err != nil { | |
panic(err) |
NewerOlder