Skip to content

Instantly share code, notes, and snippets.

View a7r3's full-sized avatar
👩‍💻
<- All day, all night

Arvindraj a7r3

👩‍💻
<- All day, all night
View GitHub Profile
@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active April 27, 2024 22:45
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@CCAtAlvis
CCAtAlvis / .env
Last active March 3, 2019 07:05
I-SEE-U
DB_URI=mongodb://bombe-admin:bombe-admin@cluster0-shard-00-00-okyot.mongodb.net:27017,cluster0-shard-00-01-okyot.mongodb.net:27017,cluster0-shard-00-02-okyot.mongodb.net:27017/test?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin&retryWrites=true
@onlurking
onlurking / arch.md
Last active March 7, 2024 16:52
Arch Linux chroot on Termux

Arch Linux

chroot on Termux

Let's download the Arch ARM image with the text-browser w3m and install proot:

apt install w3m proot
w3m http://archlinuxarm.org/os/ArchLinuxARM-utilite-latest.tar.gz
@a7r3
a7r3 / vars.ScriBt
Last active February 24, 2017 07:24
Vars necessary for complete Automation of ScriBt
ScriBt's Variables
Necessary for Complete Automation
Double Quote Entered Values, Recommended
########
# Sync #
########
SBJOBS= # No of Threads for Sync [Integral Values Plz]
SBF= # Force Sync ? [y/n]
SBS= # Silent sync ? [y/n]
@tasomaniac
tasomaniac / screenrecord.sh
Last active June 28, 2022 22:05 — forked from PaulKinlan/getdeviceart.sh
Screen Record for Android
#!/bin/sh
set -e
if [ -z "$1" ]; then
shot_path=$(date +%Y-%m-%d-%H-%M-%S).mp4
else
shot_path="$*"
fi
# to test run eval "$(curl https://gist.githubusercontent.com/mafintosh/8b420dd5273a137cd6fe/raw/7cd9c707f71b171ef4b9f986c67132978e59da5e/emoji-ps1.sh -sL)"
PS1_EMOJIS=("😀" "😬" "😁" "😂" "😃" "😄" "😅" "😆" "😇" "😉" "😊" "🙂" "🙃" "☺️" "😋" "😌" "😍" "😘" "😗" "😙" "😚" "😜" "😝" "😛" "🤑" "🤓" "😎" "🤗" "😏" "😶" "😑" "🙄" "🤔" "😳" "😞" "😟" "😠" "😔" "😕" "🙁" "😣" "😖" "😩" "😤" "😮" "😱" "😨" "😰" "😯" "😦" "😧" "😢" "😥" "😪" "😓" "😭" "😲" "🤐" "😷" "😴" "💩" "😺" "😸" "😹" "😻" "😼" "😽" "🙀" "😿" "😾" "👏" "👋" "👂" "👁" "💋" "🕶" "🐶" "🐱" "🐭" "🐹" "🐰" "🐻" "🐼" "🐨" "🐯" "🦁" "🐮" "🐷" "🐽" "🐸" "🐙" "🐵" "🙈" "🙉" "🙊" "🐒" "🐔" "🐧" "🐦" "🐤" "🐣" "🐥" "🐺" "🐗" "🐴" "🦄" "🐝" "🐛" "🐌" "🐞" "🐜" "🕷" "🦂" "🦀" "🐍" "🐢" "🐠" "🐟" "🐡" "🐬" "🐳" "🐋" "🐊" "🐆" "🐅" "🐃" "🐂" "🐄" "🐪" "🐫" "🐘" "🐐" "🐏" "🐑" "🐎" "🐖" "🐀" "🐁" "🐓" "🦃" "🕊" "🐕" "🐩" "🐈" "🐇" "🐿" "🐾" "🐉" "🐲" "🕸" "🍤" "🏇")
_p1_emoji () {
printf "${PS1_EMOJIS[$RANDOM % 152]} ${PS1_EMOJIS[$RANDOM % 152]} ${PS1_EMOJIS[$RANDOM % 152]} "
}
export PS1="$PS1\$(_p1_emoji)"
@cesarferreira
cesarferreira / RxJava.md
Last active February 2, 2022 07:28
Party tricks with RxJava, RxAndroid & Retrolambda

View Click

Instead of the verbose setOnClickListener:

RxView.clicks(submitButton).subscribe(o -> log("submit button clicked!"));

Filter even numbers

Observable
    .just(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
@mariuz
mariuz / DriverExample.java
Created June 23, 2011 19:54
Firebird driver example using jaybird-full jar
// Original version of this file was part of InterClient 2.01 examples
//
// Copyright InterBase Software Corporation, 1998.
// Written by com.inprise.interbase.interclient.r&d.PaulOstler :-)
//
// Code was modified by Roman Rokytskyy to show that Firebird JCA-JDBC driver
// does not introduce additional complexity in normal driver usage scenario.
//
// A small application to demonstrate basic, but not necessarily simple, JDBC features.
//