Skip to content

Instantly share code, notes, and snippets.

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@8Thomas8
8Thomas8 / isMobileDevice()
Created September 4, 2020 08:27
Détecter les navigateurs mobiles en JS.
// Return true si le user-agent contient Mobi.
const isMobileDevice = () => {
return /Mobi/i.test(window.navigator.userAgent)
}
@8Thomas8
8Thomas8 / docker-compose.yml
Last active June 11, 2019 11:51
Docker Compose db + api NestJS
version: '3'
services:
db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD:
MYSQL_DATABASE: todos
@8Thomas8
8Thomas8 / .hyper.js
Last active May 14, 2019 21:53
Hyper.js config
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',

Keybase proof

I hereby claim:

  • I am 8thomas8 on github.
  • I am tomrss (https://keybase.io/tomrss) on keybase.
  • I have a public key ASDEWRsA08cS05vUlJnt9WQ0aY1tRzGZIzQpzio9M-_PrQo

To claim this, I am signing this object: