Skip to content

Instantly share code, notes, and snippets.

View rezajax's full-sized avatar
💭
sepi $msg.tostring()

Reza rezajax

💭
sepi $msg.tostring()
View GitHub Profile
Sno Entity Code Year Cellular Subscription Internet Users(%) No. of Internet Users Broadband Subscription
0 Afghanistan AFG 1980 0 0 0 0
1 Afghanistan AFG 1981 0 0 0 0
2 Afghanistan AFG 1982 0 0 0 0
3 Afghanistan AFG 1983 0 0 0 0
4 Afghanistan AFG 1984 0 0 0 0
5 Afghanistan AFG 1985 0 0 0 0
6 Afghanistan AFG 1986 0 0 0 0
7 Afghanistan AFG 1987 0 0 0 0
8 Afghanistan AFG 1988 0 0 0 0
@rezajax
rezajax / matadata.json
Last active April 7, 2024 10:19
about me
{
"website": "reza.am",
"linkedin": "linkedin.com/in/rezajax",
"stackoverflow": "stackoverflow.com/users/6547335",
}
@qdm12
qdm12 / README.md
Last active July 17, 2024 04:45
Wireguard and iptables restrictions for multiple users

Wireguard and iptables restrictions for multiple users

If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.

Assumptions

This should fit most setups (not mine though 😉)

@Pulimet
Pulimet / AdbCommands
Last active July 20, 2024 12:55
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@EmadAdly
EmadAdly / install-android-sdk-in-ubuntu.md
Last active June 18, 2024 03:39
install JDK and Android SDK on Linux Ubuntu

install openjdk

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
@mcastelino
mcastelino / iptables-cheatsheet.md
Last active July 10, 2024 08:51
iptables-cheatsheet

The netfilter hooks in the kernel and where they hook in the packet flow

The figure below calls out

  • The netfilter hooks
  • The order of table traversal
@yiboyang
yiboyang / xclip aliases for startup scripts
Last active May 11, 2024 03:31
A few xclip aliases to simplify copying/pasting
# to simplify life, install xclip and append the following lines to your .bashrc
alias "c=xclip" # copy to X clipboard (register *)
alias "cs=xclip -selection clipboard" # copy to system wide clipboard (register +)
alias "v=xclip -o" # output copied content (paste)
alias "vs=xclip -o -selection clipboard" # paste from system wide clipboard (equivalent to `v -selection clipboard`)
# examples:
# copy to X:
# go to the same directory in terminal 2 as in terminal 1
# Terminal 1:
@anvaka
anvaka / 00.Intro.md
Last active July 18, 2024 03:09
npm rank

npm rank

This gist is updated daily via cron job and lists stats for npm packages:

  1. Top 1,000 most depended-upon packages
  2. Top 1,000 packages with largest number of dependencies
  3. Top 1,000 packages with highest PageRank score
@grantland
grantland / post.md
Last active February 9, 2023 05:09
RecyclerView item onClick

RecyclerView item onClick

RecyclerView does not have an OnItemClickListener like it's predecessor, ListView. However, detecting item clicks is pretty simple.

Set an OnClickListener in your ViewHolder creation:

private class MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder>  {

    public static class ViewHolder extends RecyclerView.ViewHolder
@wchargin
wchargin / words
Created February 11, 2014 01:14
/usr/share/dict/words
This file has been truncated, but you can view the full file.
A
A's
AA's
AB's
ABM's
AC's
ACTH's
AI's
AIDS's
AM's