Skip to content

Instantly share code, notes, and snippets.

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

William Muli muliswilliam

🏠
Working from home
View GitHub Profile
@muliswilliam
muliswilliam / aerospace.toml
Created October 19, 2024 12:18
aerospace.toml
# 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 = []
# Generated by Powerlevel10k configuration wizard on 2024-08-16 at 11:02 EAT.
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 44011.
# Wizard options: nerdfont-v3 + powerline, small icons, rainbow, unicode, 24h time,
# vertical separators, sharp heads, slanted tails, 2 lines, solid, no frame,
# darkest-ornaments, sparse, few icons, fluent, transient_prompt,
# instant_prompt=verbose.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with powerline prompt style with colorful background.
# Type `p10k configure` to generate your own config based on it.
@muliswilliam
muliswilliam / .tmux.conf
Last active August 30, 2024 09:18
.tmux.conf
set -g default-terminal "screen-256color"
set -g prefix C-a
unbind C-b
bind-key C-a send-prefix
unbind %
bind | split-window -h
@muliswilliam
muliswilliam / GetUsersViaDelta
Created August 20, 2020 09:56
Get incremental changes for users
public async Task<List<User>> GetUsers(IGraphServiceClient graphClient)
{
var users = new List<User>();
// Here you get deltaLink that you stored from a previous call => can be empty for the first time
var deltaLinkValue = ""; // Get your value from where it was stored
IUserDeltaCollectionPage userCollectionPage;
// Get users