I hereby claim:
- I am kedazo on github.
- I am kedz (https://keybase.io/kedz) on keybase.
- I have a public key ASAGV5dDRaXMBof_cQhP_Ffig-MJ1xQTSMp55lW7b9A2Kwo
To claim this, I am signing this object:
#!/bin/bash | |
# Run this script as root ( or sudo ) and pass username as argument. | |
# Version v0.1 (initial) | |
# David Kedves <kedazo@severalnines.com> | |
USERNAME=$1 | |
apt-get install -y snapd | |
# /snap/bin must be in path | |
grep '/snap/bin' /etc/profile 2>/dev/null || echo 'export PATH=/snap/bin:${PATH}' >> /etc/profile | |
grep '/snap/bin' /root/.bashrc 2>/dev/null || echo 'export PATH=/snap/bin:${PATH}' >> /root/.bashrc |
I hereby claim:
To claim this, I am signing this object:
/* | |
* ESP8266 CheckFlashConfig by Markus Sattler | |
* | |
* This sketch tests if the EEPROM settings of the IDE match to the Hardware | |
* | |
* https://github.com/esp8266/Arduino/blob/master/libraries/esp8266/examples/CheckFlashConfig/CheckFlashConfig.ino | |
*/ | |
#include <ESP8266WiFi.h> | |
#include <WiFiClient.h> |
<!-- | |
The MIT License | |
Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Daniel Dyer, Seiji Sogabe, Tom Huybrechts | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in |
kedz@kedz-i7s850:~$ cat ~/.config/roxterm.sourceforge.net/Colours/xterm-gnome-terminal | |
[roxterm colour scheme] | |
0=#000000000000 | |
1=#CDCB00000000 | |
2=#0000CDCB0000 | |
3=#CDCBCDCB0000 | |
4=#1E1A908FFFFF | |
5=#CDCB0000CDCB | |
6=#0000CDCBCDCB |
export PS1="\[\033[01;32m\]\u@🏠\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$(__git_ps1)\$ " |
$ lxc exec cmon-test-node4 bash | |
root@cmon-test-node4:~# ls | |
root@cmon-test-node4:~# wget 'https://severalnines.com/scripts/install-cc' | |
--2019-04-24 20:22:35-- https://severalnines.com/scripts/install-cc | |
Resolving severalnines.com (severalnines.com)... 107.154.148.155, 107.154.238.155 | |
Connecting to severalnines.com (severalnines.com)|107.154.148.155|:443... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 57287 (56K) [text/x-shellscript] | |
Saving to: ‘install-cc’ |
#!/bin/bash | |
# Arguments: private-key-file username [URL] | |
echo "$0 - RPCv2 authenticator" | |
KEYFILE=$1 | |
if [ "${KEYFILE}x" == "x" ]; then | |
KEYFILE=./user.key | |
fi | |
USERNAME=$2 |
#! /bin/bash | |
clusterids=`s9s cluster --list --long --batch | cut -d' ' -f1` | |
graphs+="cpuuser diskfree diskreadspeed diskreadwritespeed diskwritespeed " | |
graphs+="diskutilization memfree memutil neterrors netreceivedspeed " | |
graphs+="netreceiveerrors nettransmiterrors netsentspeed netspeed " | |
graphs+="sqlcommands sqlcommits sqlconnections sqlopentables sqlqueries " | |
graphs+="sqlreplicationlag sqlslowqueries swapfree" |
#!/bin/bash | |
# | |
# A command to show the cmon process threads, note any cmon running | |
# inside containers will be skipped. | |
# | |
IFS=' | |
' | |
CMONPIDS=`pgrep cmon` | |
SELECTED='' |