sudo su
apt-get update && apt-get install -y libvirt-dev ruby-all-dev apparmor-utils
curl -O -L https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.5_x86_64.deb
dpkg -i vagrant_1.6.5_x86_64.deb
aa-complain /usr/lib/libvirt/virt-aa-helper # workaround
exit
Possible values for ext-name: | |
bcmath | |
bz2 | |
calendar | |
ctype | |
curl | |
dba | |
dom | |
enchant |
/* | |
Benchmark_RWMutex-4 100000000 18.1 ns/op | |
Benchmark_Atomic-4 200000000 8.01 ns/op | |
Benchmark_RWMutex_parallel-4 30000000 46.7 ns/op | |
Benchmark_Atomic_parallel-4 1000000000 2.61 ns/op | |
*/ | |
package main |
# ------------------------------------------------------------------------------ | |
# tlp - Parameters for power saving | |
# See full explanation: http://linrunner.de/en/tlp/docs/tlp-configuration.html | |
# dir: /etc/default/tlp | |
# Hint: some features are disabled by default, remove the leading # to enable | |
# them. | |
# Set to 0 to disable, 1 to enable TLP. |
We Gophers, love table-driven-tests, it makes our unittesting structured, and makes it easy to add different test cases with ease.
Let’s create our table driven test, for convenience, I chose to use t.Log
as the test function.
Notice that we don't have any assertion in this test, it is not needed to for the demonstration.
func TestTLog(t *testing.T) {
t.Parallel()
This is a list of over 70 websites to find jobs in the IT industry. I am focusing on development/programming but these websites offer jobs of all kinds including all types of engineering, design, networking, SEO and more. courtesy of Brad Traversy
Websites where companies post part-time, full-time and remote positions for you to apply to
-
Indeed — https://www.indeed.com
-
Craigslist — https://www.craigslist.com
#!/usr/bin/env python | |
# | |
# Copyright (c) 2017, Piotr Przymus | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.
Note: many newer Keychron keyboards use QMK as firmware and most tips here do not apply to them. Maybe the ones related to Bluetooth can be useful, but everything related to Apple's keyboard module (hid_apple
) on Linux, won't work. As far as I know, all QMK-based boards use the hid_generic
module instead. Examples of QMK-based boards are: Q, Q-Pro, V, K-Pro, etc.
Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.
Older Keychron keyboards (those not based on QMK) use the hid_apple
driver on Linux, even in the Windows/Android mode, both in Bluetooth and Wired modes.
# Source: https://gist.github.com/ed8ad113fff4322ef309198d5455687f | |
############################################################################################## | |
# Full App Lifecycle In Kubernetes With Argo CD, DevSpace, vCluster, k3d, and GitHub Actions # | |
# https://youtu.be/uU-EAQ8Vbvk # | |
############################################################################################## | |
# Referenced videos: | |
# - How To Create Virtual Kubernetes Clusters With vcluster By loft: https://youtu.be/JqBjpvp268Y | |
# - DevSpace - Development Environments in Kubernetes: https://youtu.be/nQly_CEjJc4 |