Skip to content

Instantly share code, notes, and snippets.

View 0xbaha's full-sized avatar
Working from home

Baha 0xbaha

Working from home
View GitHub Profile
@0xbaha
0xbaha / free-database-hosting.md
Created April 17, 2022 03:24 — forked from bmaupin/free-database-hosting.md
Free database hosting
@0xbaha
0xbaha / clear-bash-history.md
Created September 20, 2021 07:22
Clear Bash History
@0xbaha
0xbaha / ssh-setup.sh
Last active September 25, 2021 08:09
SSH Manual Setup
#!/bin/bash
# create ssh directory
mkdir .ssh
chmod 700 .ssh
# create authorized_keys file
touch .ssh/authorized_keys
chmod 600 .ssh/authorized_keys

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@0xbaha
0xbaha / gist:b6133dbdd4f2ebdaab284ed7fdfbc49a
Created August 26, 2020 06:10 — 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:
@0xbaha
0xbaha / install-sharex-win7.md
Last active August 16, 2020 15:50
How to install ShareX in Windows 7

Install ShareX on Windows 7

Step-by-step

  1. Download the files.
  2. Store in Download folder, for example: C:\Users\{username}\Downloads\ShareX-Win7.zip
  3. Right click on the zip file, then choose Extract All
  4. The destination must be C:\Users\{username}\Downloads\ShareX-Win7
  5. Open folder C:\Users\{username}\Downloads\ShareX-Win7
  6. Right click on the install.bat file, choose Run as administration.
  7. Follow the instruction on the installation process until the process finish.
@0xbaha
0xbaha / gnome-terminal-profiles.adoc
Created February 13, 2018 00:04
Export / Import Gnome Terminal Profiles

Export Gnome Terminal Profile

List profiles

dconf dump /org/gnome/terminal/legacy/profiles:/

Determine the terminal profile string for the profile you will need. This is the terminal profile that I will export:

@0xbaha
0xbaha / .bashrc
Created February 11, 2018 02:20 — forked from indrakaw/.bashrc
Default .bashrc fo Ubuntu 16.04 LTS
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac