One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # include <stdio.h> | |
| void swap(int v[], int i, int j){ | |
| int temp = v[i]; | |
| v[i] = v[j]; | |
| v[j] = temp; | |
| } | |
| void qsort(int v[], int left, int right){ | |
| int i, last; |
| 29585: /usr/bin/ruby2.3 -Eascii-8bit:ascii-8bit /usr/local/bin/fluentd -c /fluentd/etc/fluent.conf -p /fluentd/plugins --under-supervisor | |
| Address Kbytes Mode Offset Device Mapping | |
| 00007f3e4e000000 6144 rw--- 0000000000000000 000:00000 [ anon ] | |
| 00007f3e4e600000 4096 rw--- 0000000000000000 000:00000 [ anon ] | |
| 00007f3e4ea00000 14336 rw--- 0000000000000000 000:00000 [ anon ] | |
| 00007f3e4f800000 16384 rw--- 0000000000000000 000:00000 [ anon ] | |
| 00007f3e50800000 2048 rw--- 0000000000000000 000:00000 [ anon ] | |
| 00007f3e50a00000 2048 rw--- 0000000000000000 000:00000 [ anon ] | |
| 00007f3e50c00000 4096 rw--- 0000000000000000 000:00000 [ anon ] | |
| 00007f3e51000000 2048 rw--- 0000000000000000 000:00000 [ anon ] |
| # coding: utf-8 | |
| import sys | |
| import requests | |
| def get_metrics_string(url): | |
| """ get metrics content """ | |
| r = requests.get(url) |
| https://github.com/zsh-users/zsh-autosuggestions/issues/238#issuecomment-389324292 | |
| ```shell | |
| # This speeds up pasting w/ autosuggest | |
| # https://github.com/zsh-users/zsh-autosuggestions/issues/238 | |
| pasteinit() { | |
| OLD_SELF_INSERT=${${(s.:.)widgets[self-insert]}[2,3]} | |
| zle -N self-insert url-quote-magic # I wonder if you'd need `.url-quote-magic`? | |
| } |
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| func main() { | |
| fmt.Println(f()) | |
| fmt.Println(f1()) | |
| fmt.Println(f2()) |
| // Single line comment | |
| /* Multi- | |
| line comment */ | |
| // A package clause starts every source file. | |
| // Main is a special name declaring an executable rather than a library. | |
| package main | |
| // Import declaration declares library packages referenced in this file. | |
| import ( |
| admin_account="k8s-cyk-admin" | |
| kubectl create serviceaccount ${admin_account} -n kube-system | |
| kubectl create clusterrolebinding ${admin_account} --clusterrole=cluster-admin --serviceaccount=kube-system:${admin_account} | |
| kubectl -n kube-system describe secrets $(kubectl -n kube-system get secret | grep ${admin_account} | awk '{print $1}') |
| [global_config] | |
| window_state = maximise | |
| title_use_system_font = False | |
| title_font = Sans 15 | |
| [keybindings] | |
| [profiles] | |
| [[default]] | |
| background_color = "#ffe4e1" | |
| background_darkness = 0.85 | |
| background_type = transparent |
| * run this at command prompt: bcdedit /set hypervisorlaunchtype off | |
| * turn off windows feature "Virtual Machine Platform" | |
| * reboot | |
| ref: https://github.com/GNS3/gns3-gui/issues/3032#issuecomment-672571302 |