Blog

Quelques mots sur mes photos ce qu'elles racontent (instagram-feed)
Et aussi de la techniques ....

 

Babel: Routing protocol

A french project for new routing protocol simple efficient:

Utilisation de mezzanine

Comment utiliser mezzanine:

Working at tech companies

Source: https://mtlynch.io/why-i-quit-google/
Date: 05/03/2018

Il semble que tout ne soit pas au top dans toutes les entreprises de la tech même les plus connus...
Ce n'est pas une surprise et il est intéressant d'avoir un avis comme celui-ci, d'autres pourraient être aussi complémentaire afin d'être complet.

Une explication d'un ingenieur de Google

VIM as IDE

* Installation of vim

Use vundle for the package of vim: https://github.com/VundleVim/Vundle.vim
Don't forget to add the promptline plugin: https://github.com/edkolev/promptline.vim
Add in the .vimrc this section:
    Plugin Plugin 'edkolev/promptline.vim'
    
* Configuration
Base dot-net configuration from: https://github.com/amacgregor/dot-files
Idea of what it is: https://coderoncode.com/tools/2017/04/16/vim-the-perfect-ide.html

For Python configuration and tools:
https://www.fullstackpython.com/vim.html

Add git status on vim:
http://blog.peschla.net/2014/11/fancy-promptline-with-git-status-details/

* Issue with on Mac OS X

There are two ctags known as GNU ctags and exuberant-ctags, what the tagbar need to use is exuberant-ctags. exuberant-ctags need to be installed by yourself.

What I do to solve this problem is
    brew install ctags-exuberant
and find it's installed in /usr/local/Cellar/ctags/5.8_1
then I add a line in .vimrc:
    let g:Tlist_Ctags_Cmd='/usr/local/Cellar/ctags/5.8_1/bin/ctags'

Latex premier documents

Utilisation de latex, mise en place d'un Docker avec tous les outils :



Dockerfile:
<pre class="prettyprint linenums"><code>
#This is a comment FROM debian:jessie-slim
#FROM debian:jessie MAINTAINER Jerome Baudet <jerome@baudet.io>
RUN echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" >> /etc/apt/sources.list
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
RUN apt-get update && apt-get install --fix-missing -y \ sudo curl \ texlive-latex-base texlive-xetex latex-xcolor texlive-math-extra texlive-latex-extra texlive-fonts-extra texlive-bibtex-extra \ fontconfig lmodern preview-latex-style texlive-latex-recommended tipa prosper preview-latex-style cabal-debian pandoc pandoc-data \ texlive-doc-fr \ sshpass openssh-client openssh-server vim vim-latexsuite
RUN apt-get autoremove
RUN apt-get clean
RUN mkdir /var/run/sshd
RUN mkdir /root/.ssh
COPY authorized_keys /root/.ssh/
RUN sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
#SSH login fix. Otherwise user is kicked off after login
RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
ENV NOTVISIBLE "in users profile"
RUN echo "export VISIBLE=now" >> /etc/profile
#will ease up the update process
#updating this env variable will trigger the automatic build of the Docker image
#ENV PANDOC_VERSION "1.19.2.1"
#install pandoc #
RUN cabal update && cabal install pandoc-${PANDOC_VERSION} #
EXPOSE 2200
VOLUME ["/data"] CMD ["/usr/sbin/sshd", "-D"]
#ENTRYPOINT /bin/bash
</pre></code>