An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
An introduction to curl using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| /* | |
| * 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%; | |
| } |
| adb shell content delete --uri content://settings/settings/pointer_speed | |
| adb shell content query --uri content://settings/settings | |
| adb shell content insert --uri content://settings/secure --bind name:s:my_number --bind value:i:24 | |
| See "package com.android.commands.content;" in /frameworks/base/cmds/content/ | |
| Usese "final class ContentProviderProxy implements IContentProvider" in ContentProviderProxy.java |
| #!/usr/bin/env python2 | |
| import os | |
| import tempfile | |
| import sqlite3 | |
| class DBExportor(object): | |
| def __init__(self, db=None): | |
| if not db: | |
| db = self.pullDB() |
| """ | |
| 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 |
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. Create user:user.
Set default user: kali config --default-user root
Keep system up to date:
| # 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 * |