Run the command below to fix apt-key deprecation warning in Kali
sudo apt-get update
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
Run the command below to fix apt-key deprecation warning in Kali
sudo apt-get update
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
#!/usr/bin/env python | |
list = [] | |
def n(i, j): | |
return (i ** 2) + (j ** 2) - (i * j) | |
for x in range(1, 11): | |
for y in range(x + 1): | |
_n = n(x, y) |
#!/bin/bash | |
if [ $(whoami) != 'root' ]; then | |
echo 'Please run as root' | |
exit 1 | |
fi | |
# install wireguard | |
apt install resolvconf wireguard wireguard-tools -y |
#!/bin/bash | |
iptables -F | |
iptables -X | |
iptables -t nat -F | |
iptables -t nat -X | |
iptables -t mangle -F | |
iptables -t mangle -X | |
iptables -P INPUT ACCEPT | |
iptables -P FORWARD ACCEPT | |
iptables -P OUTPUT ACCEPT |
/// soundbanks are either dls or sf2. see http://www.sf2midi.com/ | |
var soundbank:NSURL! | |
var mp:AVMIDIPlayer! | |
func playMIDIFile() { | |
// Load a SoundFont or DLS file. | |
self.soundbank = NSBundle.mainBundle().URLForResource("GeneralUser GS MuseScore v1.442", withExtension: "sf2") | |
// a standard MIDI file. |
#!/bin/bash | |
# root access | |
if [ $(whoami) != 'root' ]; | |
then | |
echo 'Please run as root' | |
exit 1 | |
fi | |
apt-get install python3 python3-pip python3-crypto python3-numpy python3-scipy python3-pip mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract cramfsswap squashfs-tools sleuthkit default-jdk lzop srecord zlib1g-dev liblzma-dev liblzo2-dev git -y |
[options] | |
# | |
# WARNING: | |
# If you use the Odoo Database utility to change the master password be aware | |
# that the formatting of this file WILL be LOST! A copy of this file named | |
# /etc/odoo/openerp-server.conf.template has been made in case this happens | |
# Note that the copy does not have any first boot changes | |
#----------------------------------------------------------------------------- | |
# Odoo Server Config File - TurnKey Linux |
Download FreeBSD 11.1 VMDK and create a VM with it as HDD.
Get FreeBSD source tree for your exact FreeBSD version and uncompress it to /usr/src:
fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz
tar -C / -xvf /tmp/src.txz
Download latest Realtek network driver (you need to input an email address).
#!/bin/bash | |
# | |
# pcap2wav | |
# Original Author: Michael Collins <msc@freeswitch.org> | |
#Standard disclaimer: batteries not included, your mileage may vary... | |
# Updated by Avi Marcus <avi@bestfone.com> | |
# | |
# Accepts arg of pcap file w/only 2 RTP streams | |
# Creates a .<codec> file and a .wav file | |
# For codecs other than PCMA and PCMU the script calls fs_cli and does a little recording to create the wav file(s) |