Remember, Xmx corresponds to max heap and Xms corresponds to starting heap. It can be an optimization to set these equal.
bootRun {
jvmArgs = ['-Xmx1g']
}
""" | |
This works as of October 2023 | |
pip3 install bitcoinlib | |
""" | |
from bitcoinlib.keys import HDKey | |
def check_address_in_xpub(xpub, address_to_check, segwit_type): |
#first install all the things: | |
sudo apt-get install flac ffmpeg mp3splt libav-tools shntool | |
# Okay first lets do an MP3: | |
# input files: | |
# --> cd.ape | |
# --> cp.cue | |
# (there are other options, like bitrate, but this is just the bare bones) | |
avconv -i cd.ape cd.mp3 |
#!/usr/bin/ruby -w | |
=begin | |
How to use, windows: | |
go to C:/Program Files (x86)/Bitcoin/daemon/ | |
and execute ".\bitcoin -help" | |
You will need to create bitcoin.conf file @: | |
C:\Users\usr\AppData\Roaming\Bitcoin |
<html> | |
<head> | |
<title>Canvas Boilerplate</title> | |
<style type="text/css"> | |
*,html{ | |
margin: 0;padding: 0; | |
} | |
canvas { | |
width: 100%; |
I hereby claim:
To claim this, I am signing this object:
import numpy as np | |
### <summary> | |
### Basic template algorithm simply initializes the date range and cash. This is a skeleton | |
### framework you can use for designing an algorithm. | |
### </summary> | |
class BasicTemplateAlgorithm(QCAlgorithm): | |
'''Basic template algorithm simply initializes the date range and cash''' | |
def Initialize(self): |
const Alpaca = require('@alpacahq/alpaca-trade-api') | |
const getKeyId = () => process.env.APCA_API_KEY_ID | |
const getSecretKey = () => process.env.APCA_API_SECRET_KEY | |
export const alpaca = new Alpaca({ | |
keyId: getKeyId(), | |
secretKey: getSecretKey(), | |
paper: false, | |
usePolygon: false, |
[ | |
{"Country Code":"USA","Established Customers":"5009","Total Customers":"3900343","Pct Active Accounts":"90"}, | |
{"Country Code":"CAN","Established Customers":"3389","Total Customers":"300043","Pct Active Accounts":"80"}, | |
{"Country Code":"MEX","Established Customerz":"2890","Total Customers":"zzzz","Pct Active Accounts":"70"} | |
] |
/* | |
Little code for my 10 LED bar graph. | |
This is just a basic outline for making all the segments light up at diff. intervals. | |
looks OK but not super organized. | |
*/ | |
int numPins = 10; | |
int ledPins[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; | |
int ledStates[] = {LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW, LOW}; |