This file contains hidden or 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
### Conky configuration file | |
## No output to X <yes/no> | |
out_to_x no | |
## Create own window to draw <yes/no> | |
own_window no | |
## Print everything to console? |
This file contains hidden or 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
user www-data; | |
worker_processes 4; | |
events { | |
worker_connections 4069; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; |
This file contains hidden or 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
# Builds ubuntu latest image from docker hub | |
# Install and setups ansible | |
# Run from ansible dir: "docker build -t ansible_deploy ." | |
# You will need to update the playbook you deploy in this file. | |
FROM ubuntu | |
MAINTAINER Ben Copeland <[email protected]> | |
RUN apt-get install -y software-properties-common |
This file contains hidden or 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
out_to_x no | |
own_window no | |
out_to_console yes | |
background no | |
max_text_width 0 | |
update_interval 2.0 | |
total_run_times 0 | |
short_units yes | |
if_up_strictness address | |
use_spacer left |
This file contains hidden or 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
import socks | |
import socket | |
socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, "127.0.0.1", 9050) | |
socket.socket = socks.socksocket | |
import requests | |
r = requests.get('http://bit.ly/1L29AfA') | |
open('yify.xml', 'wb').write(r.content) |
This file contains hidden or 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/ansible-playbook -c local | |
--- | |
# Requires zabbix-api to be installed locally. | |
# Uses -c local, to run the playbook on local machine. | |
# Run inside the playbook folder, to pick up correct vars | |
- name: Ensure zabbix screens exists | |
hosts: zabbix-server | |
gather_facts: false |
This file contains hidden or 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
ok: [localhost] => (item=oh-my-zsh-git) | |
ok: [localhost] => (item=apachedirectorystudio) | |
ok: [localhost] => (item=xfce4-volumed) | |
ok: [localhost] => (item=caffeine-ng) | |
ok: [localhost] => (item=conkyclementine-bzr) | |
ok: [localhost] => (item=i3lock-wrapper) | |
ok: [localhost] => (item=keepass-plugin-http) | |
ok: [localhost] => (item=pycharm-community) | |
ok: [localhost] => (item=python2-cli53) | |
ok: [localhost] => (item=screencloud) |
This file contains hidden or 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/ansible-playbook | |
--- | |
# Requires zabbix-api to be installed locally. | |
# To run the playbook locally run: ./zabbix_create_screens.sh -i hosts | |
# Run inside the playbook folder, to pick up correct vars | |
- name: Ensure zabbix screens exists | |
hosts: zabbix-server | |
gather_facts: false |
This file contains hidden or 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
admin@homeserver ~ % | |
admin@homeserver ~ % dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc | |
1024+0 records in | |
1024+0 records out | |
1073741824 bytes (1.1 GB) copied, 1.56019 s, 688 MB/s | |
admin@homeserver ~ % dd if=/dev/zero of=tempfile bs=1M count=4024 conv=fdatasync,notrunc | |
4024+0 records in | |
4024+0 records out | |
4219469824 bytes (4.2 GB) copied, 5.75144 s, 734 MB/s | |
admin@homeserver ~ % dd if=/dev/zero of=tempfile bs=1M count=10024 conv=fdatasync,notrunc |
This file contains hidden or 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
ov 02 12:56:48 homeserver.mooo.com kernel: BTRFS info (device sda2): relocating block group 20971520 flags 4 | |
Nov 02 12:56:52 homeserver.mooo.com kernel: ------------[ cut here ]------------ | |
Nov 02 12:56:52 homeserver.mooo.com kernel: kernel BUG at fs/btrfs/extent-tree.c:1833! | |
Nov 02 12:56:52 homeserver.mooo.com kernel: invalid opcode: 0000 [#1] PREEMPT SMP | |
Nov 02 12:56:52 homeserver.mooo.com kernel: Modules linked in: nfsd auth_rpcgss oid_registry nfs_acl iptable_filter it87 hwmon_vid nls_iso8859_1 nls_cp437 vfat arc4 iTCO_wdt fat iTCO_vendor_support intel_rapl iosf_mbi x86_pkg_temp_thermal evdev intel_powerclamp coretemp mac_hid iwldv | |
Nov 02 12:56:52 homeserver.mooo.com kernel: ehci_hcd scsi_transport_sas usbcore usb_common scsi_mod i8042 serio | |
Nov 02 12:56:52 homeserver.mooo.com kernel: CPU: 2 PID: 18067 Comm: kworker/u8:8 Not tainted 4.2.4-1-ARCH #1 | |
Nov 02 12:56:52 homeserver.mooo.com kernel: Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./H77N-WIFI, BIOS F2 08/23/2012 | |
Nov 02 12:56:52 |