Skip to content

Instantly share code, notes, and snippets.

{"kind": "ImageRepositoryMapping", "image": {"dockerImageReference": "ragesh/hello-express:latest", "metadata": {"name": "57e2f567866529b1a7dd75eb1db052393e4ac5ba32ac6075182bbecaf5e2057e"}}, "apiVersion": "v1beta1", "tag": "latest", "dockerImageRepository": "ragesh/hello-express", "metadata": {"namespace": "test", "name": "hello-express"}}
kernel: [87920.084051] Code: 01 45 31 f6 41 89 d5 48 89 45 b8 48 8b 03 48 c7 45 c0 00 00 00 00 31 f6 48 89 45 c8 eb 71 0f 1f 44 00 00 4c 8b 0e 4d 85 c9 74 48 <41> f6 c1 03 0f 85 ce 00 00 00 45 8b 51 1c 45 85 d2 74 e5 41 8d
kernel: [87931.852051] INFO: rcu_sched detected stalls on CPUs/tasks: {} (detected by 0, t=2130237 jiffies, g=3783655, c=3783654, q=0)
kernel: [87931.852051] INFO: Stall ended before state dump start
kernel: [87948.084052] BUG: soft lockup - CPU#0 stuck for 23s! [kworker/u64:0:16933]
kernel: [87948.084052] Modules linked in: xt_nat xt_tcpudp veth xt_addrtype xt_conntrack iptable_filter ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables bridge stp llc aufs(F) dm_crypt x86_pkg_temp_thermal(F) coretemp(F) isofs crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd
kernel: [87948.084052] CPU: 0 PID: 16933 Comm: kworker/u64:0 Tainted: GF B D W 3.13.0-24-generic #46-Ubun
@rageshkrishna
rageshkrishna / gist:8412945
Created January 14, 2014 04:14
Working with Github pull requests locally
1. Identify the pull request number from the Github UI (let's assume it's 1234 for this discussion)
2. If you haven't already cloned the upstream master that you want to merge in to, do so with the usual `git clone whatever`
3. To get the pull request as a new branch locally, `git fetch origin +refs/pull/1234/head:remotes/origin/pr_1234
4. You now have a new branch in your local clone named "pr_1234". You can now switch to the branch and look around. Whenever you're ready you can merge the branch in to master.
@rageshkrishna
rageshkrishna / .vimrc
Last active December 28, 2015 09:39
Minimal VIM config
"
" Note: I'm using Vundle to manage my plugins. Follow instructions at
" https://github.com/gmarik/vundle before using this file
"
" I'm also using the Tomorrow-Night-Bright colour scheme. Get it from
" https://github.com/chriskempson/tomorrow-theme
"
set nocompatible " be iMproved
filetype off " required!
@rageshkrishna
rageshkrishna / .bashrc
Last active December 28, 2015 09:29
Barebones tmux configuration
# If not running interactively, do not do anything
[[ $- != *i* ]] && return
# TMUX
if which tmux 2>&1 >/dev/null; then
# if no session is started, start a new session
test -z "$TMUX" && (tmux attach || tmux new-session)
fi
@rageshkrishna
rageshkrishna / gist:4222227
Created December 6, 2012 06:31
Standard log4net config to prevent overwrites
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
<file value="App_Data/web.log" />
<appendToFile value="true" />
<rollingStyle value="Composite" />
<maxSizeRollBackups value="-1" />
<countDirection value="1"/>
<maximumFileSize value="1024KB" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%property{remoteAddress}] - %message%newline" />