Skip to content

Instantly share code, notes, and snippets.

View peekpt's full-sized avatar
💭
life.

Paulo Bruckmann peekpt

💭
life.
View GitHub Profile
@peekpt
peekpt / blt.dart
Created February 19, 2019 20:46 — forked from SebastianKlaiber/blt.dart
flutter built_value live templates
abstract class $NAME$ implements Built<$NAME$, $NAME$Builder> {
$END$// fields go here}",
$NAME$._();
factory $NAME$([updates($NAME$Builder b)]) = _$$$NAME$;
}
@peekpt
peekpt / Network.cpp
Created February 25, 2016 21:55 — forked from mkroman/Network.cpp
Uncrustify configuration inspired by Google's C++ styleguide.
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>
#include <string.h>
#include <iostream>
#include <stdarg.h>
#include <stdio.h>
@peekpt
peekpt / uncrustify.cfg
Created February 23, 2016 23:25 — forked from nvkv/uncrustify.cfg
Nulana's Uncrustify config for Objective-C/C++
indent_align_string=false
indent_braces=false
indent_braces_no_func=false
indent_brace_parent=false
indent_namespace=false
indent_extern=false
indent_class=false
indent_class_colon=false
indent_else_if=false
indent_func_call_param=false
@peekpt
peekpt / bootstrap_index.html
Created November 26, 2015 12:42 — forked from mlconnor/bootstrap_index.html
Bootstrap 3 CDN Template
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap 3 Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" media="screen">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
@peekpt
peekpt / OpenGraphHeader.htm
Created November 10, 2015 16:36 — forked from JeremyMorgan/OpenGraphHeader.htm
Template for Open Graph Tags. Adding these to your pages will help you display information better on Google+, Facebook and Twitter. Just replace the values with their own.
<meta itemprop="name" content="[ TITLE ]" />
<meta itemprop="image" content="[ LISTING IMAGE ]" />
<meta itemprop="description" content="[ ARTICLE DESCRIPTION ]" />
<meta name="description" content="[ ARTICLE DESCRIPTION ]" />
<meta name="author" content="[ AUTHOR FULL NAME ]" />
<meta property="article:author" content="[ GOOGLE+ AUTHOR URL ]" />
<meta property="article:published_time" content="[ PUBLISHED TIMESTAMP ]" />
<meta property="article:section" content="[ CATEGORY ]" />