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
{ | |
"doc": [ | |
"This test does", | |
"Runs a translator proxy", | |
"Runs /example/sv1-mining-device", | |
"Waits that receives SetupConnection message", | |
"Reply with .Success", | |
"Waits that the tproxy sends OpenExtendedMiningChannel", | |
"Responds with OpenExtendedMiningChannelSuccess", | |
"Sends NewExtendedMiningJob and SetNewPrevHash to the tproxy", |
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
#!/usr/bin/env python3 | |
from decimal import * | |
def main(): | |
getcontext().prec = 30 | |
getcontext().rounding = ROUND_HALF_EVEN | |
s0 = Decimal(0.16670847) | |
sigma = Decimal(0.0427111) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<channel name="xfce4-keyboard-shortcuts" version="1.0"> | |
<property name="commands" type="empty"> | |
<property name="default" type="empty"> | |
<property name="<Alt>F1" type="empty"/> | |
<property name="<Alt>F2" type="empty"> | |
<property name="startup-notify" type="empty"/> | |
</property> | |
<property name="<Alt>F3" type="empty"> |
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://remix.oraclize.it/#plugintitle=Oraclize&pluginurl=https://remix-plugin.oraclize.it&gist=9817193e5b05206847ed1fcd1d16bd1d&optimize=true&version=soljson-v0.4.24+commit.e67f0147.js |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
'use strict' | |
/* Finds all the solutions to the N-Towers algorithm. | |
* | |
* @param number_of_towers number of towers to try to place in the chessboard | |
* @param number_of_lines chessboard's ones | |
* @param number_of_columns chessboard's ones | |
* @returns {nTowersSolutions} array containing all the solutions | |
* "Tower" = presence of a tower in this square of the chessboard | |
* "Nothing" = no tower in this square of the chessboard | |
* "Blocked" = the cell is blocked |
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
# Scroll History | |
set -g history-limit 50000 | |
# Set ability to capture on start and restore on exit window data when running an application | |
setw -g alternate-screen on | |
# Scroll with mouse | |
setw -g mouse on | |
# Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access. |
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
#-----------------------tipo1-----------------------# | |
import csv | |
parsed = [] | |
nomeFile = 'eur1.csv' | |
with open(nomeFile,'r') as csvfile: | |
rd = csv.reader(csvfile, delimiter=',', quotechar='|') | |
for row in rd: | |
parsed.append(row) | |
def findRef(string): |
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
'use strict'; | |
require('babel-polyfill');//"~6.7.4" | |
var c = 0; | |
var counter = 0; | |
var thisNotWork = function _callee() { | |
return regeneratorRuntime.async(function _callee$(_context) { | |
while (1) { | |
switch (_context.prev = _context.next) { |
NewerOlder