PYTHON
sudo yum install glibc-static zlib-static
download python source to /virtualenvs/nodict/Python-2.7.6
Configure to accomplish 3 things: static -pg TODO: NEEDED, ALONG WITH --enable-profiling ?? prefix
| package main | |
| import ( | |
| "bytes" | |
| "code.google.com/p/go.crypto/ssh" | |
| "fmt" | |
| "log" | |
| "net" | |
| "os" | |
| ) |
| This demonstrates how to make client side certificates with go | |
| First generate the certificates with | |
| ./makecert.sh [email protected] | |
| Run the server in one terminal | |
| go run server.go |
PYTHON
sudo yum install glibc-static zlib-static
download python source to /virtualenvs/nodict/Python-2.7.6
Configure to accomplish 3 things: static -pg TODO: NEEDED, ALONG WITH --enable-profiling ?? prefix
| // compile this like g++ go2.c -lgdi32 [if you're using mingw] | |
| #include <windows.h> | |
| #include <stdio.h> | |
| // Helper function to retrieve current position of file pointer: | |
| inline int GetFilePointer(HANDLE FileHandle){ | |
| return SetFilePointer(FileHandle, 0, 0, FILE_CURRENT); | |
| } | |
| //--------------------------------------------------------------------------- |
| package main | |
| import ( | |
| "crypto/tls" | |
| "crypto/x509" | |
| "flag" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| ) |
| #!/bin/bash | |
| host=localhost | |
| passwd=17agustus | |
| db=pdns | |
| user=pdns | |
| list=/tmp/blacklists/porn/domains | |
| sqlin="mysql -u $user -p$passwd -h $host $db" | |
| sql_new_domain () { |
| import android.graphics.Color; | |
| import android.os.Bundle; | |
| import android.support.v4.widget.SwipeRefreshLayout; | |
| import android.support.v7.widget.DefaultItemAnimator; | |
| import android.support.v7.widget.LinearLayoutManager; | |
| import android.support.v7.widget.RecyclerView; | |
| import com.togethernetworks.basesdk.BaseActivity; | |
| import com.togethernetworks.gallery.samples.mortar.UiModule; |
| #!/bin/bash | |
| # | |
| # Generates client and server certificates used to enable HTTPS | |
| # remote authentication to a Docker daemon. | |
| # | |
| # See http://docs.docker.com/articles/https/ | |
| # | |
| # To start the Docker Daemon: | |
| # | |
| # sudo docker -d \ |
| #!/usr/bin/env python | |
| import dns.resolver | |
| import dns.name | |
| #import netaddr | |
| from urlparse import urlparse | |
| INFO = "\033[1m\033[36m[*]\033[0m " |
There are two parts to this:
In general, a CentOS 7 x86_64 box in AWS EC2; in specific, this Packer profile.