This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Pull in the wezterm API | |
local wezterm = require 'wezterm' | |
-- This will hold the configuration. | |
local config = wezterm.config_builder() | |
-- This is where you actually apply your config choices. | |
-- For example, changing the initial geometry for new windows: | |
config.initial_cols = 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# # Filename: $HOME/.config/ghostty/config | |
# # Some config options have unique syntaxes for their value, | |
# # which is explained in the docs for that config option. | |
# # Just for example: | |
# resize-overlay-duration = 4s 200ms | |
# Colors | |
theme = catppuccin-macchiato | |
#theme = catppuccin-frappe | |
#background = #2b2d37 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
sudo mkdir /Volumes/NTFS | |
sudo umount /dev/disk2s1 2>/dev/null | |
diskutil unmount /dev/disk2s1 2>/dev/null | |
sudo /usr/local/bin/ntfs-3g /dev/disk2s1 /Volumes/NTFS -olocal -oallow_other -oauto_xattr & |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open terminal | |
shift + alt - return : /Applications/iTerm.app/Contents/MacOS/iTerm2 --single-instance -d "/Users/samundra" | |
# change size of window | |
shift + alt - w : yabai -m window --resize top:0:-20 ; yabai -m window --resize bottom:0:-20 | |
shift + alt - a : yabai -m window --resize left:-20:0 ; yabai -m window --resize right:-20:0 | |
shift + alt - s : yabai -m window --resize bottom:0:20 ; yabai -m window --resize top:0:20 | |
shift + alt - d : yabai -m window --resize right:20:0 ; yabai -m window --resize left:20:0 | |
shift + alt - r : yabai -m window --resize right:100:0 | |
shift + alt - l : yabai -m window --resize left:-100:0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "cmd+1", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "cmd+[", | |
"command": "workbench.action.navigateBack" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
findIp() { | |
ip=`ifconfig -a | grep inet|grep "192."|tail -1|cut -f2 -d ":"|cut -f1 -d " "` | |
echo $ip | |
} | |
findIp | |
# Usage: | |
# chmod +x show-ip.sh | |
# - ./show-ip.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You may add here your | |
# server { | |
# ... | |
# } | |
# statements for each of your virtual hosts to this file | |
## | |
# You should look at the following URL's in order to grasp a solid understanding | |
# of Nginx configuration files in order to fully unleash the power of Nginx. | |
# http://wiki.nginx.org/Pitfalls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ "keys": ["super+shift+y"], "command": "show_overlay", "args": {"overlay": "command_palette", "text": "Set Syntax: "} }, | |
{ "keys": ["super+shift+w"], "command": "toggle_setting", "args": {"setting": "word_wrap"}}, | |
{ "keys": ["super+alt+n"], "command": "advanced_new_file_new"}, | |
{ "keys": ["super+shift+d"], "command": "git_diff"}, | |
{ "keys": ["super+shift+c"], "command": "copy_relative_path"}, | |
{ "keys": ["super+e"], "command": "extended_switcher", "args": {"list_mode": "window"} }, | |
{ "keys": ["super+shift+e"], "command": "extended_switcher", "args": {"list_mode": "active_group"} }, | |
{ "keys": ["alt+enter"], "command": "goto_definition" }, | |
{ "keys": ["super+shift+a"], "command": "alignment" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Filename: App/Providers/MakeSeedServiceProvider.php | |
*/ | |
namespace App\Providers; | |
use Illuminate\Support\ServiceProvider; | |
use Illuminate\Database\Console\Seeds\SeederMakeCommand; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
## List all actively running docker container ip | |
## | |
## USAGE: | |
## chmod +x docker-network.sh | |
## ./docker-network.sh | |
## | |
## OUTPUT: 172.19.0.5 - my_container_2 |
NewerOlder