Skip to content

Instantly share code, notes, and snippets.

View prisme's full-sized avatar

Jérémy Saint-Prix prisme

View GitHub Profile
@prisme
prisme / ffmpeg.md
Created October 4, 2020 10:56 — forked from protrolium/ffmpeg.md
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:

https://play.kahoot.it/#/k/6f08963d-d537-42f9-be61-f599775b24b9
demo react vs ember vs angular 2015
https://www.youtube.com/watch?v=z5e7kWSHWTg
demo react native 2015
https://www.youtube.com/watch?v=7rDsRXj9-cU
Grafikart jQuery / Angular / ReactJS
https://www.youtube.com/watch?v=LSBWmyuj5qY
Historical yearly trends in the usage of JavaScript libraries for websites
@prisme
prisme / mail
Created October 12, 2017 09:12
Bonjour Nathalie
Suite à notre RDV de production hier, voici quelques informations essentielles sur l'événement,
ainsi qu'une présentation du projet en pièce jointe
A votre disposition pour tout complément d'information
Bien à vous
Jérémy Saint-Prix
+33 (0)6 60 80 02 61
@prisme
prisme / new-slice.md
Created April 18, 2017 14:52 — forked from Duaner/new-slice.md
Include New slices in your nodejs project

#Define


"new-slice" : {
    "type" : "Slice",
    //No repeatable zone
    "non-repeat" : {
      "titre" : {
        "type" : "StructuredText"
      }
 },
@prisme
prisme / app.js
Created April 18, 2017 08:38
hybrid slices
app.route('/').get(function(req, res){
api(req, res)
.then(function(api) {
api.query( prismic.Predicates.at('document.type', 'home-page') )
.then((pageContent) => {
if (pageContent) {
res.render('index', {
pageContent : pageContent.results[0],
@prisme
prisme / lol.sh
Created May 12, 2016 15:01
new proto
#ONCE :
#on your mark
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
#ready
npm i -g cssnext watchify serve opn-cli
#EACH
#steady
mkdir proto & cd proto & touch index.js index.css index.html
#go !
Verifying that +prisme is my blockchain ID. https://onename.com/prisme
@prisme
prisme / blocksToPages.js
Last active September 7, 2015 15:52
Return pages of elements based on available space
/*
*
* Use:
* var pages = blocksToPages(myElement)
* returns array of elements.
*
*/
define([
], function() {
@prisme
prisme / gist:d85da2a29f971c355ac7
Last active August 29, 2015 14:19
fast prototype
npm install -g beefy
mkdir proto && cd proto
touch index.js
npm init
npm install installify
beefy index.js -- -t installify
# open devtools
# add folder to workspace
# edit index.js e.g. var module = require('anything-from-npm')