This file contains hidden or 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
a { | |
outline: 0; | |
} | |
input::-moz-focus-inner { | |
border: 0; | |
} | |
a:hover, a:active, a:focus { | |
outline: 0; |
This file contains hidden or 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
/* | |
* Such as num is:12345678910, 'from_big1' funcation will be wrong | |
* since the sign extension: 'cltq' instruction will full fill upper 32 bits with 0xffffffff | |
*/ | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <inttypes.h> | |
void to_big(unsigned char *buf, uint64_t v) |
This file contains hidden or 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
addi $sp, $sp, -16 | |
fib: | |
slt $t0, $a2, 0 | |
add $v0, $zero, $t0 | |
nme $t0, 0, exit | |
add $a0, $a0, $a1 | |
subi $a1, $a2, 1 | |
jal fib |
This file contains hidden or 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/sh | |
echo "Write the string extention ( ie .bash )\n" | |
echo "The program will accept multiple extention. ( ie .html.markdown )\n" | |
read oldext # = ".html.markdown" | |
echo "Write the new extention ( ie .sh )" | |
read newext # = ".md" |
This file contains hidden or 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
class RubySimples | |
def simples_acao | |
puts "Ruby" | |
end | |
end | |
# Output "I love Ruby" | |
say = "I love Ruby" | |
puts say |
This file contains hidden or 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
/* 15 ===================================== | |
* Predicado: substituidoDoInicio(D, L, LM) | |
* Definição: D é um dado, L é uma lista e LM é a lista L com D no lugar do primeiro dado de L. | |
*/ | |
%passo-basico | |
substituidoDoInicio(D, L, [D | L]). | |
%passo-indutivo |
This file contains hidden or 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
.data | |
#Arranjo a ser ordenado | |
_v: .word 29,28,27,26,25,24,23,22,21,-1 | |
_k: .word 2 #Valor de k | |
.text | |
.globl main | |
main: | |
#Inicialização dos parâmetros | |
la $a0, _v |
This file contains hidden or 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
/* 01 ===================== | |
* Predicado: primeiro(L,P) | |
* Definição: L é uma lista e P é o primeiro dado de L. | |
*/ | |
primeiro([P|_],P). | |
/* 02 ==================== |
This file contains hidden or 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
# | |
# /home/tonussi/.nvidia-settings-rc | |
# | |
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility | |
# Generated on Fri Sep 20 17:35:07 2013 | |
# | |
# ConfigProperties: | |
RcFileLocale = C |
This file contains hidden or 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
[user] | |
name = tonussi | |
email = [email protected] | |
[credential] | |
helper = cache --timeout=3600 | |
[core] | |
excludesfile = /home/tonussi/.gitignore_global | |
[push] | |
default = simple | |
[grep] |