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 | |
export FULL_NODE_HOSTNAME=localhost | |
export DB_SOURCE_DIR=$HOME/.chia/mainnet/db | |
export START_HEIGHT=1146800 | |
export TARGET_HEIGHT=2311760 | |
usage() { | |
cat << EOF | |
Usage: $0 [-psc] [-t "<tail:prefix> <tail:prefix> ..."] |
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 | |
###### | |
# | |
# Make sure Chia is in your PATH env variable, or that you activate your chia virtual environment before running this script. Everyone's setup is different. | |
# | |
##### | |
usage() { echo "Usage: $0 [-f <wallet_fingerprint>]" 1>&2; exit 1; } | |
[ $# -eq 0 ] && usage |
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
<?php | |
/** | |
* cacheguard plugin for cacheguard extra | |
* | |
* Copyright 2013 by JP DeVries jp@modx.com | |
* Created on 06-21-2013 | |
* | |
* cacheguard is free software; you can redistribute it and/or modify it under the | |
* terms of the GNU General Public License as published by the Free Software | |
* Foundation; either version 2 of the License, or (at your option) any later |
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
const ( | |
PACKET_DATA_SIZE uint = 65507 | |
) | |
var packets [][]byte | |
if length := len(slice); length >= PACKET_DATA_SIZE { | |
limit := length/PACKET_DATA_SIZE | |
for i := 0; i < limit; i++ { | |
if (i+1)*PACKET_DATA_SIZE < length { | |
packets = append(packets, slice[i*PACKET_DATA_SIZE:(i+1)*PACKET_DATA_SIZE]) |
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 | |
export DISPLAY=:0 | |
export GPU_MAX_ALLOC_PERCENT=100 | |
export GPU_USE_SYNC_OBJECTS=1 | |
export GPU_MAX_HEAP_SIZE=100 | |
xhost +local: | |
amdconfig --odsc 1050,1200 --adapter=all |
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
Index: release/scripts/startup/bl_ui/properties_texture.py | |
=================================================================== | |
--- release/scripts/startup/bl_ui/properties_texture.py (revision 52857) | |
+++ release/scripts/startup/bl_ui/properties_texture.py (working copy) | |
@@ -882,6 +882,7 @@ | |
col = split.column() | |
if tex.texture_coords in {'ORCO', 'UV'}: | |
col.prop(tex, "use_from_dupli") |