Skip to content

Instantly share code, notes, and snippets.

View joaocampinhos's full-sized avatar
🛢️
#bleçed

João Campinhos joaocampinhos

🛢️
#bleçed
View GitHub Profile
@joaocampinhos
joaocampinhos / colors.css
Last active January 10, 2017 19:32
Ways to define a color
element {
background-color: RebeccaPurple;
background-color: #663399;
background-color: #639;
background-color: rgb(102,51,153);
background-color: hsl(270,50%,40%);
}
Ronda Jogo Equipa 1 Equipa 2 Mapa Vencedor
Ronda 1 1 FTW EGN Lijiang Tower FTW
Ronda 1 2 FTW EGN Numbani FTW
Ronda 1 3 FTW EGN Nepal -
Ronda 1 1 k1ck Eyeshield King's Row k1ck
Ronda 1 2 k1ck Eyeshield Numbani k1ck
Ronda 1 3 k1ck Eyeshield Hollywood -
Semifinal 1 FTW k1ck Temple of Anubis k1ck
Semifinal 2 FTW k1ck Numbani FTW
Semifinal 3 FTW k1ck Route 66 k1ck
! special
*.foreground: #ffffff
*.background: #000000
*.cursorColor: #ffffff
! black
*.color0: #333333
*.color8: #555555
! red
@joaocampinhos
joaocampinhos / pacaur_install.sh
Last active November 16, 2016 22:07 — forked from tadly/pacaur_install.sh
A simple shell script to quickly / easily install "pacaur" on archlinux
#!/bin/sh
# If you are new to arch, I encourage you to at least read and understand what
# this script does befor blindley running it.
# That's why I didn't make a one-liner out of it so you have an easier time
# reading and understanding it :)
#
# This scripts purpose is purly to save you a few seconds on your new installation.
#
# Enjoy your time on an awesome system. Arch FTW!
@joaocampinhos
joaocampinhos / tech.js
Last active February 22, 2019 08:54
Disable MIT Technology Review (https://www.technologyreview.com/) paywall
var h=document.head,s=document.createElement('style');s.type='text/css',s.appendChild(document.createTextNode('.entry-login,.meter{display:none}article,.article-body__content{height:auto!important}.article-body__content:before{content:none!important}')),h.appendChild(s);
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" integrity="sha256-MfvZlkHCEqatNoGiOXveE8FIwMzZg4W85qfrfIFBfYc= sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">
<title>Insert title here</title>
<style type="text/css">
.container {
width: 50%;
}
" Personal vim-airline theme
" Mantained by João Campinhos
" v1.0
let g:airline#themes#bw#palette = {}
let s:N1 = [ '' , '' , 'black' , 15 ]
let s:N2 = [ '' , '' , 15 , 8 ]
let s:N3 = [ '' , '' , 15 , 'black' ]
let g:airline#themes#bw#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
@joaocampinhos
joaocampinhos / bw.vim
Created June 30, 2015 12:46
Vim Airline Custom Theme
" Personal vim-airline theme
" Mantained by João Campinhos
" v1.0 - https://gist.github.com/joaocampinhos/49b755292808149774c9
let g:airline#themes#bw#palette = {}
let s:N1 = [ '' , '' , 'black' , 15 ]
let s:N2 = [ '' , '' , 15 , 8 ]
let s:N3 = [ '' , '' , 15 , 'black' ]
let g:airline#themes#bw#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
@joaocampinhos
joaocampinhos / gitupgitout.md
Last active August 29, 2015 14:23
Git up, Git out

#You need to git up, git out

git up git out

Git aliases based on Outkast song called "Git up, Git out".

###Git Up

# Better git pull to prevent polluted logs with merge messages
up = "!git remote update -p; git merge --ff-only @{u}"