This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
curl -s https://api.github.com/users/<username>/keys | jq -r ".[].key" > ~/.ssh/authorized_keys_github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import sys | |
import json | |
import logging | |
import httplib | |
import argparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
usage: bind_upload.py [-h] --key <key> --name <name> --zone <zone> | |
Selectel domains-api bind-zone import helper | |
optional arguments: | |
-h, --help show this help message and exit | |
required named arguments: | |
--key <key> Your API Key | |
--name <name> Domain name for creation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import pcap | |
import socket | |
from scapy.all import * | |
conf.use_pcap=True # because by default scapy try to use raw socket and can't assign bpf filter | |
conf.verb=0 # it just grab all traffic and get error on processing | |
import scapy.arch.pcapdnet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: install HWE Stack on Ubuntu 12.04 | |
hosts: all | |
user: someuser | |
sudo: yes | |
tasks: | |
- name: Install linux-hwe-generic package | |
apt: |
NewerOlder