Skip to content

Instantly share code, notes, and snippets.

View Neo-Oli's full-sized avatar
🐻
In Cyberspace

glow Neo-Oli

🐻
In Cyberspace
View GitHub Profile
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by gobject-introspection configure 1.56.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/data/data/com.termux/files/usr --with-python=/data/data/com.termux/files/usr/bin/python
## --------- ##
## Platform. ##
W: [pulseaudio] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support.
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: setpriority() worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 12.2
D: [pulseaudio] main.c: Compilation host: aarch64-unknown-linux-android
D: [pulseaudio] main.c: Compilation CFLAGS: -Oz -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wundef -Wformat=2 -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-u
#!/data/data/com.termux/files/usr/bin/sh
apkdir=~/apks
cd "$apkdir"
for f in *.apk; do
cp "$f" "$f.old"
done
gplaycli -u "$apkdir" -p --log -v -y
if [ -f "apps_downloaded.log" ]; then
echo "Updating:"
cat apps_downloaded.log
# _ __
# | |_ _ __ ___ _ ___ __ ___ ___ _ __ / _|
# | __| '_ ` _ \| | | \ \/ / / __/ _ \| '_ \| |_
# | |_| | | | | | |_| |> < | (_| (_) | | | | _|
#(_)__|_| |_| |_|\__,_/_/\_(_)___\___/|_| |_|_|
# Number windows and panes starting at 1 so that we can jump to them easier.
set -g base-index 1
set -g pane-base-index 1
#!/data/data/com.termux/files/usr/bin/bash
data(){
echo termux-location
termux-location -p network > /dev/null
termux-location -p network -r last
echo termux-battery-status
termux-battery-status
echo termux-wifi-connectioninfo
termux-wifi-connectioninfo
echo termux-wifi-scaninfo
@Neo-Oli
Neo-Oli / .zshrc (Android)
Created August 28, 2017 09:00
My ssh setup
export device=droid
export PATH=~/bin:${PATH}
export BROWSER=~/bin/browser
##############################################################################
## This is the example configuration file. Copy it to $HOME/.ncmpcpp/config ##
## or $XDG_CONFIG_HOME/ncmpcpp/config and set up your preferences. ##
##############################################################################
#
##### directories ######
##
## Directory for storing ncmpcpp related files. Changing it is useful if you
## want to store everything somewhere else and provide command line setting for
@Neo-Oli
Neo-Oli / .tmux.conf
Last active November 5, 2024 02:15
Tmux settings for termux
set-option -g mouse on
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'"
# Resize panes with arrow keys because alt-arrow keys doesn't work
bind-key -r Up resize-pane -U
bind-key -r Down resize-pane -D
bind-key -r Left resize-pane -L
bind-key -r Right resize-pane -R
@Neo-Oli
Neo-Oli / restore.sh
Created April 6, 2017 08:53
email backup resore
#creating maildir
cd ~/drive/mail
mkdir ~/mail
#creating directories in maildir
for dir in `find -type d`;do
if [ "$dir" != "." ];then
mkdir "$HOME/mail/$dir"
fi
done
#copying mails, replacing the backup string with colon
@Neo-Oli
Neo-Oli / backup.py
Last active April 6, 2017 08:47
email backup. Parts of my backup system
def mkdir(path):
if not os.path.isdir(path):
os.makedirs(path)
def ln(source,target):
target=target.replace(":","%%%%%")
# print("{} => {}".format(source,target))
if os.path.isfile(target):
os.remove(target)
os.symlink(source,target)