Skip to content

Instantly share code, notes, and snippets.

@paucoma
paucoma / gist:9492677
Created March 11, 2014 19:02
linux search-engine to investigate
https://www.archlinux.org/packages/?name=recoll
http://www.lesbonscomptes.com/recoll/
http://www.lesbonscomptes.com/recoll/usermanual/usermanual.html
@paucoma
paucoma / browser-open-tabs
Created March 11, 2014 20:25
pending open browser tabs
https://wiki.archlinux.org/index.php/chromium
https://aur.archlinux.org/packages/chromium-pepper-flash/
https://wiki.archlinux.org/index.php/Xdg-open
https://wiki.archlinux.org/index.php/Arch_User_Repository
https://wiki.archlinux.org/index.php/Makepkg.conf
https://wiki.archlinux.org/index.php/PKGBUILD
https://wiki.archlinux.org/index.php/List_of_applications/Utilities
http://www.tcl.tk/about/
@paucoma
paucoma / gist:9515224
Created March 12, 2014 20:07
installing wine for VBScript development on Ubuntu
http://askubuntu.com/questions/136714/how-to-force-wine-into-acting-like-32-bit-windows-on-64-bit-ubuntu
https://help.ubuntu.com/community/Wine
http://askubuntu.com/questions/316025/installing-and-configuring-wine
https://bbs.archlinux.org/viewtopic.php?id=39641
Guided by the arch-wiki and the ubuntu recommendations, I installed wine1.6-i386 and with winetricks loaded the WSH 5.7 and C++ required dll
----
:~$ winetricks
@paucoma
paucoma / gist:9530041
Created March 13, 2014 14:57
Sony Playstation 2 interface research
http://pinouts.ru/Game/playstation_9_pinout.shtml
http://www.wiringdiagrams21.com/2009/11/21/playstation-2-controller-cable-connector-pinout-diagram/
http://www.fixya.com/support/t4344634-cut_end_ps2_controller_wire
http://makezine.com/2008/06/09/playstation2-controller-i/
http://store.curiousinventor.com/guides/PS2/
@paucoma
paucoma / gist:9549373
Created March 14, 2014 15:01
email links to checkout
http://www.electronics-eetimes.com/en/wireless-sensor-network-challenges-and-solutions.html?cmp_id=34&news_id=222920268&vID=1698&from_mail=1
http://www.power-eetimes.com/en/what-destroyed-the-hindenburg-can-ruin-your-equipment.html?cmp_id=71&news_id=222907736&vID=98
@paucoma
paucoma / gglCalEventsOnSpreadSheet.gs
Last active March 7, 2023 21:42
Script to read Google Calendar Events and Count total Hours
const gblFrom = {
year : 2020 ,
month : 3,
day : 29,
hour : 0
};
const gblTo = {
year : 2020 ,
month : 8,
day : 1,
@paucoma
paucoma / WindowsContextMenuMod.rst
Last active March 9, 2024 14:06
Windows Extension Specific Context Menu Modification

Windows context Menu Handlers.

Considerations

In general, HKEY_CLASSES_ROOT is intended to be read from but not written to, although one can write to it.

@paucoma
paucoma / 180919 MXE Build Failures stdout
Last active September 19, 2018 22:21
180919 mxe Failed build log
[download] aubio-0.4.2.tar.bz2
[build] aubio i686-w64-mingw32.static
Failed to build package aubio for target i686-w64-mingw32.static!
------------------------------------------------------------
-> task in 'lib_objects' failed (exit status 1):
{task 140560222801104: c source_avcodec.c -> source_avcodec.c.1.o}
['i686-w64-mingw32.static-gcc', '-g', '-Wall', '-Wextra', '-I/opt/mxe/tmp-aubio-i686-w64-mingw32.static/aubio-0.4.2/build/src', '-I/opt/mxe/tmp-aubio-i686-w64-mingw32.static/aubio-0.4.2/src', '-DAUBIO_PREFIX="/opt/mxe/usr/i686-w64-mingw32.static"', '-DPACKAGE="aubio"', '-DHAVE_FFTW3F=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_SNDFILE=1', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVRESAMPLE=1', '-DHAVE_AVUTIL=1', '../src/io/source_avcodec.c', '-c', '-o', '/opt/mxe/tmp-aubio-i686-w64-mingw32.static/aubio-0.4.2/build/src/io/source_avcodec.c.1.o']
Makefile:792: recipe for target 'build-only-aubio_i686-w64-mingw32.static' failed
make[1]: *** [build-only-aubio_i686-w64-mingw32.sta
@paucoma
paucoma / est_population.py
Last active February 20, 2020 16:38
Python Script to simulate Population Estimation using Capture Recapture Method
# Script to simulate Population Estimation function by paui
# Inspired to investigate after watching Matts (standupmaths) video:
# How to estimate a population using statisticians
# https://www.youtube.com/watch?v=MTmnVBJ9gCI
#
# Capture-Recapture Method
# Single-Shot version
# eN - population estimate
# M - number of marked samples before re-capture
# C - recapture sample size