Open fredkerdraon opened 5 years ago
execute pathogen#infect()
syntax on
filetype plugin indent on
set rtp+=/usr/share/powerline/bindings/vim/ " Always show statusline set laststatus=2 " Use 256 colours (Use this setting only if your terminal supports 256 colours) set t_Co=256 set diffopt+=iwhite "if &diff set cursorline set nofoldenable map n ]c map p [c "hi DiffAdd ctermfg=233 ctermbg=LightGreen guifg=#003300 guibg=#DDFFDD gui=none cterm=none "hi DiffChange ctermbg=white guibg=#ececec gui=none cterm=none "hi DiffText ctermfg=233 ctermbg=yellow guifg=#000033 guibg=#DDDDFF gui=none cterm=none highlight DiffChange cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red highlight DiffText cterm=bold ctermfg=10 ctermbg=88 gui=none guifg=bg guibg=Red "endif set nu :+1:
Gradle
gradle --no-daemon --refresh-dependencies updateLibs gradle --no-daemon -DforceCompilePersistance build.dev gradle --status gradle --stop
Memory analyser
export JAVA_HOME="$HOME/Documents/Java/jdk1.8.0_181" export PATH="$JAVA_HOME/bin:$PATH" ./MemoryAnalyzer
EVOLUTION
sudo apt-get install evolution-ews
:+1:
CLIPS
Build clips from source: https://launchpad.net/ubuntu/+source/clips/6.24-3ubuntu2
QT CREATOR
Better use it to manage the cpp projects It's possible to fake Vim inside
Not sure why the mysql.h is not found...
FINANCE
Replace é, " ", and $
:+1:
VIM
List all the buffers and pick one by number
To past the text copied at a given position:
To list all the previous commands:
Vimdiff reference https://gist.github.com/mattratleph/4026987 https://stackoverflow.com/questions/2019281/load-different-colorscheme-when-using-vimdiff :+1:
SCILAB
When executing Scilab, an error is generated:
CGDB
Please compile with the -g option
ESC switch back to source window F8 to go to the next step :+1: Resolved as well and very happy about that
GIT
To remove all the files from the repo but keeping the local ones
:+1: Very happy to be able to do so. Becareful if you forget the --cached!!!
To check a commit
git stash save "M38669" git checkout "another branch"..... git stash apply stash^{/M38669}
git checkout -b 1.58.0b v1.58.0 (Creation d'une branche à partir d'un tag) git push -u origin 1.58.0b (Envoi sur le remote de la nouvelle branche)
git update-index --assume-unchanged "server/persistance/conf/hibernate.properties"
git log --pretty=format:%an-%ar-%h-%s -- rcp/module_portage/src/com/apologic/rcp/swing/portage/repas/dialog/RepasDetailAgendaJDialog.java git checkout 94291e7afb -- rcp/module_portage/src/com/apologic/rcp/swing/portage/repas/dialog/RepasDetailAgendaJDialog.form
git log -- server/business_billing/src/com/apologic/server/core/business/billing/facture/FactureCalculTaux.java | grep -B 3 -A 3 44154
git stash show -p stash@{0}
MYSQL
To reload a database dump
To dump a database
:+1: RESOLVED by adding the option skip-grant-tables in the config file.......
VM
Impossible to save the last state of the machine
Facebook Pidgin
Is there a filter on XMMP protocol?
Install jenkins
Java version issue Looks like Jenkins is started :-) Let's see later if it works properly /var/lib/jenkins/secrets/initialAdminPassword :+
Teamviewer
Not started presumaby on the other side :+1:
Restart a computer
:+1: Works on Ubuntu 18.04.1 LTS
Check differences with reference
zR will unfold all lines dp: put the changes do: get the changes
List all the functions defined in the shel
git d $file to use vimdiff to check the local changes
:+1: Works on Ubuntu 18.04.1 LTS