Skip to content

Instantly share code, notes, and snippets.

View gustavovelascoh's full-sized avatar

Gustavo Velasco-Hernández gustavovelascoh

View GitHub Profile
@gustavovelascoh
gustavovelascoh / log
Last active August 29, 2015 14:05
x264 test
#use "cat log | grep -P '(CONF|PSNR.*kb|user)'"
***CONFIG ultrafast, 22
yuv [info]: 1280x720p 0:0 @ 24/1 fps (cfr)
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using cpu capabilities: none!
x264 [info]: profile Constrained Baseline, level 3.1
x264 [info]: frame I:1 Avg QP:19.00 size:158965 PSNR Mean Y:44.85 U:45.45 V:46.52 Avg:45.19 Global:45.19
x264 [info]: frame P:239 Avg QP:23.37 size: 40373 PSNR Mean Y:39.39 U:42.47 V:43.42 Avg:40.28 Global:40.22
@gustavovelascoh
gustavovelascoh / resources_monitor
Created June 20, 2017 14:46
resources_monitor
#!/bin/bash
monitors=("monitor_acdc" "batteries_monitor" "monitor_sica")
while :
do
ps_out=$(ps aux)
date=$(date +"%y-%m-%d %H:%M:%S.%N")
for process in "${monitors[@]}"
do
@gustavovelascoh
gustavovelascoh / lnk_msp430fr6989.cmd
Created November 2, 2018 11:37
6989 linker file v 1.206
/* ============================================================================ */
/* Copyright (c) 2018, Texas Instruments Incorporated */
/* All rights reserved. */
/* */
/* Redistribution and use in source and binary forms, with or without */
/* modification, are permitted provided that the following conditions */
/* are met: */
/* */
/* * Redistributions of source code must retain the above copyright */
/* notice, this list of conditions and the following disclaimer. */