Skip to content

Instantly share code, notes, and snippets.

View ceaia-tiberiu's full-sized avatar

Tiberiu Ceaia ceaia-tiberiu

  • London, United Kingdom
View GitHub Profile

Windows 10 - Using Git Bash With TMUX

Why Not Use WSL?

I tried the WSL and it isn't quite seamless enough for me. I ran in to problems when editing in VSCode and having watchers on my files (ng serve, dotnet watch run, etc.). In addition, I kept running in to problems that only manifest themselves when running in WSL. For example, this issue with doing production builds and the terser plugin has made many a developer rage-quit on using WSL. Just figuring out that it was an issue with the WSL took a lot of time.

That terser plugin issue was never resolved and I ended up having to keep a git bash window open in addition to my WSL console window so I could do production builds. To make matters worse, my npm packages were platform-dependent so I couldn't use the same project folder. So, my procedure was: commit whatever changes to test branch, push to repo, git pull on my "windows" project folder, and do a production build there

@ceaia-tiberiu
ceaia-tiberiu / README.md
Created March 28, 2024 13:09 — forked from vuon9/README.md
Powertoys - Keyboard Manager - Common macOS keys mapping

How to install

  • cd C:\Users\${username}\AppData\Local\Microsoft\PowerToys\Keyboard Manager
  • Backup file existing one of default.json
  • Download default.json and add it to the current folder

Mapped keys

key
Esc
@ceaia-tiberiu
ceaia-tiberiu / README.md
Created February 8, 2023 23:21
Automatically extend LG WebOS Developer Mode with Home Assistant

The Developer Mode app is required for testing apps in LG's WebOS. The developer mode lasts only 50 hours, and the app has a button to reset the timer back to 50. This Home Assistant automation will turn on the TV, open the Developer Mode app, press the "extend" button, and turn the TV back off. Here I set it to run automatically every night at 4 AM.

Important to note that the media_player.webos_tv in these files refers to the entity ID in my own configuration. You need to replace it with your TV's entity ID defined in Home Assistant.

@ceaia-tiberiu
ceaia-tiberiu / README.md
Created February 8, 2023 11:28 — forked from ascendbruce/README.md
Use macOS-style shortcuts in Windows

Use macOS-style shortcuts in Windows / keyboard mappings using a Mac keyboard on Windows

Make Windows PC's shortcut act like macOS (Mac OS X) (using AutoHotkey (ahk) script)

With this AutoHotKey script, you can use most macOS style shortcuts (eg, cmd+c, cmd+v, ...) on Windows with a standard PC keyboard.

There is a new, alternative project that does similar things and more, check it out at https://github.com/stevenilsen123/mac-keyboard-behavior-in-windows

How does it work

@ceaia-tiberiu
ceaia-tiberiu / postgres-brew.md
Created December 27, 2018 10:42 — forked from ibraheem4/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@ceaia-tiberiu
ceaia-tiberiu / clipboard.history.json
Last active January 29, 2021 23:24
Visual Studio Code Settings Sync Gist
{
"version": 2,
"clips": [
{
"value": "bb2a278c0db27d8eaa69228597113d8c",
"createdAt": 1611961896874,
"copyCount": 1,
"useCount": 0,
"language": "xml",
"createdLocation": {
@ceaia-tiberiu
ceaia-tiberiu / ultimate-ut-cheat-sheet.md
Created September 8, 2016 12:41 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies