Skip to content

Instantly share code, notes, and snippets.

View clasqui's full-sized avatar
🎯
Focusing

Marc Clascà clasqui

🎯
Focusing
View GitHub Profile
@clasqui
clasqui / .vimrc
Created February 19, 2019 15:09
vim config feina
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'itchyny/lightline.vim'
Plugin 'dracula/vim'
@clasqui
clasqui / downloadtime.py
Created December 5, 2018 03:26
Script temps de descàrrega per B7 de PE (FIB-UPC)
#!/usr/local/bin/python3
import sys
import requests
import time
if len(sys.argv) < 2:
print('Usage: downloadtime.py [URL]')
sys.exit(0)
url = sys.argv[1]
@clasqui
clasqui / Doxyfile
Created November 22, 2017 09:04
Doxyfile Practica
# Doxyfile sesion 8
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = utf-8
PROJECT_NAME = "Pràctica Marc Clascà Ramírez"
PROJECT_NUMBER = "version 1 26-abr-2017"
OUTPUT_DIRECTORY = "./DOC"
CREATE_SUBDIRS = NO
@clasqui
clasqui / README.md
Last active October 14, 2017 01:49
Adafruit LCD text scroll function for Raspberry Pi

Adafruit LCD text scroll function for Raspberry Pi

This tiny function, written in python, allows you to easily scroll text of any length in the LCD 16x2 of Adafruit, which only allows 16 characters per row.

#Install And Use To use this function just download the file named ScrollLCD.py and in your code import it. It takes two obligatory parameters, lcd and text.

Example: