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
Compiling your contracts... | |
=========================== | |
- Fetching solc version list from solc-bin. Attempt #1 | |
✔ Downloading compiler. Attempt #1. | |
> Compiling ./contracts/A.sol | |
> Compiling ./contracts/B.sol | |
> Compiling ./contracts/G.sol | |
> Compiling ./contracts/Migrations.sol | |
> Compilation warnings encountered: |
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
2022-01-05T15:04:51: [65 - 02_continuous_reader] block_num: 47, block_size: 186, traces_size: 335, deltas_size: 526 | |
2022-01-05T15:04:51: [71 - 03_deserializer] Delta struct [contract_row] processing error: Cannot read properties of undefined (reading 'toString') | |
2022-01-05T15:04:51: [71 - 03_deserializer] [ | |
2022-01-05T15:04:51: 'contract_row_v0', | |
2022-01-05T15:04:51: { | |
2022-01-05T15:04:51: code: 'eosio', | |
2022-01-05T15:04:51: scope: 'eosio', | |
2022-01-05T15:04:51: table: 'global', | |
2022-01-05T15:04:51: primary_key: '7235159537265672192', | |
2022-01-05T15:04:51: payer: 'eosio', |
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 | |
import time | |
import pygame | |
from pygame.math import Vector2 | |
# ordinary pygame init |
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
from queue import Queue, Empty | |
import trio | |
import pygame | |
from pygame import Rect | |
async def trio_main(): | |
for x in range(4): |
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
#include <unistd.h> | |
#ifdef __MACH__ | |
#include <mach/clock.h> | |
#include <mach/mach.h> | |
#endif | |
#include "butiac.h" | |
#include "list.h" |
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 math | |
import trio | |
class AsyncQueue: | |
def __init__(self): | |
self.history = [] | |
self.inport, self.outport = trio.open_memory_channel(math.inf) |
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 sh | |
# Usage: | |
# sh cross-gcc-install.sh [arguments] | |
# Use this script to download, build and install a gcc cross compiler in ubuntu. Requires root permisions.\n | |
# Arguments: | |
# | |
# [-t|--target] - Set target architecture. Default: "i686-elf" | |
# [-df|--dependency-file] - Set explicit dependency file. Will try to install with apt-get. Default: "gcc-build-requirements" | |
# [-lf|--log-file] - Set log file. Default: ".gcc-install-log" |
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
function PalabraEnPosicion (palabra : TPalabra; cuadro : TCuadro; posicion : TPosicion) : boolean; | |
var i : integer; | |
begin | |
i := 1; | |
while (i > 0) and (i <= palabra.largo) do | |
if ((posicion.columna + i - 1) > MaxColumna) or (cuadro[posicion.fila, posicion.columna + i - 1] <> palabra.letras[i]) then i := -1 else inc(i); | |
PalabraEnPosicion := true and (i > 0) | |
end; | |
procedure ResolverSopa (cuadro : TCuadro; palabras : ConjuntoPalabras; var resultado: OcurrenciasPalabras); | |
var aux, iter : ListaPosiciones; |
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
Program Tarea1{input, output}; | |
Const MAXLARGO = 7; | |
Var | |
base, number, digits, currentDigit : LongInt; | |
currentChar: Char; | |
Begin | |
While currentChar <> '$' Do | |
Begin | |
number := 0; | |
Read(currentChar); |
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
list *times = lnew(); | |
unsigned char raw[6]; | |
struct timespec before; | |
struct timespec after; | |
for(int i = 0; i < 1000; i++){ | |
clock_gettime(CLOCK_MONOTONIC, &before); | |
dev_write_to(bdevh->head->value, opcode, 1, handler); | |
dev_read(bdevh->head->value, raw, 6); | |
//printf("Distance[%d]: {%d}\n", handler, 65536 - (raw[4] + raw[5] * 256)); |
NewerOlder