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
html,body,#wrapper { | |
width: 100%; | |
height: 100%; | |
margin: 0px; | |
} | |
.chart { | |
font-family: Arial, sans-serif; | |
font-size: 12px; | |
} |
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 | |
################################################################### | |
#Script Name : mysql-8-bug.sh | |
#Description : A bug with MySQL 8.0.1 - 8.0.29. Running parallel TRUNCATE causing foreign key constraint fails. Filed with MySQL team at https://bugs.mysql.com/bug.php?id=107532 | |
#Author : Dimitry Kudryavtsev | |
#Email : dimitry@mentful.com | |
################################################################### | |
DB_USER='root'; | |
DB_PASSWD='root'; |
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
################################################################### | |
#Script Name : redis-delete | |
#Description : Given a host, port and pattern to delete from Redis. Example ./redis-delete.sh redis-XXXX.XXXX.com 6379 stage:* | |
#Args : <host> <port> <pattern> | |
#Author : Dimitry Kudryavtsev | |
#Email : dimitry@mentful.com | |
################################################################### | |
if [ $# -ne 3 ] | |
then |
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 | |
#title :simple-transaction.sh | |
#donations :ADA: addr1q832gesdnxn9twyymtqmqywcsutmqc23u6wghr5y44mmyn6dze685vgkuem8hvd3kdej7kpzuzf7wxk3qndrmwjplusq5rr3d6 | |
#description :This script makes it easy to send a simple transaction from one address to another, see https://docs.cardano.org/projects/cardano-node/en/latest/stake-pool-operations/simple_transaction.html. | |
#author :Dimitry Kudryavtsev (dimitry@mentful.com) | |
#version :1 | |
#usage :./simple-transaction.sh <File with address of the sending wallet, payment.addr> <File with address of the receiving address payment2.addr> <File with the skey (payment.skey) sending wallet> | |
#notes :For updates, please look at https://gist.github.com/dk8996/6dc32b3dd8dab6786e6f15d64a18267e | |
#============================================================================== |
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 | |
#title :pool-reg-crt.sh | |
#donations :ADA: addr1q832gesdnxn9twyymtqmqywcsutmqc23u6wghr5y44mmyn6dze685vgkuem8hvd3kdej7kpzuzf7wxk3qndrmwjplusq5rr3d6 | |
#description :This script makes it easy to register your pool, see https://docs.cardano.org/projects/cardano-node/en/latest/stake-pool-operations/register_stakepool.html. | |
#author :Dimitry Kudryavtsev (dimitry@mentful.com) | |
#version :1 | |
#usage :./pool-reg-crt.sh <payment.addr> <payment.skey> <stake.skey> <cold.skey> <pool-registration.cert> <delegation.cert> | |
#notes :For updates, please look at https://gist.github.com/dk8996/f86100caa74c4afc43e7b7125cff9671 | |
#============================================================================== |
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
html,body,#wrapper { | |
width: 100%; | |
height: 100%; | |
margin: 0px; | |
} | |
.chart { | |
font-family: Arial, sans-serif; | |
font-size: 12px; | |
} |
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
html,body,#wrapper { | |
width: 100%; | |
height: 100%; | |
margin: 0px; | |
} | |
.chart { | |
font-family: Arial, sans-serif; | |
font-size: 12px; | |
} |
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 com.typesafe.scalalogging.slf4j.Logging | |
import play.api.mvc._ | |
import scala.concurrent.Future | |
import play.mvc.Results._ | |
import play.api.libs.concurrent.Execution.Implicits.defaultContext | |
object HTTPSRedirectFilter extends Filter with Logging { | |
def apply(nextFilter: (RequestHeader) => Future[SimpleResult])(requestHeader: RequestHeader): Future[SimpleResult] = { | |
//play uses lower case headers. |
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 com.typesafe.scalalogging.slf4j.Logging | |
import sun.misc.BASE64Decoder | |
import play.api.mvc._ | |
import scala.concurrent.Future | |
import play.mvc.Results._ | |
import play.api.libs.concurrent.Execution.Implicits.defaultContext | |
object BasicAuthFilter extends Filter with Logging { | |
private lazy val unauthResult = Results.Unauthorized.withHeaders(("WWW-Authenticate", | |
"Basic realm=\"myRealm\"")) |
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
html,body,#wrapper { | |
width: 100%; | |
height: 100%; | |
margin: 0px; | |
} | |
.chart { | |
font-family: Arial, sans-serif; | |
font-size: 12px; | |
} |
NewerOlder