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
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-6-amd64] (local build) | |
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org | |
=== START OF INFORMATION SECTION === | |
Model Family: Toshiba 3.5" DT01ACA... Desktop HDD | |
Device Model: TOSHIBA DT01ACA300 | |
Serial Number: X3544DGKS | |
LU WWN Device Id: 5 000039 ff4cff983 | |
Firmware Version: MX6OABB0 | |
User Capacity: 3,000,592,982,016 bytes [3.00 TB] |
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
public class Deck { | |
public Deck() | |
{ | |
// do something | |
// note the tab spacing | |
} | |
public static void main(String[] args) | |
{ |
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
# ZM supports configuration via configuration files. | |
# Configuration files are used if the '--cfg-file' option is given on the | |
# command line. All additional command line options are ignored in this case. | |
# Options are grouped into sections - each option is a 'key=value(s)' pair. | |
# Lists of values are separated by ',' (spaces are not allowed). | |
# Comments start with '#'. | |
# ZM supports the setup of multiple pools. | |
# Pools are ordered by their priority. Higher priority pools are configured | |
# above lower priority pools in this file. ZM connects to the highest priority |
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
$ cat /etc/dnsmasq.conf | |
no-resolv | |
server=/eu-west-1.compute.internal/10.0.24.2 | |
server=/example.local/10.160.16.10 | |
server=10.0.24.2 | |
server=/example.local/10.10.16.10 | |
server=/140.10.in-addr.arpa/10.0.24.2 | |
server=/82.10.in-addr.arpa/10.0.24.2 | |
address=/.apps-build.euw1.aws.example.local/10.0.25.100 | |
address=/master-ocp-build.euw1.aws.example.local/10.0.25.100 |
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/bash | |
# wrote by Ox HaK | |
# https://pbs.twimg.com/media/DPplpHnW4AIFg8j.jpg:large | |
# ccminer need parameter --api-bind=127.0.0.1:4068 --api-allow=0/0 | |
# https://wiki.archlinux.org/index.php/Grafana | |
# https://wiki.archlinux.org/index.php/InfluxDB | |
# https://docs.influxdata.com/influxdb/v1.3/guides/writing_data/ | |
let x=0 | |
#while [ "true" ] |
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
# https://github.com/IronicBadger/bootlace |
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/bash | |
#nvidia-xconfig --allow-empty-initial-configuration --enable-all-gpus --cool-bits=28 --separate-x-screens | |
nvidia-smi -pm ENABLED | |
export GPU_FORCE_64BIT_PTR=0 | |
export GPU_MAX_HEAP_SIZE=100 | |
export GPU_USE_SYNC_OBJECTS=1 | |
export GPU_MAX_ALLOC_PERCENT=100 |
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
# Telegraf Configuration | |
# | |
# Telegraf is entirely plugin driven. All metrics are gathered from the | |
# declared inputs, and sent to the declared outputs. | |
# | |
# Plugins must be declared in here to be active. | |
# To deactivate a plugin, comment out the name and any variables. | |
# | |
# Use 'telegraf -config telegraf.conf -test' to see what metrics a config | |
# file would generate. |
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
alias dcp='docker-compose -f /opt/docker-compose.yml ' | |
alias dcpull='docker-compose -f /opt/docker-compose.yml pull --parallel' | |
alias dcplogs='docker-compose -f /opt/docker-compose.yml logs -tf --tail="50" ' | |
alias df='df -h -x aufs -x tmpfs -x udev' | |
alias editle='sudo vi /opt/appdata/letsencrypt/nginx/site-confs/default' |
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 ruby | |
# USAGE | |
# See : https://github.com/thuehlinger/daemons | |
# | |
# ruby nest_poller_control.rb run (foreground) | |
# ruby nest_poller_control.rb start | |
# ruby nest_poller_control.rb stop | |
# ruby nest_poller_control.rb status |