Skip to content

Instantly share code, notes, and snippets.

View arthuryeti's full-sized avatar

Arthur Yeti arthuryeti

View GitHub Profile
import { ReactNode, useEffect } from "react";
import { ChainProvider } from "@cosmos-kit/react";
import { GasPrice } from "@cosmjs/stargate";
import { SignerOptions } from "@cosmos-kit/core";
import { Chain, AssetList } from "@chain-registry/types";
import { wallets } from "@cosmos-kit/keplr-extension";
import { getSigningPryzmClientOptions } from "@pryzm-finance/pryzmjs";
import { wallets as leap } from "@cosmos-kit/leap-extension";
import { wallets as station } from "@cosmos-kit/station";
import { ReactNode } from "react";
import { ChainProvider } from "@cosmos-kit/react";
import { GasPrice } from "@cosmjs/stargate";
import { SignerOptions } from "@cosmos-kit/core";
import { Chain, AssetList } from "@chain-registry/types";
import { wallets } from "@cosmos-kit/keplr";
import { getSigningPryzmClientOptions } from "@pryzm-finance/pryzmjs";
import { wallets as leap } from "@cosmos-kit/leap";
type Props = {
pipenv install --dev 1911ms  Sam 5 oct 17:27:59 2019
Installing dependencies from Pipfile.lock (076183)…
An error occurred while installing appdirs==1.4.3 --hash=sha256:9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92 --hash=sha256:d8b24664561d0d34ddfaec54636d502d7cea6e29c3eaf68f3df6180863e2166e! Will try again.
An error occurred while installing astroid==2.3.0 --hash=sha256:9b3f17b0550f82e28a6776a4e5222441f48e523b0773df4bc505bb6b7c2093b7 --hash=sha256:c7e2e5773d87ccc00d01c273e439386f4d6d63cce61317a79ccce5880162f9fb! Will try again.
An error occurred while installing attrs==19.1.0 --hash=sha256:69c0dbf2ed392de1cb5ec704444b08a5ef81680a61cb899dc08127123af36a79 --hash=sha256:f0b870f674851ecbfbbbd364d6b5cbdff9dcedbc7f3f5e18a6891057f21fe399! Will try again.
An error occurred while installing autopep8==1.4.4 --hash=sha256:4d8eec30cc81bc5617dbf1218201d770dc35629363547f17577c61683ccfb3ee! Will try again.
An error occur

collection_sponsors.js

  • You need to create a package called sponsor.
  • The check with Helpers.isAdmin() need to done with allow/deny callback on collection.
  • Sponsors.insert need to be insertSponsor
  • Sponsors.remove need to be removeSponsor

routes.js

  • scrollToTop should be added in a filter that will be called onAfterAction on every pages
{
"results": [
{
"createdAt": "2015-01-08T10:50:43.046Z",
"description": "The London Project aims to provide a space for digital nomads to live, work, collaborate and share knowledge whilst engaging the local startup community.",
"image": {
"__type": "File",
"name": "london.jpg",
"url": "http://files/london.jpg"
},
moduleKeywords = ['extended', 'included']
class NvModel
@_resource = {}
@_all = []
@all: ->
models = _.map @_all, (model) =>
@arthuryeti
arthuryeti / d3.timeview.js
Last active August 29, 2015 13:56
Timeview d3 plugins preview
(function() {
d3.timeview = function() {
var barHeight = 20,
gap = barHeight + 4,
width = 1160,
height = 500,
sidePadding = 200,
dateFormat = d3.time.format("%Y-%m-%d");