Skip to content

Instantly share code, notes, and snippets.

View GudarJs's full-sized avatar
:octocat:
Focusing

Darío Guzmán GudarJs

:octocat:
Focusing
View GitHub Profile
@GudarJs
GudarJs / pagination.hbs
Last active November 14, 2017 02:54
GhostJS Numbered Pagination
<div class="row" style="display: none;">
<ul id="pagination-list" class="pagination col s12 m8 offset-m2" role="navigation" style="display: flex; justify-content: center;">
</ul>
<div id="page-total" style="display:none;">{{pages}}</div>
<div id="page-current" style="display:none;">{{page}}</div>
</div>
<script>
@GudarJs
GudarJs / install_opencv3.3_python3
Created October 22, 2017 15:56
Cmake command to install opencv 3.3 with python 3 support.
cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_C_EXAMPLES=ON \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules \
-D BUILD_EXAMPLES=ON \
-D CMAKE_CXX_COMPILER=$(which g++) \
-D CMAKE_C_COMPILER=$(which gcc) \
-D PYTHON_DEFAULT_EXECUTABLE=$(which python3) ..
@GudarJs
GudarJs / .vimrc
Created September 28, 2017 05:54
My vim configuration file
set nocompatible
filetype off
syntax enable
set number
set history=30
set cursorline
set lazyredraw
set showmatch
set incsearch
@GudarJs
GudarJs / spotify-noads.py
Created September 8, 2017 19:20 — forked from humitos/spotify-noads.py
Remove Ads from Spotify Linux client by mutting the audio system
# -*- coding: utf-8 -*-
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the