Skip to content

Instantly share code, notes, and snippets.

View gvillalta99's full-sized avatar
💜
Cool

gvillalta99 gvillalta99

💜
Cool
View GitHub Profile
@gvillalta99
gvillalta99 / keybase.md
Created October 1, 2019 20:01
keybase.md

Keybase proof

I hereby claim:

  • I am gvillalta99 on github.
  • I am gvillalta99 (https://keybase.io/gvillalta99) on keybase.
  • I have a public key whose fingerprint is A304 6EEB 386F DBCF 9BDE 4440 56F2 2108 B352 3D4B

To claim this, I am signing this object:

File Type : PDF
MIME Type : application/pdf
PDF Version : 1.4
Linearized : No
Page Count : 31
XMP Toolkit : DynaPDF 3.0.40.120, http://www.dynaforms.com
Producer : RAD PDF 2.28.1.6 - http://www.radpdf.com
Create Date : 2015:07:20 23:15:39-03:00
Creator Tool : RAD PDF
Metadata Date : 2015:07:21 17:18:01-08:00
# Testing Ruby's method visibility with Modules
module A
def public_method
puts :public_method
end
protected
def protected_method
puts :protected_method
@gvillalta99
gvillalta99 / makefile
Created April 29, 2015 22:38
Make *.pdf from *.tex
PDF=pdflatex
IDX=makeindex
BIB=bibtex
READ=evince
MAKE=make clean-clutter
%.pdf: %.tex %.idx
@echo 'Building $@ dependencies $?'
$(IDX) $(@:.pdf=.idx)
$(BIB) $(@:.pdf= )
@gvillalta99
gvillalta99 / designer.html
Last active August 29, 2015 14:09
designer
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<polymer-element name="my-element">
<template>
<style>
:host {
#include <stdio.h>
#include <stdlib.h>
#define TAMANHO 128
int converteBinarioDecimal(char[]);
char* converteDecimalTernario(int);
char* inverteVetor(char * vetor);
int tamanho(char[]);
int potencia2(int);
#include <stdio.h>
#define TAMANHO 128
long converteBinario(char[]);
int tamanho(char[]);
int potencia2(int);
int main(int argc, char *argv[]){
char input1[TAMANHO];
char input2[TAMANHO];
Figura 2
Vcc _____ +---5khz--------------+
_____ | | ffd | | _____ _____ | ______
P1 --------| | +--|D | +-| | | con | | | com |
| AND |-----|> Q|--------| AND |----|> |--|--|X |
M --------|_____| | | /|\ |_____| | | | | |
| _____ |__R__| | ____ |__R__| +-o|> X<Y|--MF
+--|>--| | | | P1---| | | | |
| AND |--------+ | | AND|----+--------|R |
P2 --------|_____| | M----|____| | |
Figura 1
_____
____/-----\______
| __ __ | 1m
|_/ \_______/ \| <---------> Pista
_____\__/_______\__/_________________________
T D | | |
P1 M P2
Legenda
export LM_LICENSE_FILE=~/Download/XILINX_LICENCE.dat