Emerge kubelet
, kubeadm
, kubectl
, all the same version. For some reason, Gentoo stablized kubelet
and kubectl
but not kubeadm
.
I'm using Calico, so also emerge net-misc/calico-cni-plugin
.
[ | |
[ | |
{ | |
"x": 3.5, | |
"c": "#f7f2ea" | |
}, | |
"#\n3", | |
{ | |
"x": 10.5 | |
}, |
import unittest | |
import asyncio | |
import inspect | |
def async_test(f): | |
def wrapper(*args, **kwargs): | |
if inspect.iscoroutinefunction(f): | |
future = f(*args, **kwargs) | |
else: |
// ----------------------------------------------------------------------------------------------------------------------- | |
// // Surfingkeys: https://github.com/brookhong/Surfingkeys#properties-list | |
// // Dracula Theme: https://github.com/dracula/dracula-theme#color-palette | |
// ----------------------------------------------------------------------------------------------------------------------- | |
// Map Keys | |
// ----------------------------------------------------------------------------------------------------------------------- | |
// Change default search engine | |
//settings.defaultSearchEngine = "w"; | |
// ----------------------------------------------------------------------------------------------------------------------- | |
// Change hints styles |
#cVim-link-container, .cVim-link-hint, #cVim-command-bar, #cVim-command-bar-mode, #cVim-command-bar-input, #cVim-command-bar-search-results, .cVim-completion-item, .cVim-completion-item .cVim-full, .cVim-completion-item .cVim-left, .cVim-completion-item .cVim-right, #cVim-hud, #cVim-status-bar { | |
font-family: Helvetica, Helvetica Neue, Neue, sans-serif, Arial; | |
font-size: 9pt !important; | |
-webkit-font-smoothing: antialiased !important; | |
border-radius: 4px!important; | |
} | |
#cVim-link-container { | |
position: absolute; | |
pointer-events: none; |
#!/usr/bin/env python | |
""" | |
How to use it: | |
1. Just `kill -2 PROCESS_ID` or `kill -15 PROCESS_ID`, | |
The Tornado Web Server Will shutdown after process all the request. | |
2. When you run it behind Nginx, it can graceful reboot your production server. | |
""" | |
import time |
Requirement: Chromebook, Common Sense, Commandline Ablity, 1 hour of time
Dear developers with a spare Chromebook lets inject a little personalization into your Crosh shell with custom fonts, the solarized theme, and extra secure shell options.
Also, keep in mind that the terms Chrosh
, Chrosh Window
, and Secure Shell
all refer to various versions and extentions built around the ChromeOS terminal. Settings that affect the ChromeOS terminal are global.
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
import unittest | |
import asyncio | |
import inspect | |
def async_test(f): | |
def wrapper(*args, **kwargs): | |
if inspect.iscoroutinefunction(f): | |
future = f(*args, **kwargs) | |
else: |
Emacs packages, features, files, layers, extensions, auto-loading, require
,
provide
, use-package
… All these terms getting you confused? Let’s clear up
a few things.
Emacs files contains code that can be evaluated. When evaluated, the functions, macros and modes defined in that file become available to the current Emacs session. Henceforth, this will be termed as loading a file.
One major problem is to ensure that all the correct files are loaded, and in the