initial import
commit
2f5cee408d
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title bgp.he.net/asn
|
||||
# @raycast.argument1 { "type": "text", "placeholder": "ASN" }
|
||||
# @raycast.mode silent
|
||||
# @raycast.packageName Network Utilities
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon 🕸
|
||||
|
||||
open "https://bgp.he.net/AS${1}"
|
@ -0,0 +1,20 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title Generate CPE admin password
|
||||
# @raycast.mode silent
|
||||
# @raycast.packageName Developer Utilities
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon 💻
|
||||
|
||||
import subprocess
|
||||
from xkcdpass import xkcd_password as xp
|
||||
wordfile = xp.locate_wordfile()
|
||||
|
||||
wordlist7 = xp.generate_wordlist( wordfile = wordfile, min_length = 5, max_length = 9 )
|
||||
password = xp.generate_xkcdpassword( wordlist7, numwords = 4, delimiter = '-', case = 'lower' )
|
||||
subprocess.run( [ "/usr/bin/pbcopy" ], input = password.encode( "utf-8" ) )
|
||||
print( password )
|
@ -0,0 +1,20 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title Generate customer session password
|
||||
# @raycast.mode silent
|
||||
# @raycast.packageName Developer Utilities
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon 💻
|
||||
|
||||
import subprocess
|
||||
from xkcdpass import xkcd_password as xp
|
||||
wordfile = xp.locate_wordfile()
|
||||
|
||||
wordlist7 = xp.generate_wordlist( wordfile = wordfile, min_length = 5, max_length = 9 )
|
||||
password = xp.generate_xkcdpassword( wordlist7, numwords = 5, delimiter = '', case = 'capitalize' )
|
||||
subprocess.run( [ "/usr/bin/pbcopy" ], input = password.encode( "utf-8" ) )
|
||||
print( password )
|
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title Generate hex (16 characters)
|
||||
# @raycast.mode silent
|
||||
# @raycast.packageName Developer Utilities
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon 💻
|
||||
|
||||
import binascii
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
subprocess.run( [ "/usr/bin/pbcopy" ], input = binascii.b2a_hex( os.urandom( 8 ) ) )
|
||||
subprocess.run( [ "/usr/bin/pbpaste" ] )
|
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title Generate password (16 characters)
|
||||
# @raycast.mode silent
|
||||
# @raycast.packageName Developer Utilities
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon 💻
|
||||
|
||||
echo -n `pwgen 16 1` | pbcopy
|
||||
pbpaste
|
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title Generate password (32 characters)
|
||||
# @raycast.mode silent
|
||||
# @raycast.packageName Developer Utilities
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon 💻
|
||||
|
||||
echo -n `pwgen 32 1` | pbcopy
|
||||
pbpaste
|
||||
|
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title Generate password (48 characters)
|
||||
# @raycast.mode silent
|
||||
# @raycast.packageName Developer Utilities
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon 💻
|
||||
|
||||
echo -n `pwgen 48 1` | pbcopy
|
||||
pbpaste
|
@ -0,0 +1,20 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title Generate wireless PSK
|
||||
# @raycast.mode silent
|
||||
# @raycast.packageName Developer Utilities
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon 💻
|
||||
|
||||
import subprocess
|
||||
from xkcdpass import xkcd_password as xp
|
||||
wordfile = xp.locate_wordfile()
|
||||
|
||||
wordlist4 = xp.generate_wordlist( wordfile = wordfile, min_length = 4, max_length = 4 )
|
||||
psk = xp.generate_xkcdpassword( wordlist4, numwords = 3, delimiter = '-', case = 'lower' )
|
||||
subprocess.run( [ "/usr/bin/pbcopy" ], input = psk.encode( "utf-8" ) )
|
||||
print( psk )
|
@ -0,0 +1,20 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title Generate SSID name
|
||||
# @raycast.mode silent
|
||||
# @raycast.packageName Developer Utilities
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon 💻
|
||||
|
||||
import subprocess
|
||||
from xkcdpass import xkcd_password as xp
|
||||
wordfile = xp.locate_wordfile()
|
||||
|
||||
wordlist5 = xp.generate_wordlist( wordfile = wordfile, min_length = 5, max_length = 5 )
|
||||
ssid = xp.generate_xkcdpassword( wordlist5, numwords = 3, delimiter = ' ', case = 'capitalize' )
|
||||
subprocess.run( [ "/usr/bin/pbcopy" ], input = ssid.encode( "utf-8" ) )
|
||||
print( ssid )
|
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title Generate UUID
|
||||
# @raycast.mode silent
|
||||
# @raycast.packageName Developer Utilities
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon 💻
|
||||
|
||||
echo -n `uuidgen | tr A-F a-f` | pbcopy
|
||||
pbpaste
|
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title stat.ripe.net
|
||||
# @raycast.argument1 { "type": "text", "placeholder": "ASN / Prefix / etc" }
|
||||
# @raycast.mode silent
|
||||
# @raycast.packageName Network Utilities
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon 🕸
|
||||
|
||||
open "https://stat.ripe.net/${1}"
|
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title whois RIPE
|
||||
# @raycast.argument1 { "type": "text", "placeholder": "Query" }
|
||||
# @raycast.mode fullOutput
|
||||
# @raycast.packageName Network Utilities
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon ⁉️
|
||||
|
||||
whois -h whois.ripe.net ${1}
|
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title whois
|
||||
# @raycast.argument1 { "type": "text", "placeholder": "Query" }
|
||||
# @raycast.mode fullOutput
|
||||
# @raycast.packageName Network Utilities
|
||||
|
||||
# Optional parameters:
|
||||
# @raycast.icon ⁉️
|
||||
|
||||
whois ${1}
|
Loading…
Reference in New Issue