cd /usr/local/
sudo wget https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz
sudo tar -xzf go1.13.4.linux-amd64.tar.gz
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
""" | |
This Python script loads test cases that were generated from the SeleniumIDE and executes them | |
against a running Splunk install. The purpose of this script is to make it possible to run tests | |
against Splunk without having to write code using WebDriver directly. Instead, the intent is that | |
testers write tests in the Selenium IDE GUI. This ought to make tests easier to write and maintain. | |
This is release under the Apache 2.0 Licence: | |
https://www.apache.org/licenses/LICENSE-2.0 |
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 python2 | |
import os | |
import tempfile | |
import sqlite3 | |
class DBExportor(object): | |
def __init__(self, db=None): | |
if not db: | |
db = self.pullDB() |
-
Enable feature in PowerShell:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
-
Download Kali AppX File: https://aka.ms/wsl-kali-linux-new
Invoke-WebRequest -Uri https://aka.ms/wsl-kali-linux-new -OutFile Kali.appx -UseBasicParsing
-
Open PowerShell as Admin and Run:
Add-AppxPackage .\Kali.appx
-
Run
kali
. Createuser:user
. -
Set default user:
kali config --default-user root
-
Keep system up to date:
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
# Must install doipclient and udsoncan for Python: | |
# pip install doipclient udsoncan | |
import udsoncan | |
from doipclient import DoIPClient | |
from doipclient.connectors import DoIPClientUDSConnector | |
from udsoncan.client import Client | |
from udsoncan.exceptions import * | |
from udsoncan.services import * |
- local https://github.com/kubernetes-sigs/kind (or just use minikube if it works for you)
- cloud https://cloud.google.com/kubernetes-engine (for PersistentVolume and Ingress, I needed to try the real deal)
- practice environment: https://github.com/arush-sal/cka-practice-environment
An introduction to curl
using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
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
/* | |
* I add this to html files generated with pandoc. | |
*/ | |
html { | |
font-size: 100%; | |
overflow-y: scroll; | |
-webkit-text-size-adjust: 100%; | |
-ms-text-size-adjust: 100%; | |
} |