You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Lambert Green
LambertGreen
I am a software engineer who is talking to the machine.
WARNING: THIS GIST IS OUT OF DATE AND NO LONGER RELEVANT
Native-comp was enabled by default in nixpgks
Pgtk is not enabled by default, for that you can either override the derivation or use emacsPgtk from the nix-community emacs overlay if you don't want to build it yourself
Script Toggle Dark Mode On/Off for Mac OS, Hyper term, Tmux and Vim #macos #hyper #tmux #vim #darkmode #applescript
Script to Toggle Dark Mode On/Off for Mac OS, Hyper term, Tmux and Vim
I had some fun pimping my development setup during my summer vacation 🏖 🏝 and
here's what I came up with. A script toggle-dark-mode that toggles dark mode for
not only Mac OS, but also Hyper, tmux and vim at once. I'm gonna be so
productive now.. 😁
*(I've customized Hyper term to remove dead space on top for maximized windows,
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
Setting up your python development environment (with pyenv, virtualenv, and virtualenvwrapper)
Overview of Python Virtual Environments
This guide is targetted at intermediate or expert users who want low-level control over their Python environments.
When you're working on multiple coding projects, you might want a couple different version of Python and/or modules installed. This helps keep each workflow in its own sandbox instead of trying to juggle multiple projects (each with different dependencies) on your system's version of Python. The guide here covers one way to handle multiple Python versions and Python environments on your own (i.e., without a package manager like conda). See the Using the workflow section to view the end result.
h/t @sharkinsspatial for linking me to the perfect cartoon
Here are the steps to installing and setting up GDB on Mac OS Sierra/High Sierra.
Run brew install gdb.
On starting gdb, you will get the following error:
Unable to find Mach task port for process-id 2133: (os/kern) failure (0x5).
(please check gdb is codesigned - see taskgated(8))
Pimping Up Your PowerShell & Cmder with Posh-Git, Oh-My-Posh, & Powerline Fonts
Backstory (TLDR)
I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.
For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.
Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.
Hammerspoon capslock remapping: tap to Escape, hold in chord for Control
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
Hi, I'm Lorna and I don't use a mouse. I have had RSI issues since a bad workstation setup at work in 2006. I've tried a number of extra hardware modifications but what works best for me is to use the keyboard and only the keyboard, so I'm in a good position and never reaching for anything else (except my coffee cup!). I rather unwisely took a job which required me to use a mac (I've been a linux user until now and also had the ability to choose my tools carefully) so here is my cheatsheet of the apps, tricks and keyboard shortcuts I'm using, mostly for my own reference. Since keyboard-only use is also great for productivity, you may also find some of these ideas useful, in which case at least something good has come of this :)
Apps List
There's more detail on a few of these apps but here is a quick overview of the tools I've installed and found helpful
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