Skip to content

Instantly share code, notes, and snippets.

View hulucc's full-sized avatar
🙃
smile

hulucc hulucc

🙃
smile
View GitHub Profile
times in msec
clock self+sourced self: sourced script
clock elapsed: other lines
000.000 000.000: --- VIM STARTING ---
000.000 000.000: Allocated generic buffers
002.000 002.000: locale set
002.000 000.000: clipboard setup
Warning: Using a password on the command line interface can be insecure.
+-------+----------------------------------+----------------------------+----------------------------+----------------------------+---------------------------+----------+----------+--------+-----------+---------------------+----------------------------------------------------------------------------------------------------------+--------------------------+-------------+--------------+-------------+---------------------------------------------------------------+-----------------+-----------------+---------------+-----------+----------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------+-----------------+-----------+----------------+---
Warning: Using a password on the command line interface can be insecure.
+----+----------------------------------+----------------------------+----------------------------+----------------------------+---------------------------+----------+----------+--------+-----------+--------------+----------------------------------------------------------------------------------------------------------+--------------------------+-------------+--------------+-------------+---------------------------------------------------------------+-----------------+-----------------+---------------+-----------+----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+-----------------+-----------+----------------+-----------+-------------------+----+----------------------------------+----------------------------+----------------------------+-------------
hcsshim::ComputeSystem::CreateProcess - End Operation - Error [cid=90b664223956b02fa5ac57796722977110fca0ee32bf5a40755c8d76cda491ec error=CreateProcess 90b664223956b02fa5ac57796722977110fca0ee32bf5a40755c8d76cda491ec: Unspecified error
[Event Detail: failed to run runc create/exec call for container 90b664223956b02fa5ac57796722977110fca0ee32bf5a40755c8d76cda491ec: exit status 1 Stack Trace:
github.com/Microsoft/opengcs/service/gcs/runtime/runc.(*container).startProcess
/go/src/github.com/Microsoft/opengcs/service/gcs/runtime/runc/runc.go:576
github.com/Microsoft/opengcs/service/gcs/runtime/runc.(*container).runExecCommand
/go/src/github.com/Microsoft/opengcs/service/gcs/runtime/runc/runc.go:516
github.com/Microsoft/opengcs/service/gcs/runtime/runc.(*container).ExecProcess
/go/src/github.com/Microsoft/opengcs/service/gcs/runtime/runc/runc.go:136
github.com/Microsoft/opengcs/service/gcs/core/gcs.(*gcsCore).ExecProcess
/go/src/github.com/Microsoft/opengcs/service/gcs/core/gcs/gcs.go:425
k=kubectl $*
kps=kubectl get all $* & echo. & kubectl get ingress & echo. & kubectl get daemonset
kin=kubectl exec -it $1 bash
kin.=kubectl exec -it $1 sh
kconf=if "$1"=="" (kubectl config get-contexts) else (kubectl config set-context $1 && kubectl config use-context $1)
kns=if "$1"=="" (kubectl get ns) else (for /f "delims=" %A in ('kubectl config current-context') do @kubectl config set-context %A --namespace=$1)
krm=kubectl delete $*
krmf=kubectl delete $* --grace-period=0 --force
ki=kubectl describe $*
ka=kubectl apply $*
" level 0
set nocompatible
syntax on
set encoding=utf-8
set fileformat=unix
set fileformats=unix,dos
set clipboard=unnamed
let $LANG='en_US.utf8'
let mapleader='g'
nnoremap <silent> <leader>ev :e $MYVIMRC<cr>
import urllib.request
import pprint
from html.parser import HTMLParser
class MyHTMLParser(HTMLParser):
def __init__(self):
self.column = 0
self.value = None
self.key = None
self.table = []
package main
import (
"fmt"
"net"
"os"
"os/exec"
"strconv"
"strings"
"time"
apiVersion: apps/v1
kind: Deployment
metadata:
name: udppress
namespace: default
spec:
selector:
matchLabels:
app: udppress
replicas: 1