uname -a # Display Linux System Information
uname -r # Display kernel release information
uptime # Show how long the system has been running + load
hostname # Show system host name
hostname -i # Display the IP address of the host
last reboot # Show system reboot history
date # Show the current date and time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# chasepdf2csv -- Convert Chase credit card statements from PDF to CSV. Written | |
# to easily import older statements into QuickBooks Online/Self-Employed. Chase | |
# unfortunately only offers statements up to 6 months in the past, making it a | |
# huge chore to synchronize past transactions. | |
# | |
# How to Use | |
# ---------- | |
# This script requires Ruby >2.0.0 and pdftotext. Copy this script somewhere and | |
# make it executable. Run it like any other command. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Quickstart | |
------------------ | |
Get-Help Connect-CVServer -detailed | |
Get-Help Invoke-CVCommand -detailed | |
Connect-CVServer mycommvaultserver -force -verbose | |
Invoke-CVCommand 'Client' | |
Invoke-CVCommand 'Client/136' | |
#> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wikipedia.org,wiktionary.org,wikibooks.org,wikinews.org,wikiquote.org,wikisource.org,wikiversity.org,wikivoyage.org,wikimedia.org,mediawiki.org,wikidata.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Deluge Bittorrent Client Daemon | |
After=network-online.target [email protected] | |
[Service] | |
User=boneskull | |
Group=dialout | |
Type=simple | |
ExecStart=/usr/bin/deluged -d -l /var/log/deluge/daemon.log -L info | |
TimeoutStopSec=300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Konfig-ESXi { | |
<# | |
.NOTES | |
=========================================================================== | |
Created by: Markus Kraus | |
Twitter: @VMarkus_K | |
Private Blog: mycloudrevolution.com | |
=========================================================================== | |
Changelog: | |
2016.12 ver 1.0 Base Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
apt update && apt install wget htop curl nano ssh -y | |
wget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb | |
dpkg -i zabbix-release_3.2-1+xenial_all.deb && apt-get update | |
export DEBIAN_FRONTEND=noninteractive | |
apt install zabbix-server-mysql zabbix-frontend-php -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev libtheora-dev libtool libvorbis-dev pkg-config texinfo zlib1g-dev cmake mercurial nasm | |
mkdir ~/ffmpeg_sources | |
#yasm | |
cd ~/ffmpeg_sources | |
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz | |
tar xzvf yasm-1.3.0.tar.gz | |
cd yasm-1.3.0 | |
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" | |
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#requires -version 3.0 | |
#requires -pssnapin vmware.vimautomation.core | |
#Uncomment this on first run for initial connection. Unnecessary for re-runs | |
#connect-viserver d1vm-vc01,d2vm-vc01,d1vm-vcvdi01,d2vm-vcvdi01 -credential (get-credential) | |
$noDiskInfoVMs = @() | |
$vm = get-vm | |
$vm | | |
where guestid -notmatch 'windows7_64Guest' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Still writing this, but wanted to share progress before creating a repo for this project | |
import os | |
import re | |
import traceback | |
path = "Person of Interest - 05x13 - Return 0.LOL.English.C.orig.Addic7ed.com.srt" | |
#################################################################################################### |
NewerOlder