Skip to content

Instantly share code, notes, and snippets.

View AlexandreBonneau's full-sized avatar

Alexandre AlexandreBonneau

  • Earth
View GitHub Profile
2018-08-24 21:02:42 ~/saves/phone/DCIM/Camera|» nodejs phoneVideosConverter.js .
Listing and converting all the video files in the '.' directory...
1: x265/VID_20160714_131733_x265.mp4 (75.71Mio -> 15.23Mio, 20.12%) generated in 633.873 seconds.
2: x265/VID_20160714_133014_x265.mp4 (143.04Mio -> 25.08Mio, 17.53%) generated in 1480.924 seconds.
3: x265/VID_20160714_231619_x265.mp4 (846.55Mio -> 109.89Mio, 12.98%) generated in 4319.958 seconds.
4: x265/VID_20160715_092534_x265.mp4 (189.30Mio -> 16.28Mio, 8.60%) generated in 1345.950 seconds.
5: x265/VID_20160718_204533_x265.mp4 (99.79Mio -> 29.62Mio, 29.68%) generated in 581.784 seconds.
6: x265/VID_20160719_153743_x265.mp4 (173.38Mio -> 35.74Mio, 20.61%) generated in 1915.964 seconds.
7: x265/VID_20160719_154102_x265.mp4 (436.75Mio -> 95.45Mio, 21.85%) generated in 4894.281 seconds.
8: x265/VID_20160720_140047_x265.mp4 (78.97Mio -> 11.56Mio, 14.64%) generated in 412.877 seconds.
@AlexandreBonneau
AlexandreBonneau / config_dvorak_samsung_nc10.map
Created July 29, 2018 09:28
Dvorak keymap for the old Samsung NC10. Can be used for other device
!! Dvorak international for samsung NC10 by
!! © 2009, Alexandre Bonneau <alexandre.bonneau@linuxfr.eu>
!! Keymap to use the international accents with a dvorak layout
!! Mode : Normal Mod1 Mod2 Mod3 Mod4 Mod5
!! Keys : - Shift AltGr Shift + AltGr Meta Super
keycode 9 = Escape Escape
keycode 10 = 1 exclam exclamdown onesuperior
keycode 11 = 2 at onehalf twosuperior
keycode 12 = 3 numbersign onethird threesuperior
@AlexandreBonneau
AlexandreBonneau / combinedview.html
Created March 22, 2018 21:28
Akregator color workaround on dark breeze theme (see https://bugs.kde.org/show_bug.cgi?id=383404)
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<title>.</title>
<style type="text/css">
@media screen, print {
body {
font-family: {{ standardFamilyFont }} ! important;
font-size: {{ mediumFontSize}}px ! important;
color: white ! important;
@AlexandreBonneau
AlexandreBonneau / vue-tippy.js
Created March 21, 2018 02:32
vue-tippy/issues/40 : library with lots of strategically placed console.log()
/*!
* vue-tippy v2.0.10
* (c) 2018 Georges KABBOUCHI
* Released under the MIT License.
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
@AlexandreBonneau
AlexandreBonneau / vueAutonum3_package.json
Created February 20, 2018 10:36
vue-autonumeric with webpack 3cf. pr #6
{
"name": "tests",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"es6-karma-jasmine-webpack-boilerplate": "^0.2.0",
"vue": "^2.5.4",
"vue-autonumeric": "^1.0.2"
},
@AlexandreBonneau
AlexandreBonneau / vueAutonum_package.json
Last active February 20, 2018 10:16
vue-autonumeric with webpack 2cf. pr #6
{
"name": "tests",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"es6-karma-jasmine-webpack-boilerplate": "^0.2.0",
"vue": "^2.5.4",
"vue-autonumeric": "^1.0.2"
},
@AlexandreBonneau
AlexandreBonneau / VAutonumeric.vue
Created February 15, 2018 00:51
A Vue.js component that 'vuetify' the vue-autonumeric one
<!--
v-autonumeric
@version 0.2.0
@date 2018-01-31 UTC 22:00
@author Alexandre Bonneau
@copyright 2018 © Alexandre Bonneau <alexandre.bonneau@linuxfr.eu>
@summary A Vue.js component that 'vuetify' the vue-autonumeric one
@AlexandreBonneau
AlexandreBonneau / autoNumeric.min.js
Created October 22, 2017 11:30
Fixing autoNumeric issue #516
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AutoNumeric=t():e.AutoNumeric=t()}(this,function(){return function(e){function t(n){if(i[n])return i[n].exports;var a=i[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var i={};return t.m=e,t.c=i,t.d=function(e,i,n){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=4)}([function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",
@AlexandreBonneau
AlexandreBonneau / autoNumeric.min.js
Created October 21, 2017 18:59
Potential fix for autoNumeric issue #518
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AutoNumeric=t():e.AutoNumeric=t()}(this,function(){return function(e){function t(n){if(i[n])return i[n].exports;var a=i[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var i={};return t.m=e,t.c=i,t.d=function(e,i,n){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=4)}([function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",
@AlexandreBonneau
AlexandreBonneau / .npmignore
Created January 30, 2017 04:08
Proposed autoNumeric .npmignore
.DS_Store
node_modules/
# Logs
*.log
# Test files
test/e2e/reports
test/e2e/screenshots