Skip to content

Instantly share code, notes, and snippets.

View jaydestro's full-sized avatar

Jay Gordon jaydestro

View GitHub Profile
#!/bin/bash
timestamp=$(date +%s)
mkdir -p /goaccess/latest-$timestamp/
cp /var/log/nginx/access.log* /goaccess/latest-$timestamp/
cd /goaccess/latest-$timestamp/
https://auth.verizon.com/amserver/UI/Login?realm=dotcom&module=AIAW&goto=https://signin.verizon.com/sso/choice/tvpHandler.jsp?loginType%3DvzRedirect%26partner%3Dmsnbc%26partnerlogo%3Dnull%26RelayState%3D_249ecb7a-28b3-45b9-a002-cfc3c00525c8%26cancelURL%3Dhttps%253A%252F%252Fsp.auth.adobe.com%252Fadobe-services%252F1.0%252Fsession%253Fcancelled%253D1%2526_method%253DPOST%2526mso_id%253DVerizon%2526redirect_url%253Dhttp%25253A%25252F%25252Fwww.msnbc.com%25252Fnow%26TARGET%3Dhttps%253A%252F%252Fsp.auth.adobe.com%252Fsp%252Fsaml%252FSAMLAssertionConsumer%253Fredirect_url%253Dhttp%25253A%25252F%25252Fwww.msnbc.com%25252Fnow&clientId=TvLogin&partner=msnbc&errorURL=https://signin.verizon.com/sso/VOLPortalLogin?src%3DSAM%26loginType%3DvzRedirect%26partner%3Dmsnbc%26partnerlogo%3Dnull%26RelayState%3D_249ecb7a-28b3-45b9-a002-cfc3c00525c8%26cancelURL%3Dhttps%253A%252F%252Fsp.auth.adobe.com%252Fadobe-services%252F1.0%252Fsession%253Fcancelled%253D1%2526_method%253DPOST%2526mso_id%253DVerizon%2526redirect_url%253Dhttp%252
var MongoClient = require('mongodb').MongoClient
, format = require('util').format;
MongoClient.connect('mongodb://', function (err, db) {
if (err) {
throw err;
} else {
console.log("successfully connected to the database");
}
db.close();
});
delete-objects | get-bucket-acl
get-bucket-cors | get-bucket-lifecycle
get-bucket-location | get-bucket-logging
get-bucket-notification | get-bucket-policy
get-bucket-request-payment | get-bucket-tagging
get-bucket-versioning | get-bucket-website
get-object | get-object-acl
<!-- Chartbeat tracking -->
<script type='text/javascript'>
var _sf_async_config={};
/** CONFIGURATION START **/
_sf_async_config.uid = 43887;
_sf_async_config.domain = 'si.com';
_sf_async_config.useCanonical = true;
_sf_async_config.sections = 'NBA';
_sf_async_config.authors = 'LeBron James (as told to Lee Jenkins)';
/** CONFIGURATION END **/