Skip to content

Instantly share code, notes, and snippets.

💭
Busy as Hell

rox roxma

💭
Busy as Hell
  • dputech
  • china
Block or report user

Report or block roxma

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ncm2-issue-114-lcn.log
#######
LanguageClient 0.1.133
#######
12:01:20 INFO main src/vim.rs:93 => None {"jsonrpc":"2.0","method":"eval","params":["[!!get(g:, 'LanguageClient_autoStart', 1), s:GetVar('LanguageClient_serverCommands', {}), get(g:, 'LanguageClient_selectionUI', v:null), get(g:, 'LanguageClient_trace', v:null), expand(get(g:, 'LanguageClient_settingsPath', '.vim/settings.json')), !!get(g:, 'LanguageClient_loadSettings', 1), get(g:, 'LanguageClient_rootMarkers', v:null), get(g:, 'LanguageClient_changeThrottle', v:null), get(g:, 'LanguageClient_waitOutputTimeout', v:null), !!get(g:, 'LanguageClient_diagnosticsEnable', 1), get(g:, 'LanguageClient_diagnosticsList', 'Quickfix'), get(g:, 'LanguageClient_diagnosticsDisplay', {}), get(g:, 'LanguageClient_windowLogMessageLevel', 'Warning'), get(g:, 'LanguageClient_hoverPreview', 'Auto'), get(g:, 'LanguageClient_completionPreferTextEdit', 0), has('nvim')]"],"id":4}
12:01:20 INFO reader-main src/vim.rs:396 <= None {"id": 4, "jsonrpc": "2.0", "result": [1, {"vue": ["vls"], "rust":
View debian-tzdata
$ docker run -it --rm debian:stretch /bin/bash
root@d5a6b8753165:/# echo 'tzdata tzdata/Areas select Asia' | debconf-set-selections
root@d5a6b8753165:/# echo 'tzdata tzdata/Zones/Asia select Hong_Kong' | debconf-set-selections
root@d5a6b8753165:/# dpkg-reconfigure -u tzdata
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back
@roxma
roxma / buck_01_ant
Created Nov 6, 2017
.cache/Homebrew/Logs/buck/01.ant
View buck_01_ant
This file has been truncated, but you can view the full file.
2017-11-06 11:09:18 +0800
ant
Picked up _JAVA_OPTIONS: -Duser.home=/home/roxma/.cache/Homebrew/java_cache
Buildfile: /tmp/buck-20171106-22518-1q2qeko/facebook-buck-2025fd7/build.xml
clear-successful-build:
@roxma
roxma / how-to-install-latest-gcc-on-ubuntu-lts.txt How to install latest gcc on Ubuntu LTS (12.04, 14.04, 16.04)
View how-to-install-latest-gcc-on-ubuntu-lts.txt
These commands are based on a askubuntu answer http://askubuntu.com/a/581497
To install gcc-6 (gcc-6.1.1), I had to do more stuff as shown below.
USE THOSE COMMANDS AT YOUR OWN RISK. I SHALL NOT BE RESPONSIBLE FOR ANYTHING.
ABSOLUTELY NO WARRANTY.
If you are still reading let's carry on with the code.
sudo apt-get update && \
sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
View cvimrc
map <C-d> scrollPageDown
map <C-u> scrollPageUp
imap <C-w> deleteWord
@roxma
roxma / shared_folder_centos_virtualbox.txt
Created Oct 25, 2016 — forked from larsar/shared_folder_centos_virtualbox.txt
Mount shared folder on CentOS in VirtualBox
View shared_folder_centos_virtualbox.txt
# The VirtualBox documentation[1] for how to install guest additions
# for Linux on a virtual host is somewhat messy. So here is what
# I did to make it work.
# Install the packages required
yum update
yum install gcc kernel-devel make
reboot
View elasticsearch_index_memory_consumes
curl http://localhost:9200/_cat/segments?v 2>/dev/null | awk 'NR>1{ arr[$1]+=$10; } END{for (a in arr) print a,arr[a];}' | sort -k 2 -n
View install_python33_centos6_scl.sh
# root required
yum install centos-release-scl
yum install python33
. /opt/rh/python33/enable
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
echo '#!/bin/sh
@roxma
roxma / install_tmux.sh
Last active Jul 10, 2018 — forked from rothgar/install-tmux
Install tmux 2.1 on rhel/centos 6
View install_tmux.sh
# Install tmux on Centos release 6.5
# Install with user defined prefix
# Usage: ./install_tmux.sh /your/prefix
# install deps
# yum install gcc kernel-devel make ncurses-devel
if [ -z $1 ]
then
You can’t perform that action at this time.