This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int i; | |
void main(){ | |
PORTB=0x00; //Inicialización. | |
TRISB0_bit=0; //RB0 como salida. | |
PWM1_Init(4000); //Frecuencia PWM. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logger = logging.getLogger(__name__) | |
logger.debug("bla bla") | |
logger.info("bla bla") | |
logger.warning("bla bla") | |
logger.error("bla bla") | |
logger.critical("bla bla") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getCuilCuit(document_number, gender) { | |
/** | |
* Cuil format is: AB - document_number - C | |
* Author: Nahuel Sanchez, Woile | |
* | |
* @param {str} document_number -> string solo digitos | |
* @param {str} gender -> debe contener HOMBRE, MUJER o SOCIEDAD | |
* | |
* @return {str} | |
**/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-ajax/core-ajax.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../notification-elements/notification-alert.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt -y autoremove && | |
sudo apt install -y --fix-broken && | |
sudo apt update && | |
sudo apt -y upgrade -f && | |
sudo apt -y dist-upgrade -f && | |
sudo apt install -y --fix-broken && | |
sudo dpkg --configure -a && | |
sudo apt -y autoremove -f && | |
sudo aptitude purge -y '~c' && |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// JSHint Default Configuration File (as on JSHint website) | |
// See http://jshint.com/docs/ for more details | |
"maxerr" : 50, // {int} Maximum error before stopping | |
// Enforcing | |
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.) | |
"camelcase" : false, // true: Identifiers must be in camelCase | |
"curly" : true, // true: Require {} for every new block or scope |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------# | |
# OFFICIAL DEBIAN REPOS | |
#------------------------------------------------------------------------------# | |
###### Debian Main Repos | |
deb http://deb.debian.org/debian/ testing main contrib non-free | |
deb-src http://deb.debian.org/debian/ testing main contrib non-free | |
deb http://deb.debian.org/debian-security testing-security main contrib non-free | |
deb-src http://deb.debian.org/debian-security testing-security main contrib non-free |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Add my custom gnome extensions | |
# Execution: | |
# sudo chmod +x add_gnome_extensions.sh | |
# ./add_gnome_extensions.sh | |
cd /tmp | |
wget https://raw.githubusercontent.com/NicolasBernaerts/ubuntu-scripts/master/ubuntugnome/gnomeshell-extension-manage | |
chmod +x gnomeshell-extension-manage | |
./gnomeshell-extension-manage --install --extension-id 1011 # Dynamic panel transparency |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conky.config = { | |
-- Set to yes if you want Conky to be forked in the background | |
background = true, | |
-- Use Xft | |
use_xft = true, | |
-- Xft font when Xft is enabled | |
font = 'Bitstream Monospace:size 9', |
OlderNewer