Skip to content

Instantly share code, notes, and snippets.

View pierreroth64's full-sized avatar
🍅
Building a micro-farm...

peio pierreroth64

🍅
Building a micro-farm...
View GitHub Profile
@pierreroth64
pierreroth64 / GIF-Screencast-OSX.md
Created January 4, 2017 20:21 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

#!/bin/bash
SDK_VERSION="22.0.0"
SDK_ARCHIVE="tools_r$SDK_VERSION-linux.zip"
SDK_URL="https://dl.google.com/android/repository/$SDK_ARCHIVE"
CACHED_SDK_PATH="$SEMAPHORE_CACHE_DIR/$SDK_ARCHIVE"
SDK_INSTALL_PATH="/opt/android/sdk"
function install-dependencies() {
install-package libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5
@pierreroth64
pierreroth64 / gist:51b385dbf89af02f88230591bc020798
Created May 5, 2017 12:16 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:

Keybase proof

I hereby claim:

  • I am pierreroth64 on github.
  • I am peio (https://keybase.io/peio) on keybase.
  • I have a public key ASCS6LqsyKURRHLLTceK6peJuGe4woY3wIWJ1bwzJWi-3Qo

To claim this, I am signing this object:

@pierreroth64
pierreroth64 / map.js
Last active September 12, 2018 18:53
map usage
/*
- cycleLines() est la fonction originelle. Tu utilises un tableau intermédiaire returnValue
mais ce dernier est inutile puisque map te renvoie un tableau (cf. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)
- cycleLines1() est un rework qui fait le job mais en utilisant map de façon idiomatique
- cycleLines2() va un peu plus loin en utilisant une facilité syntaxique de JS qui permet de retourner une valeur en omettant
le return
Plus concis et donc facile à lire, n'est-ce pas ? ;-)
*/

"La hiérarchie des efforts"

Le préambule

Tout d'abord mea culpa. Tweet agressif. J'ai blessé et je regrette. Tout va mieux (la sieste a fait du bien).

Ensuite:

  • je suis aussi ingénieur et j'ai bossé chez Motorola/Freescale sur la 3G+ (oui je suis vieux)
  • je ne suis pas du tout mais alors pas du tout "anti nouvelles technos", au contraire.
  • je préfère exposer un texte un peu plus long qu'un tweet, parce que les threads à n'en plus finir...