I hereby claim:
- I am xezpeleta on github.
- I am xezpeleta (https://keybase.io/xezpeleta) on keybase.
- I have a public key whose fingerprint is 19FF FA86 3AE0 A83F 3F0B EBDE B3D8 63BB E026 3114
To claim this, I am signing this object:
| #! /bin/sh | |
| if [ $# -eq 0 ] | |
| then | |
| echo "No arguments supplied" | |
| exit 1 | |
| fi | |
| if [ -z "$1" ] |
| #! /usr/bin/python | |
| ''' | |
| This script backups your 3COM | |
| switch configuration data. It | |
| needs a TFTP service running! | |
| Usage: saveconf_3C3800 <host> | |
| It works with: |
| #! /usr/bin/python | |
| import RPi.GPIO as GPIO | |
| import time | |
| LED = 4 | |
| GPIO.setwarnings(False) | |
| GPIO.setmode(GPIO.BCM) | |
| GPIO.setup(LED, GPIO.OUT) |
I hereby claim:
To claim this, I am signing this object:
| # | |
| # Let's check who is still using my old DNS server (192.168.10.1) | |
| # | |
| tcpdump -n -s 1500 -i eth0 udp dst port 53 and dst host 192.168.10.1 |
| import phant | |
| import time | |
| log = phant.factory( | |
| 'http://data.sparkfun.com/input/aGRVr0MQ4NHbwxWaZRLv?private_key=KE75BAJKR8HebZWVPr2p', | |
| key=str, | |
| value=int | |
| ) | |
| i = 0 |
First, install 3ware "tw-cli" utilty with apt-get from: http://hwraid.le-vert.net/
Now, show your RAID controllers
$ tw-cli show
Ctl Model (V)Ports Drives Units NotOpt RRate VRate BBU| /* | |
| * Linux-specific portion of Broadcom 802.11abg Networking Device Driver | |
| * cfg80211 interface | |
| * | |
| * Copyright (C) 2013, Broadcom Corporation. All Rights Reserved. | |
| * | |
| * Permission to use, copy, modify, and/or distribute this software for any | |
| * purpose with or without fee is hereby granted, provided that the above | |
| * copyright notice and this permission notice appear in all copies. | |
| * |
| convert -density 180 -compress jpeg -resize %50 -quality 15 myfile.pdf myfile_small.pdf |