Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

SALDIN ILYA isaldin

🏠
Working from home
View GitHub Profile
View pk.json
[ { privateKey: "0x60ddFE7f579aB6867cbE7A2Dc03853dC141d7A4aB6DBEFc0Dae2d2B1Bd4e487F", balance: _1e36Str },
{ privateKey: "0xeaa445c85f7b438dEd6e831d06a4eD0CEBDc2f8527f84Fcda6EBB5fCfAd4C0e9", balance: _1e36Str },
{ privateKey: "0x8b693607Bd68C4dEB7bcF976a473Cf998BDE9fBeDF08e1D8ADadAcDff4e5D1b6", balance: _1e36Str },
{ privateKey: "0x519B6e4f493e532a1BEbfeB2a06eA25AAD691A17875cCB38607D4A4C28DFADC2", balance: _1e36Str },
{ privateKey: "0x09CFF53c181C96B42255ccbCEB2CeE7012A532EcbcEaaBab4d55a47E1874FbFC", balance: _1e36Str },
{ privateKey: "0x054ce61b1eA12d9Edb667ceFB001FADB07FE0C37b5A74542BB0DaBF5DDeEe5f0", balance: _1e36Str },
{ privateKey: "0x42F55f0dFFE4e9e2C2BdfdE2FF98f3d1ea6d3F21A8bB0dA644f1c0e0Acd84FA0", balance: _1e36Str },
{ privateKey: "0x8F3aFFEC01e78ea6925De62d68A5F3f2cFda7D0C1E7ED9b20d31eb88b9Ed6A58", balance: _1e36Str },
{ privateKey: "0xBeBeF90A7E9A8e018F0F0baBb868Bc432C5e7F1EfaAe7e5B465d74afDD87c7cf", balance: _1e36Str },
{ privateKey: "0xaD55BABd2FdceD7aa85eB1FEf47C455DBB7a57a46a16aC9ACFFBE66d7Caf
View ff.json
[
{
"title":"Prod API",
"lsPath":"1inchProdApi",
"trueValue":"1"
},
{
"title":"Fake wallet enabled",
"lsPath":"enableFakeWallet",
"trueValue":"true"
@isaldin
isaldin / launch.json
Created Mar 6, 2020
vscode: debug ts project with nvm
View launch.json
{
"name": "<name>",
"type": "node",
"request": "launch",
"runtimeExecutable": "${env:HOME}/.nvm/versions/node/v11.15.0/bin/node", // path to node
"args": [
"-r",
"ts-node/register",
"${workspaceRoot}/src/index.ts" // path to start file
],
View Clear all Node Modules Folders Recursively
move to parent folder and run
`find . -name "node_modules" -type d -prune -exec rm -rf '{}' +`
@isaldin
isaldin / launch.json
Created Mar 5, 2020 — forked from cecilemuller/launch.json
Run ts-node in VSCode Debugger
View launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Node Inspector",
"type": "node",
"request": "launch",
"args": ["${workspaceRoot}/src/service.ts"],
"runtimeArgs": ["-r", "ts-node/register"],
"cwd": "${workspaceRoot}",
View devops_notes.md

show disk usage df -h

who is listening ports lsof -i -P -n | grep LISTEN

docker

remove intermediate/unused images docker rmi $(docker images -f dangling=true -q --no-trunc) -f

@isaldin
isaldin / AtomSubscriber.swift
Created Jun 22, 2016
AtomSubscriber template
View AtomSubscriber.swift
//
// ___FILENAME___
// ___PROJECTNAME___
//
// Created ___FULLUSERNAME___ on ___DATE___.
// Copyright © ___YEAR___ ___ORGANIZATIONNAME___. All rights reserved.
//
// Generated by Atom templates.
//
@isaldin
isaldin / StateName.swift
Last active Jun 21, 2016
AtomState template
View StateName.swift
extension State {
struct <STATE_NAME>: AtomState {
typealias EventType = Event
static var parentClass: AtomNode.Type = <#PARENT_CLASS_TYPE#>
static func react(optionalCurrent: <STATE_NAME>?, event: EventType) -> <STATE_NAME> {
guard var current = optionalCurrent else { return initial() }
View scan_handler.swift
// MARK: CardIOViewDelegate methods
func cardIOView(cardIOView:CardIOView, didScanCard info:CardIOCreditCardInfo?)
{
guard info != nil else { return }
if let cardNumber = info!.cardNumber {
Dispatcher.instance.perform(Dispatcher.Action.UpdateField(key: props.cardNumberFieldKey, value: cardNumber))
}
View UIColorFromHex.h
#define UIColorFromHex(hexValue) \
[UIColor colorWithRed:((float)((hexValue & 0xFF0000) >> 16))/255.0 \
green:((float)((hexValue & 0x00FF00) >> 8))/255.0 \
blue:((float)((hexValue & 0x0000FF) >> 0))/255.0 \
alpha:1.0]