Skip to content

Instantly share code, notes, and snippets.

View lexavey's full-sized avatar
This account is no longer maintained

Lexa Vey lexavey

This account is no longer maintained
  • Free
  • Zimbabwe
View GitHub Profile
lexavey /
Created October 10, 2023 04:03 — forked from ppoffice/
Install Visual Studio Code (actually code-server) on Android
  1. Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.

  2. Update system packages in Termux:

    $ pkg update -y
lexavey /
Created August 7, 2023 06:11
Installing Visual Studio Code (code-server) on Android Devices (Termux)

Installing Visual Studio Code (code-server) on Android Devices (Termux)

This guide will walk you through the steps to install Visual Studio Code (code-server) on your Android device using Termux.


  1. Install Termux from the GitHub repository or


* @author Ammar Faizi <>
* A simple HTTP Server. I make this program just to do a challenge
* from @codenoid.
* Link:
* Link:
lexavey /
Created October 18, 2022 04:09
Install latest cURL in linux
## First, download newest curl package from here
apt remove curl
apt autoremove
apt-get install gcc make -y
tar xzvf curl-7.85.0.tar.gz
cd curl-7.85.0
## if you facing error, try configure with openssl
lexavey / quiz.js
Created October 16, 2022 14:37
ngecheat xixixi
var obj = Object.entries(document.getElementsByTagName('iframe')[0].contentWindow.H5PIntegration.contents)
var obj = obj[0][1]['jsonContent']
parsejson = JSON.parse(obj)
for (var k in parsejson['questions']) {
console.log("SOAL : " + parsejson['questions'][k]['params']['question'])
for (var a in parsejson['questions'][k]['params']['answers']) {
if (parsejson['questions'][k]['params']['answers'][a]['correct']) {
console.log("JAWABAN : " + parsejson['questions'][k]['params']['answers'][a]['text'])
lexavey / gist:d247e92f7cf4f24308685f2cadda00a7
Created September 30, 2022 15:12
Access termux from PC
## first install open ssh
apt install openssh
## start ssh
## in pc
adb forward tcp:8022 tcp:8022
## then
ssh -p 8022 root@localhost
lexavey / termux
Created September 30, 2022 14:43 — forked from rewida17/termux
Run termux env via eg adb shell
#Based on
export PREFIX='/data/data/com.termux/files/usr'
export HOME='/data/data/com.termux/files/home'
export LD_LIBRARY_PATH='/data/data/com.termux/files/usr/lib'
export PATH="/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets:$PATH"
export LANG='en_US.UTF-8'
export SHELL='/data/data/com.termux/files/usr/bin/bash'
export BIN='/data/data/com.termux/files/usr/bin'
export TERM=vt220
lexavey /
Created September 26, 2022 08:41
Check HTTP Status
while ! command -v ./parallel &> /dev/null
# printf "\rDownloading Parallel"
wget -q -O parallel
chmod 755 parallel
printf "will cite" | ./parallel --citation &> /dev/null
##Scan and merge
find "$directory" -type f -name "*.tmp" -print0 | while read -d $'\0' file
filename=$(basename "$file")
year=$(echo "$filename"|cut -d "-" -f 1)
month=$(echo "$filename"|cut -d "-" -f 2)