curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
Discover gists
# Python Package Imports | |
import os | |
import multiprocessing as mp | |
try: | |
import fire | |
from tqdm.auto import tqdm | |
from huggingface_hub import HfApi, hf_hub | |
except ImportError as e: | |
# Handle missing library |
{ | |
"build": { | |
"core": "esp32", | |
"f_cpu": "160000000L", | |
"f_flash": "80000000L", | |
"flash_mode": "qio", | |
"mcu": "esp32c6", | |
"variant": "esp32c6" | |
}, | |
"connectivity": [ |
These are instructions for setting up git to authenticate with GitHub when you have 2-factor authentication set up. This authentication should be inherited by any GUI client you are using. These are intentionally brief instructions, with links to more detail in the appropriate places.
-
Download and install the git command-line client (if required).
-
Open the git bash window and introduce yourself to git (if required):
git config --global user.name 'Firstname Lastname' git config --global user.email 'firstname.lastname@gov.bc.ca'
var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; | |
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } | |
{ | |
let window = _____WB$wombat$assign$function_____("window"); | |
let self = _____WB$wombat$assign$function_____("self"); | |
let document = _____WB$wombat$assign$function_____("document"); | |
let location = _____WB$wombat$assign$function_____("location"); | |
let top = _____WB$wombat$assign$function_____("top"); | |
let parent = _____WB$wombat$assign$function_____("parent"); | |
let frames = _____WB$wombat$assign$function_____("frames"); |
A commit should be a wrapper for related changes. For example, fixing two different bugs should produce two separate commits. Small commits make it easier for other developers to understand the changes and roll them back if something went wrong. With tools like the staging area and the ability to stage only parts of a file, Git makes it easy to create very granular commits.
Committing often keeps your commits small and, again, helps you commit only related changes. Moreover, it allows you to share your code more frequently with others. That way it‘s easier for everyone to integrate changes regularly and avoid having merge conflicts. Having large commits and sharing them infrequently, in contrast, makes it hard to solve conflicts.
-
Installation: 1- Explain how Go path works? 2- What are the benefits of Go Module (reference its commands)?
-
Concurrency: 1- Explain Concurrency & when to use it? 2- How would you allow communication between goroutines in Go? 3- How would you manage their access to resources?
- why do you use Go (my answer was as simple as "why i shouldn't", and some extra points Grimacing face)
Note: I'm currently taking a break from this course to focus on my studies so I can finally graduate
Flash image to SD as normal with the firmware selector (I added packages to mine) | |
ssh into router | |
# opkg update && opkg install cfdisk resize2fs | |
# cfdisk /dev/mmcblk0 | |
Select /dev/mmcblk0p2 and RESIZE it. The default entries will take the whole space. | |
Reboot | |
ssh into router | |
# resize2fs /dev/loop0 | |
Success! |
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |