rpm -qip <yourpackage.rpm>
yum info <yourpackage>
rpm -qlp <yourpackage.rpm>
repoquery -l
<?php | |
//SCHEISS ENCODING!!! | |
//via: http://php.net/manual/de/function.mb-detect-encoding.php#68607 | |
function detectUTF8($string){ | |
return preg_match('%(?: | |
[\xC2-\xDF][\x80-\xBF] # non-overlong 2-byte | |
|\xE0[\xA0-\xBF][\x80-\xBF] # excluding overlongs | |
|[\xE1-\xEC\xEE\xEF][\x80-\xBF]{2} # straight 3-byte | |
|\xED[\x80-\x9F][\x80-\xBF] # excluding surrogates | |
|\xF0[\x90-\xBF][\x80-\xBF]{2} # planes 1-3 |
#!/bin/bash | |
# author: Matschundbrei <[email protected]> | |
# usage | |
USAGE="usage: `basename $0` name.domain.tld type value [ttl]" | |
# default ttl: | |
DEFTTL=3600 | |
# AWS profile (in .aws/credentials) to use | |
AWSPROFILE="owndns" | |
if [[ $# -lt 3 ]]; then | |
echo $USAGE |
# stolen from https://stackoverflow.com/questions/354038/how-do-i-check-if-a-string-is-a-number-float | |
def is_number(s): | |
""" | |
tries to convert to float and returns true if it works | |
""" | |
try: | |
float(s) | |
return True | |
except ValueError: | |
return False |
#!/usr/bin/env python3 | |
""" | |
small script to exchange the field separator in a CSV | |
""" | |
import csv | |
import argparse | |
import sys | |
def main(): |
I hereby claim:
To claim this, I am signing this object:
By Moulina also known as Maub or Matschundbrei
#!/bin/bash | |
# unofficial bash strict mode | |
set -euo pipefail | |
IFS=$'\n\t' | |
# this is the target-dir for images | |
TARGET="all-images" | |
# find the images (change extension as needed) | |
IMG=$(find ./ -iname '*.jpg') |
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
docker image ls | \ | |
tail -n +2 | \ | |
grep -v '<none>' | \ | |
awk '{print $1 ":" $2 }' | \ | |
xargs -n1 docker pull |
Transcribed from https://twitter.com/voldimmoral/status/1698774525284884529
# | url/link | type |
---|---|---|
1. | shodan.io | (Server) |
2. | google.com | (Dorks) |
3. | wigle.net | (WiFi Networks) |
4. | grep.app | (Codes Search) |