Skip to content

Instantly share code, notes, and snippets.

MBetters

Block or report user

Report or block MBetters

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@MBetters
MBetters / set_kits_env_vars.sh
Last active Jul 17, 2019
Script to manually set the environmentVariables of all the kits in VSCode's CMake Tools' .vscode/cmake-kits.json
View set_kits_env_vars.sh
#!/bin/bash
# Usage: source ./set_kits_env_vars.sh /path/to/your/environment/setup/script
# Prerequisites: jq (sudo apt-get install -y jq)
# This script sources the environment script provided by the given argument
# and sets all the "environmentVariables" fields in .vscode/cmake-kits.json accordingly.
# TODO:
@MBetters
MBetters / fuck-debug.txt
Last active May 7, 2019
"The Fuck" Utility Debugging Output for Error in Fish Shell
View fuck-debug.txt
~> set -Ux THEFUCK_DEBUG true
~> aptget install vim
No command 'aptget' found, did you mean:
Command 'apt-get' from package 'apt' (main)
aptget: command not found
~> fuck
DEBUG: Run with settings: {'alter_history': True,
'debug': True,
'env': {'GIT_TRACE': '1', 'LANG': 'C', 'LC_ALL': 'C'},
'exclude_rules': [],
View lcm-gen-error
me@ubdev17:~/src/var-fslc-yocto/build_fb$ bitbake lcm
WARNING: Layer pnt should set LAYERSERIES_COMPAT_pnt in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer pnt should set LAYERSERIES_COMPAT_pnt in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: You have included the meta-gnome layer, but 'x11' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-gnome README for details on enabling meta-gnome support.
Loading cache: 100% |################################################################| Time: 0:00:02
Loaded 3376 entries from dependency cache.
Parsing recipes: 100% |##############################################################| Time: 0:00:01
Parsing of 2472 .bb files complete (2471 cached, 1 parsed). 3375 targets, 441 skipped, 3 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
View Vagrant Private Network Debugging Output
C:\Users\mbetters\Desktop\vms\web>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 (guest) => 2200 (host) (adapter 1)
You can’t perform that action at this time.