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
#include <Arduino_JSON.h> | |
#include <Arduino.h> | |
#include "token.h" | |
#define STATE_HALF 1 | |
#define STATE_FULL 2 | |
#define STATE_OFF 0 | |
#define STATE_UNKNOWN -1 |
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
# install ubuntu in virtual machine | |
# https://ubuntuforums.org/showthread.php?t=1481300 | |
# Get arch type of ubuntu | |
# i686 = 32 bit | |
# x86_64 = 64 bit | |
uname -m | |
# download forticlient | |
https://hadler.me/linux/forticlient-sslvpn-deb-packages |
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
sudo apt-get install expect | |
wget https://hadler.me/files/forticlient-sslvpn_4.4.2333-1_amd64.deb | |
sudo dpkg -i forticlient-sslvpn_4.4.2333-1_amd64.deb | |
/opt/forticlient-sslvpn/64bit/helper/setup | |
cat > sslvpn << EOF | |
#!/usr/bin/expect -f |
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
nct6779-isa-0290 | |
Adapter: ISA adapter | |
Vcore: 512.00 mV (min = +0.00 V, max = +1.74 V) | |
AVCC: 3.31 V (min = +2.98 V, max = +3.63 V) | |
+3.3V: 3.31 V (min = +2.98 V, max = +3.63 V) | |
3VSB: 3.44 V (min = +2.98 V, max = +3.63 V) | |
Vbat: 3.26 V (min = +2.70 V, max = +3.63 V) | |
in9: 0.00 V (min = +0.00 V, max = +0.00 V) | |
fan1: 940 RPM (min = 0 RPM) | |
fan2: 1433 RPM (min = 0 RPM) |
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
# root@pve2:/etc/apt/sources.list.d# lspci | grep -i real | |
# 08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8125 (rev 05) | |
# boot up with "DEBUG" mode | |
# ctrl-d for the first prompt | |
# connect another thethering network ... | |
ip addr show | |
ip link set enp12s0f3u3 up |
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
function create_clientlist_listview() { | |
all_list = []; | |
wired_list = []; | |
wl1_list = []; | |
wl2_list = []; | |
wl3_list = []; | |
if (document.getElementById("clientlist_viewlist_block") != null) { | |
removeElement(document.getElementById("clientlist_viewlist_block")); | |
} | |
var divObj = document.createElement("div"); |
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
export GPG_TTY=$(tty) | |
# https://github.com/keybase/keybase-issues/issues/2798 |
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
https://drive.google.com/drive/folders/14jpjmTpV6zpgyDiZVMoFPhkrn9RG91D7?usp=sharing |
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
Jun 09 13:55:23 sise audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=user@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' | |
Jun 09 13:55:23 sise systemd[1]: Started Session c3 of user root. | |
Jun 09 13:55:23 sise sudo[240119]: pam_systemd(sudo:session): Failed to create session: Exchange full | |
Jun 09 13:55:23 sise sudo[240119]: pam_unix(sudo:session): session opened for user root by (uid=0) | |
Jun 09 13:55:23 sise audit[240119]: USER_START pid=240119 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=? res=success' | |
Jun 09 13:55:23 sise audit[240143]: USER_AVC pid=240143 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc: denied { rootok } for scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:init_t:s0 tclas |
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
#I'm using gitlab-ce docker image, at this moment: 04/2020 | |
#cd: /var/opt/gitlab/git-data/repositories | |
#locating .bundle files here | |
find . -type f | grep -i '.bundle' | while read i; do | |
dir=`dirname "$i"`; | |
pushd "$dir"; | |
git clone `basename "$i"` --bare; | |
popd; | |
done |
NewerOlder