###MOVEMENT###
h - Move left
j - Move down
k - Move up
l - Move right
$ - Move to end of line
0 - Move to beginning of line (including whitespace)
| #!/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" ] |
| # https://github.com/IronicBadger/bootlace |
| #!/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 |
| # 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. |
| 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' |
| #!/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 |
| { | |
| "annotations": { | |
| "list": [] | |
| }, | |
| "editable": true, | |
| "gnetId": null, | |
| "graphTooltip": 0, | |
| "hideControls": false, | |
| "id": 1, | |
| "links": [], |
| # listening on port 80 disabled by default, remove the "#" signs to enable | |
| # redirect all traffic to https | |
| server { | |
| listen 80 default_server; | |
| listen [::]:80 default_server; | |
| server_name _; | |
| return 301 https://$host$request_uri; | |
| } |
| server { | |
| listen 80; | |
| server_name www.server.com; | |
| return 301 https://server.com$request_uri; | |
| } | |
| server { | |
| listen 443; | |
| server_name www.server.com; | |
| return 301 https://server.com$request_uri; |