Skip to content

Instantly share code, notes, and snippets.

View abbood's full-sized avatar
💭
Leading Village.do tech team

Abdullah Bakhach abbood

💭
Leading Village.do tech team
View GitHub Profile
# move window to prev and next space
#shift + alt - p : yabai -m window --space prev;
#shift + alt - n : yabai -m window --space next;
shift + alt - n : ~/scripts/clear_space0.sh;
ctrl + alt - right : yabai -m display --focus 1
ctrl + alt - left : yabai -m display --focus 2
# move currently focused window to next space
alt + cmd - right : yabai -m window --space next
alt + cmd - left : yabai -m window --space prev
@abbood
abbood / gist:316ea9f7e211c85c3c510dd02a36bc96
Created December 12, 2024 15:17
aerospace window manager setup
# Place a copy of this config to ~/.aerospace.toml
# After that, you can edit ~/.aerospace.toml to your liking
# It's not necessary to copy all keys to your config.
# If the key is missing in your config, "default-config.toml" will serve as a fallback
# You can use it to add commands that run after login to macOS user session.
# 'start-at-login' needs to be 'true' for 'after-login-command' to work
# Available commands: https://nikitabobko.github.io/AeroSpace/commands
after-login-command = []
-- Read the docs: https://www.lunarvim.org/docs/configuration
-- Example configs: https://github.com/LunarVim/starter.lvim
-- Video Tutorials: https://www.youtube.com/watch?v=sFA9kX-Ud_c&list=PLhoH5vyxr6QqGu0i7tt_XoVK9v-KvZ3m6
-- Forum: https://www.reddit.com/r/lunarvim/
-- Discord: https://discord.com/invite/Xb9B4Ny
local opts = { noremap = true, silent = true }
local map = vim.api.nvim_set_keymap
lvim.leader = ","
-- Enable formatting on save
{
"contactsReturned": false,
"relationships": [
{
"identity": 106243532,
"labels": "Person",
"warmth_version": 1,
"linkedin_connections": 65535,
"load_source": "coresignal",
"warmth_trigger_date": 1699024241178,
{
"linkedin_id": "urn:li:fs_profileView:ACoAAEmyxIsBT7wzSvWyuQAL19EaDEVebiGYm14",
"firstname": "macbeth",
"lastname": "el kahtani",
"profile_url": "https://www.linkedin.com/in/macbeth-el-kahtani-7771032a6",
"avatar_url": "https://media.licdn.com/dms/image/D4E03AQEGTicXa7prJQ/profile-displayphoto-shrink_800_800/0/1702895338460?e=1711584000&v=beta&t=4ICqRjEsjjwdPNSLRFR4lcFL-Ni5xX2yUBxosAMI_n0",
"country": "Lebanon",
"location": "Beirut, Beirut Governorate",
"number_of_connections": "",
"about": "",
@abbood
abbood / gist:a453141a877ad65a385a7ef246eb5c19
Created January 25, 2024 16:29
macbeth qahtani profile data
{
"positionGroupView": {
"paging": {
"start": 0,
"count": 5,
"total": 1,
"links": []
},
"entityUrn": "urn:li:fs_positionGroupView:ACoAAEmyxIsBT7wzSvWyuQAL19EaDEVebiGYm14",
"profileId": "ACoAAEmyxIsBT7wzSvWyuQAL19EaDEVebiGYm14",
@abbood
abbood / gist:05f62078937289b8e61613746e66a8d7
Created January 19, 2024 14:24
{{chargebeeDomain}}/api/v2/estimates/create_subscription_for_items?subscription_items[item_price_id][0]={{itemPriceId}}
{
"estimate": {
"created_at": 1705672766,
"object": "estimate",
"subscription_estimate": {
"status": "active",
"next_billing_at": 1708351166,
"object": "subscription_estimate",
"currency_code": "USD"
},
@abbood
abbood / gist:18e70c9eac47ad323cc339fe7e2240a7
Last active January 19, 2024 06:36
{{chargebeeDomain}}/api/v2/subscriptions/{{subscriptionId}}/subscription_entitlements
{
"list": [
{
"subscription_entitlement": {
"subscription_id": "169uU9TvVIss979N1",
"feature_id": "threepaths",
"feature_name": "three_paths",
"feature_description": "vie three warm paths only",
"feature_type": "SWITCH",
"value": "true",
{
"list": [
{
"subscription": {
"id": "169uU9TvVIss979N1",
"billing_period": 1,
"billing_period_unit": "month",
"customer_id": "169lhYTvVIsiD75s4",
"status": "active",
"current_term_start": 1705159370,
{
"Working Directory" : "\/Users\/abdullah",
"Prompt Before Closing 2" : false,
"Selected Text Color" : {
"Red Component" : 0.81176470588235294,
"Color Space" : "sRGB",
"Blue Component" : 0.81568627450980391,
"Alpha Component" : 1,
"Green Component" : 0.82352941176470584
},