Install the OpenSSL on Debian based systems
sudo apt-get install openssl| // certutil -urlcache * delete | |
| // certutil -verify -user -urlfetch "Server Certificate.cer" | |
| package main | |
| import ( | |
| "crypto" | |
| "crypto/rand" | |
| "crypto/rsa" | |
| "crypto/tls" | |
| "crypto/x509" |
| Rank | Type | Prefix/Suffix | Length | |
|---|---|---|---|---|
| 1 | Prefix | my+ | 2 | |
| 2 | Suffix | +online | 6 | |
| 3 | Prefix | the+ | 3 | |
| 4 | Suffix | +web | 3 | |
| 5 | Suffix | +media | 5 | |
| 6 | Prefix | web+ | 3 | |
| 7 | Suffix | +world | 5 | |
| 8 | Suffix | +net | 3 | |
| 9 | Prefix | go+ | 2 |
| #!/usr/bin/env python | |
| """ Short description of this Python module. | |
| Longer description of this module. | |
| This program is free software: you can redistribute it and/or modify it under | |
| the terms of the GNU General Public License as published by the Free Software | |
| Foundation, either version 3 of the License, or (at your option) any later | |
| version. |
Original post : https://unix.stackexchange.com/a/310699
nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect yes ssid Hostspot
nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234"
| <?xml version="1.0" standalone='no'?> | |
| <!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | |
| <service-group> | |
| <name replace-wildcards="yes">%h</name> | |
| <service> | |
| <type>_adisk._tcp</type> | |
| <txt-record>sys=waMa=0,adVF=0x100</txt-record> | |
| <txt-record>dk0=adVN=Time Capsule,adVF=0x82</txt-record> | |
| </service> | |
| <service> |
| dpkg-verify() { | |
| exitcode=0 | |
| for file in $*; do | |
| pkg=`dpkg -S "$file" | cut -d: -f 1` | |
| hashfile="/var/lib/dpkg/info/$pkg.md5sums" | |
| if [ -s "$hashfile" ]; then | |
| rfile=`echo "$file" | cut -d/ -f 2-` | |
| phash=`grep -E "$rfile\$" "$hashfile" | cut -d\ -f 1` | |
| hash=`md5sum "$file" | cut -d\ -f 1` | |
| if [ "$hash" = "$phash" ]; then |
| #!/bin/bash | |
| # This Works is placed under the terms of the Copyright Less License, | |
| # see file COPYRIGHT.CLL. USE AT OWN RISK, ABSOLUTELY NO WARRANTY. | |
| # | |
| # COPYRIGHT.CLL can be found at http://permalink.de/tino/cll | |
| # (CLL is CC0 as long as not covered by any Copyright) | |
| OOPS() { echo "OOPS: $*" >&2; exit 23; } | |
| [ -z "`pidof openssl`" ] || OOPS "openssl running, consider: killall openssl" |