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
/* | |
Sistemas Digitais - Exercício Prático de Verilog | |
Documentação do Verilog do circuito de Fibonacci com memória síncrona. | |
Por Pedro Henrique Lara Campos | |
Atualizado em 2019-08-26 18:20 | |
==================================================================================== | |
[ BOA LEITURA :D ] | |
1. Módulo da memória | |
Nome: SRAM (Synchronous RAM) |
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
# Contributor: Pedro H Lara Campos <[email protected]> | |
_kver=4.19.41 | |
_krel=0 | |
_kabi="$_kver-$_krel-vanilla" | |
pkgname=haxm | |
pkgver=7.5.1 | |
pkgrel=0 |
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
#!/usr/bin/env ruby | |
def cat(fname) | |
data = (fname == '-' ? STDIN.read : File.open(fname, 'rb').read) | |
return data.force_encoding('UTF-8') | |
end | |
def output(req) | |
req[:verb].each do |verb| | |
single_out(req, verb) |
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
#!/usr/bin/env ruby | |
def cat(fname) | |
data = (fname == '-' ? STDIN.read : File.open(fname, 'rb').read) | |
return data.force_encoding('UTF-8') | |
end | |
class CodeToken < String | |
attr_reader :match_pos | |
attr_accessor :kind |
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
# Contributor: Philipp A. <[email protected]> | |
pkgname=rambox-ce | |
pkgver=0.6.4 | |
pkgrel=0 | |
pkgdesc='Free and Open Source messaging and emailing app that combines common web applications into one.' | |
arch=(i686 x86_64) | |
depends=(electron) | |
makedepends=(desktop-file-utils asar ruby npm sencha-cmd-6) | |
url='http://rambox.pro/' |
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
# Another version of vk9-git trying to handle entire build by hand... | |
project=vk9 | |
pkgbase=vk9-git | |
pkgname=('vk9-git' 'lib32-vk9-git') | |
pkgver=0.29.0.16.g4c97d7f | |
pkgrel=1 | |
pkgdesc='Direct3D 9 compatibility layer using Vulkan.' | |
arch=('x86_64') | |
url='https://github.com/disks86/VK9' |
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
#!/usr/bin/env python | |
# Ajuda a visualizar | |
# =============== | |
def imprime_casais(n, Casais): | |
# Imprime no console no formato dado nas Notas de Aula | |
res = 'S^('+str(n)+') = {' | |
for x,y in Casais.items(): | |
res += '('+y+', '+x+'), ' | |
if(res[-2:] == ', '): |
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
/* | |
Trabalho PAA - Baú da Felicidade | |
É tipo knapsack, só que são duas mochilas, e o peso é igual ao valor :) | |
Autor: Pedro Henrique Lara Campos (UFSCar RA 726578) | |
Data: 2018-12-15 | |
https://run.codes/exercises/view/9974 | |
*/ | |
#include<stdio.h> | |
#include<stdlib.h> |
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
#!/usr/bin/env ruby | |
# Gerador de INSERTs para trabalho de BD | |
# Instale dependencias: | |
# gem install --user-install laranja | |
# Como usar: | |
# ruby gera.rb > dummy.sql | |
# ruby gera.rb 10 5 3 5 2 > dummy-menor.sql | |
require 'laranja' | |
Laranja.load('pt-BR') |
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
/* | |
Trabalho PAA - Crush | |
Menor caminho com Dijkstra | |
Autor: Pedro Henrique Lara Campos (UFSCar RA 726578) | |
Data: 2018-11-21 | |
https://run.codes/exercises/view/9772 | |
*/ | |
#include<stdio.h> | |
#include<stdlib.h> | |
#include<stdbool.h> |