Skip to content

Instantly share code, notes, and snippets.

View amid11's full-sized avatar
🏠
Working from home

Amid Dadgar amid11

🏠
Working from home
  • Iran
View GitHub Profile
@amid11
amid11 / i3-shortcuts.md
Created August 25, 2020 10:35
My i3wm shortcut setup

Here's my i3wm shortcuts:

Shortcut Description
<super> + q Close the current window
<super> + d Rofi (application menu)
alt + q Horizontal Layout
alt + w Tabbed Layout
iw dev wlan0mon del
iw phy phy0 interface add wlan0 type managed
sudo iwconfig wlan0
service network-manager restart
ifconfig wlan0mon down
ifconfig wlan0mon mode monitor
ifconfig wlan0mon up
@amid11
amid11 / keybindings.json
Created October 8, 2018 19:42
VSCode (Mon Oct 08 2018)
// Place your key bindings in this file to overwrite the defaults
[{
"key": "ctrl+alt+b",
"command": "HookyQR.beautifyFile"
},
{
"key": "ctrl+shift+t",
"command": "editor.emmet.action.matchTag"
},
{
@amid11
amid11 / settings.json
Last active July 17, 2019 09:59
VSCode Settings (July 17 2019)
{
// Window
"window.restoreWindows": "none",
"window.title": "${dirty}${activeEditorMedium}${separator}${rootName}",
"window.zoomLevel": 0,
// Workbench
"workbench.colorTheme": "Github Light Theme - Gray",
@amid11
amid11 / deep_work.md
Last active September 20, 2018 08:36 — forked from chrisbodhi/deep_work.md
A summary of the tips & tricks in Cal Newport's "Deep Work"

Deep Work

Rules for Focused Success in a Distracted World

Part I: The Idea

  • Deep Work is valuable
  • Deep Work is rare
  • Deep Work is meaningful

Part II: The Rules

{
// Workbech
"workbench.statusBar.feedback.visible": false,
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "eq-material-theme-icons",
"workbench.colorTheme": "Quiet Light",
// editor
"editor.minimap.enabled": false,
"editor.mouseWheelZoom": true,
"editor.rulers": [80],
Name Color
Bleu de France #318ce7
Brandeis blue #0070ff

Emmet

Command Description
Shift + Ctrl + . next item
Shift + Ctrl + , previous item
c#0070ff color:#0070ff
p4 padding:4px
ps:a position: absolute
w100p width: 100%
@amid11
amid11 / yoones.md
Last active February 15, 2018 16:40
  1. iwconfig : gereftan esme cart shabake (osooolan wlp2s0)
  2. sudo airmon-ng start wlp2s0 : va3 set kardan cart rooye monitor mode (wlp2s0 mishe wlp2s0mon)
  3. sudo airodump-ng wlp2s0mon : baraye scan kardan
  4. sudo airodump-ng wlp2s0mon --bssid 00:00:00:00 --channel 11 : baraye scan kardan bssid khaas rooye channel khaas

Command Description
iwconfig gereftan esme cart shabake (osooolan wlp2s0)
@amid11
amid11 / user-settings
Created November 11, 2017 15:45
vscode-user-setting-backup
// Place your settings in this file to overwrite the default settings
{
// "html.autoClosingTags":false,
"terminal.integrated.shell.linux": "/usr/bin/zsh",
// Color
"workbench.colorCustomizations": {
"statusBar.background": "#FC0B0B",
"panelTitle.activeForeground": "#24A5C5",
"panelTitle.inactiveForeground": "#F57C00",