Skip to content

Instantly share code, notes, and snippets.

View Ausjorg's full-sized avatar

Austin Jorgensen Ausjorg

  • USA
View GitHub Profile
# Ian Annase
# 4/16/18
import os
import sys
import json
import spotipy
import webbrowser
import spotipy.util as util
from json.decoder import JSONDecodeError
# Install OpenVAS + Greenbone Security Assistant on Ubuntu 16.04 (using openvas9 metapackage)
apt update && apt upgrade
apt install python-software-properties
apt install sqlite3
apt install software-properties-common
apt install python-software-properties
add-apt-repository ppa:mrazavi/openvas
apt-get update
apt-get install openvas9
apt install libopenvas9-dev ### if you want to develop
@ungoldman
ungoldman / curl_post_json.md
Last active May 17, 2024 14:50
post a JSON file with curl

How do you POST a JSON file with curl??

You can post a json file with curl like so:

curl -X POST -H "Content-Type: application/json" -d @FILENAME DESTINATION

so for example: