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
drop table if exists stuff; | |
create table if not exists stuff ( | |
id bigserial primary key not null, | |
name character varying (10) not null, | |
position smallint not null default 0 | |
); | |
create unique index if not exists name_idx on stuff (name asc); | |
create index if not exists position_idx on stuff (position asc); |
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
package main | |
// Qualys' SSL Labs is a great tool for testing a URL's security: https://www.ssllabs.com/ssltest/ | |
// They provide an API so you can test URLs programatically: https://www.ssllabs.com/projects/ssllabs-apis/ | |
// | |
// Essential Kaos created and maintains a Go library to interface to the SSL Labs API: https://github.com/essentialkaos/sslscan | |
// There were no examples of use for the above library. | |
// | |
// Essential Kaos created and maintains a CLI application to scan URLs, which uses his library: https://github.com/essentialkaos/sslcli | |
// |
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 | |
# Put in /usr/local/bin/hdmi1 and chmod +x it. Run with 'hdmi1'. | |
pacmd set-default-sink "alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink" |
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
// Van Eck Sequence | |
// Run with: `go run van-eck-sequence.go` | |
package main | |
import ( | |
"flag" | |
"fmt" | |
"os" |
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
qzbw | |
qez | |
xgedfibnyuhqsrazlwtpocj | |
fxgpoqijdzybletckwaunsr | |
pwnqsizrfcbyljexgouatd | |
ljtperqsodghnufiycxwabz | |
uk | |
kupacjlriv |
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 | |
shellcheck "$0" || exit 1 | |
IP=1.2.3.4 | |
OUT=test-ssh.log | |
DELAY_MIN=2 | |
DELAY_MAX=128 | |
DELAY=$DELAY_MIN |
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 | |
# Each 'run' generates 10 unique URLs, so if RUNS=10 you'll get 100 lines out. | |
# Requires `gpw` to be installed, as a source for nice, random strings. | |
FILE=large-test.csv | |
RUNS=10000 | |
if test -f "$FILE"; then | |
truncate -s 0 $FILE |
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
To use this command in Java 1.13, do this for the first command block: | |
`/execute if entity @e[type=minecraft:armor_stand, name=CircleStand] at @e[type=minecraft:armor_stand, name=CircleStand] run tp @e[type=minecraft:armor_stand, name=CircleStand] ~ ~ ~ ~1 ~` | |
Set to *repeating*. | |
And for the second command block, do this: | |
`execute at @e[type=armor_stand, name=CircleStand] run setblock ^ ^ ^10 gold_block` |
On server to be Frontail-ed:
Download frontail from https://github.com/mthenw/frontail:
$ wget https://github.com/mthenw/frontail/releases/download/v4.9.0/frontail-linux
Move to /usr/local/bin/:
NewerOlder