Discover gists
# run this to determine which firmware the kernal is looking for | |
modinfo iwlwifi | grep iwlwifi-cc | |
# example output: | |
# firmware: iwlwifi-cc-a0-50.ucode | |
# go https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/ and download the firmware | |
# copy file to /lib/firmware | |
sudo cp ~/Download/iwlwifi-cc-a0-50.ucode /lib/firmware |
cmake_minimum_required(VERSION 3.14) | |
project("ROS2 Master") | |
# usually I put this in a separate file include("/opt/ros/_common/Colcon.cmake") | |
function(colcon_add_subdirectories) | |
cmake_parse_arguments(PARSE_ARGV 0 "ARG" "" "BUILD_BASE;BASE_PATHS" "") | |
message("search criteria: ${ARGV}") | |
execute_process(COMMAND colcon list |
NOTE: Do not do the following steps without commiting your data. As it clears all the git cache and it will clear all your changes in your project.
-
First disable the autoCRLF in the git config by running the following command in your terminal
git config core.autocrlf false
-
Then remove the cached files in the git. Run the following command:
Enjoying this script? Consider buying me a beer/coffee!
First time setting up your Deck? You may enjoy my setup guide. It'll get you started on Emulation.
Main changes at initial release versus cdleveille's original script:
- Added zenity for a basic "GUI"
// This is a hack, a quick and dirty console script for RT/tweets (with replies) removal w/o API | |
// To be used in: https://twitter.com/Username/with_replies | |
// Set your username (without @) below (case-sensitive) to correctly trigger the right Menu | |
const tweetUser = 'Username' | |
// BUG, With above we still trigger Menu on some replies but relatively harmless. | |
// @Hack Implement simple has() for querySelector | |
const querySelectorHas = function( parent, child ){ |
[Desktop Entry] | |
Comment[en_US]= | |
Comment= | |
Exec=bash $HOME/xone_install_or_update.sh | |
GenericName[en_US]= | |
GenericName= | |
Icon=preferences-desktop-gaming | |
MimeType= | |
Name[en_US]=Install⁄Update Xone | |
Name=Install⁄Update Xone |
Hello! It's been a while since I've done any write-ups, but I thought I'd do one to (hopefully) bring a little clarity to a situation that's been causing a lot of confusion and misinformation.
I'm thinking I'll go through what the problem is and why it happens. So, I guess, let's dive in:
Some people are finding that upon updating to 17.0.0, their consoles are getting a blackscreen and refusing to boot further.
setInterval(function () { | |
window.scrollTo(0, document.body.scrollHeight); | |
$('.ProfileTweet-actionButton.js-actionButton.js-actionFavorite:visible').click(); | |
}, 1000); |
# @see /usr/include/asm-generic/errno-base.h | |
#ifndef _ASM_GENERIC_ERRNO_BASE_H | |
#define _ASM_GENERIC_ERRNO_BASE_H | |
#define EPERM 1 /* Operation not permitted */ | |
#define ENOENT 2 /* No such file or directory */ | |
#define ESRCH 3 /* No such process */ | |
#define EINTR 4 /* Interrupted system call */ | |
#define EIO 5 /* I/O error */ |