This file contains hidden or 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
library ieee; | |
use ieee.std_logic_1164.all; | |
use ieee.numeric_std.all; | |
entity frame_writer is | |
port ( | |
clk : in std_logic := '0'; -- clk.clk | |
reset : in std_logic := '0'; -- reset.reset | |
ctl_write : in std_logic := '0'; -- ctl.write | |
ctl_writedata : in std_logic_vector(31 downto 0) := (others => '0'); -- .writedata |
This file contains hidden or 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
Setup: 'avalon_sys_inst|sdram_pll|sd1|pll7|clk[0]' report for main | |
Sun Apr 10 11:20:04 2016 | |
Quartus Prime Version 15.1.1 Build 189 12/02/2015 SJ Lite Edition | |
--------------------- | |
; Table of Contents ; | |
--------------------- | |
1. Legal Notice | |
2. Fast 1200mV 0C Model Setup: 'avalon_sys_inst|sdram_pll|sd1|pll7|clk[0]' |
This file contains hidden or 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 wokytwitter | |
import scala.concurrent.ExecutionContext.Implicits.global | |
object Main extends App { | |
import com.danielasfregola.twitter4s.TwitterRestClient | |
import com.danielasfregola.twitter4s.TwitterStreamingClient | |
val restClient = TwitterRestClient() |
This file contains hidden or 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 fs = require('fs'); | |
const crypto = require("crypto"); | |
const sqlite3 = require('sqlite3').verbose(); | |
const sqljs = require('sql.js'); | |
const zencashjs = require('zencashjs'); | |
function decryptWallet(login, password, path) { | |
let i = Buffer.byteLength(login); | |
let inputBytes = fs.readFileSync(path); | |
let recoveredLogin = inputBytes.slice(0, i).toString("utf8"); |
This file contains hidden or 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
POST /insight-api-zen/tx/send HTTP/1.1 | |
content-type: multipart/form-data;boundary=--------------------------169936334099816031804939 | |
accept: */* | |
content-length: 762 | |
user-agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch) | |
accept-encoding: gzip,deflate | |
connection: close | |
Host: explorer.zenmine.pro | |
----------------------------169936334099816031804939 |
This file contains hidden or 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 { Pinboard } from './Pinboard.js'; | |
//////////////////////////////////////////////////////////////////////////////// | |
const CMD_BOOKMARK = 'bookmark'; | |
const CMD_READLATER = 'readLater'; | |
const FLAG_TOREAD = 1; | |
let settings = { | |
syncPeriod: 10, | |
apiToken: null | |
}; | |
let pb; |
This file contains hidden or 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
export class Pinboard { | |
constructor(apiToken) { | |
this.authToken = apiToken; | |
} | |
fetchApi(path, params = {}) { | |
let urlParams = new URLSearchParams(); | |
for (let [key, value] of Object.entries(params)) | |
urlParams.append(key, value); | |
urlParams.append('auth_token', this.authToken); | |
urlParams.append('format', 'json'); |
This file contains hidden or 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
% ./scripts/p2p-test-tool.py -b -p 2 -t -T integration1 | |
Removing resources for docker network rchain.coop | |
removing rchain.coop | |
Starting bootstrap node. | |
Starting bootstrap node. | |
creating bootstrap.rchain.coop | |
Installing additonal packages on container. | |
Starting peer nodes. | |
Create and run peer nodes to connect via bootstrap. | |
creating peer0.rchain.coop |
This file contains hidden or 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
% while :; do ./bin/rnode deploy --from "0x1" --phlo-limit 0 --phlo-price 0 --nonce 0 ../../work/rchain/rholang/examples/tut-hello.rho ; ./bin/rnode propose; sleep 1; done | |
19:29:32.560 [main] INFO c.r.n.configuration.Configuration$ - Starting with profile default | |
Response: Success! | |
./bin/rnode deploy --from "0x1" --phlo-limit 0 --phlo-price 0 --nonce 0 8,21s user 0,49s system 142% cpu 6,087 total | |
19:29:37.853 [main] INFO c.r.n.configuration.Configuration$ - Starting with profile default | |
Response: Success! Block e877d67b98... created and added. | |
./bin/rnode propose 7,23s user 0,34s system 112% cpu 6,705 total | |
19:29:45.929 [main] INFO c.r.n.configuration.Configuration$ - Starting with profile default | |
Response: Success! | |
./bin/rnode deploy --from "0x1" --phlo-limit 0 --phlo-price 0 --nonce 0 8,23s user 0,60s system 141% cpu 6,265 total |
This file contains hidden or 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
02:08:13.016 [grpc-default-executor-107] INFO c.r.casper.MultiParentCasperImpl - Received Deploy #1536545292539 -- @{"dupe"}!(5) | for( @{x0... | |
@{["@@highCard game:", Unforgeable(0x53a1ab13f9ae9a0b666324ec94479e6ef3ee4e908c04f712063637c8ed86dfdf)]} | |
@{["@@pick from among:", [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]]} | |
@{["@@pick from among:", ["Diamonds", "Clubs", "Hearts", "Spades"]]} | |
@{["@@pick from among:", [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]]} | |
@{["@@pick from among:", ["Diamonds", "Clubs", "Hearts", "Spades"]]} | |
@{["winner", ("Spades", 10)]} | |
@{["loser", ("Spades", 2)]} | |
@{["@@highCard game:", Unforgeable(0x38be3c6f0e92ceee8f9c78c9e788090a34f80aef06cc0a71886df7dd6c9eba8a)]} | |
@{["@@pick from among:", ["Diamonds", "Clubs", "Hearts", "Spades"]]} |
OlderNewer