mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
adding more scripts
This commit is contained in:
parent
a30cf769bf
commit
186f877da8
2 changed files with 6 additions and 0 deletions
2
scripts/fix_redis_json
Executable file
2
scripts/fix_redis_json
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
sed 's/\\\"/"/g'
|
||||
4
scripts/randomhex
Executable file
4
scripts/randomhex
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
head -c$1 </dev/urandom|xxd -ps | sed 's/.\{32\}/&\n/g' | sed 's/.\{2\}/0x&, /g'
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue