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
var gulp = require('gulp'), | |
runSequence = require('run-sequence'), | |
coffee = require('gulp-coffee'), | |
htmlreplace = require('gulp-html-replace'), | |
del = require('del'), | |
copy = require('gulp-copy'), | |
wait = require('gulp-wait'), | |
gutil = require('gulp-util'), | |
cordova = require("cordova-lib").cordova; |
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
#!/bin/bash | |
# this script expects scripts named <cointag> in the minerscripts sub directory | |
# Passing 'i' to this scripts will ask before starting to mine, answer 'n' to quit | |
# or 'c' to ask for the next available coin | |
# running without arguments starts mining the first available coin | |
# | |
# Example: | |
# | |
# cat ./minerscripts/ETH |
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
/* | |
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD | |
* | |
* SPDX-License-Identifier: Apache-2.0 | |
*/ | |
#include <stdio.h> | |
#include <string.h> | |
#include "esp_err.h" | |
#include "esp_log.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 json | |
import os | |
import sys | |
from collections import defaultdict | |
from tqdm import tqdm | |
import argparse | |
import torch | |
from safetensors.torch import load_file, save_file |