Skip to content

Instantly share code, notes, and snippets.

View JonathanBowker's full-sized avatar

Jonathan Bowker JonathanBowker

View GitHub Profile
{
"concepts": {
"definitions": {
"1925_act": 1,
"1954_act": 1,
"1986_act": 1,
"1994_act": 1,
"accounting_period": 1,
"act": 1,
"additional_services": 1,
PUT _template/ethel-*
{
"index_patterns": [
"ethel-*"
],
"mappings": {
"_meta": {
"version": "1.6.0-dev"
},
"date_detection": false,
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
SpaCy/System Elastic ECS
@timestamp @timestamp
doc_sentence message
file.accessed file.accessed
file.attributes file.attributes
file.created file.created
file.directory file.directory
file.drive_letter file.drive_letter
doc_sentence file.extension
POST docs-07.06.2020/_doc/
{
"@timestamp": "2020-06-06T08:05:34.853Z",
"message": "Huge peaceful rallies have taken place across the US against racism and police brutality on the 12th day of protests sparked by the death of George Floyd.",
"tags": [
"news",
"sentence"
],
"file.accessed": "2020-06-06T08:05:34.853Z",
"file.attributes": [
PUT _template/docs-*
{
"index_patterns": [
"docs-*"
],
"mappings": {
"_meta": {
"version": "1.6.0-dev"
},
"date_detection": false,
{
"dds_config": [
{
"info_type": {
"value": "Patients MRN 444-5-22222"
},
"regex": {
"pattern": "[1-9]{3}-[1-9]{1}-[1-9]{5}"
},
"confidence": "POSSIBLE",
This file has been truncated, but you can view the full file.
| Code | Disease |
| ---- | ---- |
| A000 | Cholera due to Vibrio cholerae 01, biovar cholerae |
| A001 | Cholera due to Vibrio cholerae 01, biovar eltor |
| A009 | Cholera, unspecified |
| A0100 | Typhoid fever, unspecified |
| A0101 | Typhoid meningitis |
| A0102 | Typhoid fever with heart involvement |
| A0103 | Typhoid pneumonia |
| A0104 | Typhoid arthritis |
@JonathanBowker
JonathanBowker / README.md
Created June 30, 2018 15:17 — forked from chukaofili/README.md
Persistent LoopBack Alias

Loopback Alias

Creates an alias on the loopback interface (lo0) with the IP 200.0.0.1 on Mac OS X.

Installation

  1. Install the plist to: /Library/LaunchDaemons/com.runlevel1.lo0.200.0.0.1.plist
  2. Set mode: chmod 0644 /Library/LaunchDaemons/com.runlevel1.lo0.200.0.0.1.plist
  3. Set owner: sudo chown root:wheel /Library/LaunchDaemons/com.runlevel1.lo0.200.0.0.1.plist
  4. Load: sudo launchctl load /Library/LaunchDaemons/com.runlevel1.lo0.200.0.0.1.plist

Keybase proof

I hereby claim:

  • I am chukaofili on github.
  • I am chuka (https://keybase.io/chuka) on keybase.
  • I have a public key ASAYvkXa1Cnqgm18A2-cc6yUe6wrY0hEkpdAYiwVl-OIdAo

To claim this, I am signing this object:

@JonathanBowker
JonathanBowker / install-k8s.sh
Created June 30, 2018 15:15 — forked from chukaofili/install-k8s.sh
K8s on DigitalOcean
#!/bin/bash
sudo su
echo "Initializing docker service ..."
systemctl enable docker && systemctl start docker
echo "Docker service initialized successfully."
echo "Installing CNI ..."
CNI_VERSION="v0.6.0"
mkdir -p /opt/cni/bin