I hereby claim:
- I am michaelkeevildown on github.
- I am mkd (https://keybase.io/mkd) on keybase.
- I have a public key whose fingerprint is 8A8A 2964 F4C5 4F97 EC17 7D0E 2E5B 95B6 8D3D 6F7B
To claim this, I am signing this object:
| ## Taken from: http://www.brianlinkletter.com/how-to-set-up-a-new-userid-on-your-amazon-aws-server-instance/ | |
| Create a new userid, with password | |
| We will create a new account with userid brian. If you run into any trouble, consult the Amazon AWS documentation. To create the new account, first login to your AWS server with a command similar to: | |
| Laptop:$ ssh -i ~/Documents/Ubuntu-2-keypair.pem [email protected] | |
| Then create the new user brian (or your choice) using the command: | |
| ubuntu@AWS:$ sudo adduser brian |
| ### Disable User | |
| `sudo usermod -L -e 1 [username]` | |
| ### Enable user | |
| `sudo usermod -U -e "" [username]` |
| ######################################## | |
| # Tested on Elasticsearch Version: 2.x # | |
| ######################################## | |
| from elasticsearch import Elasticsearch | |
| import certifi | |
| index_name = 'index name here' | |
| index_type = 'index type here' |
I hereby claim:
To claim this, I am signing this object:
| /api/v1/pulses/activity/?modified_since=2016-04-25T22:49:03.704867&limit=10&page=1 | |
| { | |
| "count": 487, | |
| "next": "https://otx.alienvault.com/api/v1/pulses/activity?page=2", | |
| "previous": null, | |
| "results": [ | |
| { | |
| "id": "5760336e2957b90134ede223", | |
| "name": "Intrusion into the Democratic National Committee", |
| # tested on opennlp 1.5.3 | |
| # download here: http://apache.mirror.anlx.net/opennlp/opennlp-1.5.3/apache-opennlp-1.5.3-bin.zip | |
| ./bin/opennlp TokenNameFinderTrainer \ | |
| -lang en \ | |
| -encoding utf-8 \ | |
| -iterations 50 \ | |
| -type person \ | |
| -model names.bin \ | |
| -data test-data-names.txt |
| server { | |
| listen 80 default_server; | |
| server_name domain.com; | |
| rewrite ^ https://$server_name$request_uri? permanent; | |
| } | |
| server { | |
| listen 443 default_server; | |
| server_name domain.com; |
| /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user |
| # branch_name = New branch not MASTER e.g. new_dev | |
| git checkout {branch_name} | |
| git merge -s ours master | |
| git checkout master | |
| git merge {branch_name} |
| launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist |