Given that your key has expired.
$ gpg --list-keys
$ gpg --edit-key KEYID
Use the expire command to set a new expire date:
A simple python-based CLI front end for dnsleaktest.com
Usage details available with -h
Should run on most platforms as all modules are included in the standard python install
When you visit dnsleaktest.com and run a test, your browser attempts to load resources from randomly generated subdomains of test.dnsleaktest.com.
smt=setInterval(() => {let x=document.querySelector('div[shade=medium]'); x ? x.click() : clearInterval(smt), console.log('done')}, 1000)| #!/usr/bin/env bash | |
| # https://github.com/mitsuhiko/pipsi | |
| BOOTSTRAP_DIR=~/.local/venvs/__bootstrap | |
| BOOTSTRAP_PKGS=$(cat <<EOF | |
| virtualenv | |
| EOF | |
| ) |
| #!/bin/bash | |
| set -e | |
| set -o pipefail | |
| # Add user to k8s using service account, no RBAC (must create RBAC after this script) | |
| if [[ -z "$1" ]] || [[ -z "$2" ]]; then | |
| echo "usage: $0 <service_account_name> <namespace>" | |
| exit 1 | |
| fi |
| #include <math.h> | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <gmp.h> | |
| /* | |
| * from Fibo(n) = phi^n / sqrt(5) approximate number of bits in nth fibo | |
| * is log_2(phi) * n - log_2(5)/2 For n >> 1, it's a bit less than 0.695n | |
| */ | |
| #define FIBO_BITCOUNT(x) ((mp_bitcnt_t)ceil(0.695 * (x))) |
This article will briefly describe how to install SonarQube as Docker container on Amazon EC2 and integrate it with Jenkins.
Go to RDS > Parameter Groups
Create a new Parameter Group with the following parameter:
max_allowed_packet = 268435456
We need to create a new RDS database for SonarQube (you may use an existing MySQL instance)
| # http://stackoverflow.com/questions/27177327/setting-up-django-with-geodjango-support-in-aws-beanstalk-or-ec2-instance | |
| # http://rpmfind.net/linux/rpm2html/search.php?query=lib64jpeg8 | |
| # http://rpmfind.net/linux/rpm2html/search.php?query=lib64poppler5 | |
| # install postgresql repo | |
| sudo yum install https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-ami201503-95-9.5-3.noarch.rpm | |
| # add priority=1 to perfer this repo over amzn-main | |
| vim /etc/yum.repos.d/pgdg-95-ami201503.repo |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
| #!/bin/bash | |
| #set -e | |
| # origin-source: http://www.fars-robotics.net/install-wifi | |
| # install-wifi - v9.4 - by MrEngman. | |
| # After downloading this script: | |
| # $ sudo mv ./install-wifi /usr/bin/install-wifi | |
| # $ sudo chmod +x /usr/bin/install-wifi | |
| # $ sudo install-wifi -h | |
| # |