Skip to content

Instantly share code, notes, and snippets.

View rizwanzaheer's full-sized avatar
๐ŸŽฏ
Focusing

Rizwan Zaheer rizwanzaheer

๐ŸŽฏ
Focusing
View GitHub Profile
@rizwanzaheer
rizwanzaheer / gist:abc46faa4f734eafe1fc607d2ea8d2a7
Last active August 24, 2022 12:35 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@rizwanzaheer
rizwanzaheer / import.md
Created June 14, 2022 08:17 — forked from iamstoick/import.md
How to import database in MySQL in Docker?

This is a simple way of importing MySQL database in Docker.

  1. In you Dockerfile you must have a shared folder. Shared folder is a directory in your host machine that is mounted to Docker instance.

  2. Put the exported sql file in the shared folder.

  3. Login to your Docker instance via docker exec -it DOCKER_CONTAINER_ID bin/bash.

  4. Login to MySQL via mysql -u USERNAME -p.

@rizwanzaheer
rizwanzaheer / profile.md
Created October 22, 2021 16:48 — forked from ezekg/profile.md
iTerm key bindings

Open the iTerm preferences โŒ˜+, and navigate to the Profiles tab (the Keys tab can be used, but adding keybinding to your profile allows you to save your profile and sync it to multiple computers) and keys sub-tab and enter the following:

Delete all characters left of the cursor

โŒ˜+โ†Delete Send Hex Codes:

  • 0x18 0x7f โ€“ Less compatible, doesn't work in node and won't work in zsh by default, see below to fix zsh (bash/irb/pry should be fine), performs desired functionality when it does work.
  • 0x15 โ€“ More compatible, but typical functionality is to delete the entire line rather than just the characters to the left of the cursor.

Delete all characters right of the cursor

โŒ˜+fn+โ†Delete or โŒ˜+Deleteโ†’ Send Hex Codes:

  • 0x0b
@rizwanzaheer
rizwanzaheer / docker-help.md
Created August 17, 2018 13:30 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

Keybase proof

I hereby claim:

  • I am rizwanzaheer on github.
  • I am rizwanzaheer (https://keybase.io/rizwanzaheer) on keybase.
  • I have a public key whose fingerprint is C3FB 51D3 18B0 3568 FDF0 BC26 1C3F 6B5F 400E 240C

To claim this, I am signing this object: