Skip to content

Instantly share code, notes, and snippets.

View rnetis's full-sized avatar
🐞
Catching Bugs

Metis rnetis

🐞
Catching Bugs
View GitHub Profile
@rnetis
rnetis / startup-script.sh
Last active July 3, 2023 21:20
Automatic script to setup android studio on linux server with vnc display access with Telegram Notification
#!/bin/bash
apt update
apt install -y git zsh tightvncserver xfce4 xfce4-goodies
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
mkdir .vnc
echo '#!/bin/bash' > .vnc/xstartup
echo 'xrdb $HOME/.Xresources' >> .vnc/xstartup
echo 'startxfce4 &' >> .vnc/xstartup
echo "nameserver 10.202.10.202" >> /etc/resolv.conf
#!/usr/bin/bash
useradd -M -s /usr/sbin/nologin \
-e $(date --date="+${3} month" +"%F") \
-p $(echo ${2} | openssl passwd -1 -stdin) ${1}

Keybase proof

I hereby claim:

  • I am rynsm4rt on github.
  • I am sm4rt (https://keybase.io/sm4rt) on keybase.
  • I have a public key ASAY7P5kWpzCxUb3GZvy9aVj17LnPU0NKg8sZN1fQOtvBwo

To claim this, I am signing this object:

import requests
token = raw_input('Enter your token access> ')
r = requests.get("https://api.exir.tech/v0/user", headers = {'Authorization': 'Bearer ' + token}).json()
def start():
print("Hello " + r["full_name"])
print("Email: " + r['email'])
print("1 - Get balance")
x = raw_input("Enter would do you want> ")
if x == '1':

Keybase proof

I hereby claim:

  • I am rynsm4rt on github.
  • I am rayank (https://keybase.io/rayank) on keybase.
  • I have a public key ASByX5ytXNqxuDZcKrbofAxz6yifgTmk_xPFnHX7qs84rAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am rynsm4rt on github.
  • I am rynsm4rt (https://keybase.io/rynsm4rt) on keybase.
  • I have a public key ASBdVG2ZrXYB1cF-EIBHdFKOmulgVdADPXzYYvpN_mpBHwo

To claim this, I am signing this object: