Skip to content

Instantly share code, notes, and snippets.

View miguelpardal's full-sized avatar

Miguel Pardal miguelpardal

View GitHub Profile
@miguelpardal
miguelpardal / ExampleTest.java
Created March 28, 2015 11:37
JUnit 4 example test class
package example.test;
import org.junit.*;
import static org.junit.Assert.*;
/**
* Test suite
*/
public class ExampleTest {
@miguelpardal
miguelpardal / README-Template.md
Last active April 16, 2024 15:26 — forked from PurpleBooth/README-Template.md
A template to make good README.md files for software components

Project Title

Begin with an introductory paragraph that tells readers the purpose of the project and its main features.
Provide a summary of the information included in this document.

General Information

This section expands on the introductory paragraph to give readers a better understanding of the project and its purpose.

Built With

<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
body {
background: repeat url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/7QCIUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAGscAVoAAxslRxwCAAACAAAcAnQAV8KpIENoYWV5b3VuZ1dpbGxOZXZlckNoYWVvbGQgLSBodHRwOi8vd3d3LnJlZGJ1YmJsZS5jb20vcGVvcGxlL0NoYWV5b3VuZ1dpbGxOZXZlckNoYWVvbAD/4gxYSUNDX1BST0ZJTEUAAQEAAAxITGlubwIQAABtbnRyUkdCIFhZWiAHzgACAAkABgAxAABhY3NwTVNGVAAAAABJRUMgc1JHQgAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLUhQICAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFjcHJ0AAABUAAAADNkZXNjAAABhAAAAGx3dHB0AAAB8AAAABRia3B0AAACBAAAABRyWFlaAAACGAAAABRnWFlaAAACLAAAABRiWFlaAAACQAAAABRkbW5kAAACVAAAAHBkbWRkAAACxAAAAIh2dWVkAAADTAAAAIZ2aWV3AAAD1AAAACRsdW1pAAAD+AAAABRtZWFzAAAEDAAAACR0ZWNoAAAEMAAAAAxyVFJDAAAEPAAACAxnVFJDAAAEPAAACAxiVFJDAAAEPAAACAx0ZXh0AAAAAENvcHlyaWdodCAoYykgMTk5OCBIZXdsZXR0LVBhY2thcmQgQ29tcGFueQAAZGVzYwAAAAAAAAASc1JHQiBJRUM2MTk2Ni0yLjEAAAAAAAAAAAAAABJzUkdCIElFQzYxOTY2LTIuMQAAAAAAAA
@miguelpardal
miguelpardal / README.md
Last active May 10, 2022 13:47
Template for scientific paper reading notes

Comments on paper-identifier

Title: paper title

Authors: author names

Reviewer: reviewer initials

Link to publication page

@miguelpardal
miguelpardal / animals.proto
Created May 6, 2021 15:04 — forked from zz85/animals.proto
Java Protobuf Any vs Oneof
message Dog {
}
message Cat {
}
message Elephant {
@miguelpardal
miguelpardal / sample-linux.c
Created July 20, 2022 15:39 — forked from davidzchen/sample-linux.c
Sample C code using the Linux kernel coding style
/*
* Sample file using the Linux kernel coding convention.
*
* https://www.kernel.org/doc/Documentation/CodingStyle
*
* General rules:
* - Indents are tabs and must be 8 spaces wide.
* - Each line must be at most 80 characters long.
* - Use C-style comments.
* - File names should be lower-case.c
@miguelpardal
miguelpardal / README-maker.md
Created March 28, 2023 15:56
A template to make good README.md files for solutions with hardware and software components.

Project Title

Place logos here, if they exist

Begin with an introductory paragraph that tells readers the purpose of your solution with hardware and software and its major benefits. Give them a summary of the information you will include in this file using clearly defined sections.

General Information

This section expands on the introductory paragraph to give readers a better understanding of your project.