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
{ | |
"name":"Cry Meme #1", | |
"symbol":"CRME", | |
"description":"My face when I'm doing my first NFT. ", | |
"seller_fee_basis_points":1, | |
"external_url":"", | |
"edition":"Class of 2022", | |
"background_color":"000000", | |
"attributes":[ | |
{ |
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
{ | |
"cluster": { | |
"peername": "cluster2", | |
"secret": "", | |
"leave_on_shutdown": false, | |
"listen_multiaddress": [ | |
"/ip4/0.0.0.0/tcp/9096", | |
"/ip4/0.0.0.0/udp/9096/quic" | |
], | |
"enable_relay_hop": true, |
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
import 'dart:math'; | |
const int AXIS_X = 1; | |
const int AXIS_Y = 2; | |
const int AXIS_Z = 3; | |
const int AXIS_MINUS_X = AXIS_X | 0x80; | |
const int AXIS_MINUS_Y = AXIS_Y | 0x80; | |
const int AXIS_MINUS_Z = AXIS_Z | 0x80; | |
abstract class Gyromath { |
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
class AppInSessionState extends StatelessWidget { | |
final Widget child; | |
const AppInSessionState({Key key, this.child}) : super(key: key); | |
@override | |
Widget build(BuildContext context) { | |
final sessionBloc = Provider.of<SessionBloc>(context); | |
return BlocProvider<AuthorBloc>( | |
builder: (_, bloc) => bloc ?? AuthorBloc(sessionBloc, AuthorApi()), | |
onDispose: (_, bloc) => bloc.dispose(), |
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
{ | |
"data": { | |
"customer_details": [ | |
{ | |
"name": "email", | |
"type": "email", | |
"length": 254, | |
"default_value": "", | |
"use_in_payload": true, | |
"is_required": false, |
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
const source = [ | |
{ | |
id: "A", | |
next: ["B"] | |
}, | |
{ | |
id: "B", | |
next: ["C", "D", "E", "F", "M"] | |
}, | |
{ |
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
// LimitWaitGroup - is the special kind of Wait Group. | |
// It works similar to sync.WaitGroup with Add and Done methods, | |
// but instead of Wait method it brings InsureLimit method. | |
// InsureLimit - will block the thread if pending | |
// proccesses counter breaks to provided threshold (limit) count | |
// Also SetLimit method allows dynamic change of group limit | |
type LimitWaitGroup struct { | |
limit int | |
count int | |
cond *sync.Cond |
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
/* | |
* File: bst.js | |
* | |
* A pure JavaScript implementation of a binary search tree. | |
* | |
*/ | |
/* | |
* Class: BST | |
* |
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
(()=> { | |
const submit = document.querySelector('#search-frm button[type="submit"]') | |
const utterThis = new SpeechSynthesisUtterance('Found ticket'); | |
const id = setInterval(() => { | |
const table = document.querySelector('#train-list .train-table') | |
if (!table) { | |
submit.click() | |
return | |
} | |
console.log(table) |
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
package main | |
import ( | |
"os/exec" | |
"fmt" | |
"time" | |
) | |
func main() { | |
var newDbName string |
NewerOlder