Skip to content

Instantly share code, notes, and snippets.

@juanpablob
juanpablob / api.gll.json
Created April 22, 2022 12:10
Photo Logic Changes
{
"frontal-view": {
"photos": {
"b2c": {
"mime_type": "image\/png",
"thumbnail": "https:\/\/componata.local\/wp-content\/uploads\/2020\/09\/lp_side_AR-10351@2x-150x150.png",
"1x": "https:\/\/componata.local\/wp-content\/uploads\/2020\/09\/lp_side_AR-10351@2x-768x768.png",
"2x": "https:\/\/componata.local\/wp-content\/uploads\/2020\/09\/lp_side_AR-10351@2x-1200x1200.png"
},
"b2b": []
{
"Working Directory" : "\/Users\/juanpablob",
"Prompt Before Closing 2" : 0,
"Selected Text Color" : {
"Green Component" : 1,
"Red Component" : 1,
"Blue Component" : 1
},
"Rows" : 25,
"Ansi 11 Color" : {
@juanpablob
juanpablob / ble.js
Created January 26, 2018 00:17
date handler
dateHandler: {
self: this,
pickers: {},
dates: {
form: null,
to: null,
disabled: []
},
objects: {
regular: 'input[data-date-picker="regular"]',
@juanpablob
juanpablob / ffmpeg.txt
Last active August 29, 2015 14:13 — forked from gildotdev/ffmpeg.txt
## extract audio from .avi as .aac (conversion from another audio codec)
ffmpeg -i foo.avi -acodec aac -ab 128k -strict experimental bar.aac
## extract audio from .avi as .mp3 (no conversion, just copy)
ffmpeg -i foo.avi -acodec copy bar.mp3
## convert .mp3 to .aac
ffmpeg -i foo.mp3 -acodec aac -ab 128k -strict experimental bar.aac
## extract single frame as image from .mp4
@juanpablob
juanpablob / app.js
Last active August 29, 2015 14:07
miramira
/**
* @name hodor
*
* Main module of the application.
*/
var app = angular.module('hodor', []).
constant('config', {
version: '0.0.1',