This file contains hidden or 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
unit UnPerfCounter; | |
interface | |
uses | |
windows, SysUtils; | |
type | |
{: Um contador de alta performance, utilizado para realizar medições de | |
tempo/velocidade. } |
This file contains hidden or 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 sistema; | |
uses | |
unPerfCounter, | |
Forms, | |
Unit1 in 'Unit1.pas' {Form1}, | |
//... | |
Unit1000 in 'Unit1000.pas' {Form1000}; | |
{$R *.RES} |
This file contains hidden or 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
unit unDebugUnitInitOrder; | |
interface | |
uses | |
Windows, SysUtils, Classes, Forms, StrUtils, JclDebug; | |
procedure extractUnitOrder; | |
implementation |
This file contains hidden or 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
/** My dynamic CSS loader for embedding. */ | |
(function () { | |
var MDWSLoader = { | |
/** Sets the CSS files used by the system. */ | |
setCSS: function (files) { | |
this.cssFiles = files; | |
}, | |
/** Load the css files using document.write(link...). */ |
This file contains hidden or 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 | |
DEVICE=$1 | |
TARGETVM=$2 | |
USB_DEVICE=`qvm-usb |grep $DEVICE |cut -f1` | |
# Is it already attached | |
qvm-usb |grep $USB_DEVICE | grep "(attached to " | |
if [ $? -eq 0 ]; then | |
echo "detatching $DEVICE" | |
qvm-usb -d $USB_DEVICE |
This file contains hidden or 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 | |
# Bash Autoclicker | |
# Simulates key presses automatically when the mouse is moved | |
# Written by matheusd.com | |
# License: Public | |
((OLDX=0)) | |
((OLDY=0)) | |
((LIMIT = 4 * 4)) |
This file contains hidden or 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/sh | |
# Use as ./vid2gif.sh <filename.mp4> | |
SRC=$1 | |
DST="$1.gif" | |
ffmpeg -y -i $SRC -vf fps=10,scale=1280:-1:flags=lanczos,palettegen palette.png | |
ffmpeg -y -i $SRC -i palette.png -filter_complex "fps=10,scale=1280:-1:flags=lanczos[x];[x][1:v]paletteuse" $DST |
This file contains hidden or 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
// This is a bookmarklet to improve github's PR inputs (the PR title and PR comment) | |
// This adds a maxlength of 50 to the PR title and changes the comment to use a | |
// monospaced font. | |
// | |
// To use it, add a bookmark to your browser's bookmark bar and copy the following | |
// line as its content. | |
javascript:(function(){document.getElementById("pull_request_title").maxLength = 50; document.getElementById("pull_request_body").style.fontFamily = 'Mono' ; document.getElementById("pull_request_body").parentNode.style.backgroundColor = "#ffffc0" })() |
This file contains hidden or 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/sh | |
# Minimal tmux script to create a master dcrd simnet node + ticket | |
# bying wallet. Heavily based on davecgh script at: | |
# https://gist.github.com/davecgh/7bb5c995665787811dc6a6ddbb49688d | |
set -e | |
SESSION="dcrd-fees" | |
NODES_ROOT=~/dcrdsimnetnodes | |
RPCUSER="USER" |
This file contains hidden or 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
| 1| 2| 3| 4| 5| 6| 7| 8| 9| 10| 11| 12| 13| 14| 15| 16| 17| 18| 19| 20| 21| 22| 23| 24| 25| 26| 27| 28| 29| 30| 31| +Inf | |
0.00010000| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 0.0| 0.00000000 |
OlderNewer