Skip to content

Instantly share code, notes, and snippets.

@n1amr
n1amr / zsh_history
Last active February 26, 2024 04:36
My zsh history
. env/bin/activate
adb shell su -c 'dd if=/dev/block/mmcblk0' > /home/n1amr/s3.image
arp -v
awk '!cnt[$0]++' faces.txt
bak .zsh_history
baobab .
basename "$PWD" # current directory name
battery
bg
bicon
@n1amr
n1amr / Template.java
Last active January 19, 2017 17:40
Codefroces Template in Java
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Template {
public static void main(String[] args) throws Exception {
Scanner in = new Scanner(args.length < 1 ? System.in : new FileInputStream(args[0]));
PrintWriter out = new PrintWriter(args.length < 2 ? System.out : new FileOutputStream(args[1]));
@n1amr
n1amr / keybase.md
Last active January 19, 2017 17:38
keybase proof

Keybase proof

I hereby claim:

  • I am n1amr on github.
  • I am n1amr (https://keybase.io/n1amr) on keybase.
  • I have a public key ASB22nFxOhvdK1eKqcxaj4dT2_GunMOGuj1j1Taxghg_IQo

To claim this, I am signing this object: