Skip to content

Instantly share code, notes, and snippets.

View felipelalli's full-sized avatar
👻
boo

Felipe Mica felipelalli

👻
boo
View GitHub Profile
@marcospereira
marcospereira / gist:594210
Created September 23, 2010 19:41
Vagas Globo.com - WebMedia

A Globo.com

Você já deve conhecer a Globo.com: somos um dos maiores portais da Internet Brasileira. Por trás deste portal, existe uma grande equipe, composta por profissionais extremamente dedicados, competentes, comprometidos e apaixonados pelo que fazem. E estamos contratando!

Procuramos por alguém com vontade de fazer diferente, trazer mais alternativas e ações do que reclamações, lidar com os problemas de maneira criativa, se divertir e participar da criação de produtos usados por um público que é contado aos milhões. Nós queremos pessoas com paixão pelo que fazem! E, claro, pessoas que trabalhem com vontade de criar produtos dos quais elas se orgulhem de mostrar. Para nós é mais importante o quão curioso você é e não se seu currículo está recheado de siglas e especialidades. Se você tem bastante vontade para aprender e também é capaz de nos ensinar novos truques, essa é uma vaga para você.

WebMedia

Somos o time responsável pela área de vídeos da globo.com e aqui há o desafio de trabalhar com uma

@dweinstein
dweinstein / template.txt
Created September 5, 2012 20:42
my org-mode template for exporting to LaTeX/PDF
#+TITLE: Template org-mode document for export to LaTeX/PDF
#+AUTHOR: David Weinstein
#+LaTeX_HEADER: \usepackage[left=1in,top=1in,right=1in,bottom=1.5in]{geometry}
#+LaTeX_HEADER: \usepackage{palatino}
#+LaTeX_HEADER: \usepackage{fancyhdr}
#+LaTeX_HEADER: \usepackage{sectsty}
#+LaTeX_HEADER: \usepackage{engord}
#+LaTeX_HEADER: \usepackage{cite}
#+LaTeX_HEADER: \usepackage{graphicx}
@gavinandresen
gavinandresen / BlockPropagation.md
Last active June 28, 2024 08:17
O(1) block propagation

O(1) Block Propagation

The problem

Bitcoin miners want their newly-found blocks to propagate across the network as quickly as possible, because every millisecond of delay increases the chances that another block, found at about the same time, wins the "block race."

@kiwanami
kiwanami / calfw-git.el
Last active August 14, 2023 16:27
Calendar view for git-log
;;; calfw-git.el --- calendar view for git-log
;; Copyright (C) 2014 SAKURAI Masashi
;; Author: SAKURAI Masashi <m.sakurai at kiwanami.net>
;; Keywords: calendar
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
@rain1024
rain1024 / tut.md
Last active July 23, 2024 12:15
Install pdflatex ubuntu

PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.

  • Install the TexLive base
sudo apt-get install texlive-latex-base
  • Also install the recommended and extra fonts to avoid running into the error [1], when trying to use pdflatex on latex files with more fonts.
@CMCDragonkai
CMCDragonkai / haskell_interoperability.md
Last active January 12, 2022 22:23
Haskell: Interoperability with other Languages

Haskell Interoperability

There's a number of possible ways to communicate between programms in different languages. There's of course IPC and RPC, but what about actual linking with binary code? Such a feature would allow using C as the portable interface between languages, call into the kernel directly, and also allow Haskell to use existing high quality scientific and numerical libraries. All of this without having the overhead of developing and maintaining a second running process.

@mmrko
mmrko / git-add-no-whitespace.sh
Last active March 14, 2023 21:09
git add files ignoring whitespace
# props: https://stackoverflow.com/questions/3515597/add-only-non-whitespace-changes#answer-7149602
git diff -U0 -w --no-color | git apply --cached --ignore-whitespace --unidiff-zero
@ChiChou
ChiChou / unhex.sql
Last active October 11, 2023 05:44
SQLite3 convert hex string to int (requires sqlite >= 3.8.3)
WITH RECURSIVE
unhex(str, val, weight) AS (
SELECT 'deadbeef', 0, 1
UNION ALL
SELECT
substr(str, 1, length(str) - 1),
val + (instr('0123456789ABCDEF', substr(str, length(str), 1)) - 1) * weight,
weight * 16
FROM unhex WHERE length(str) > 0
)
@padawanphysicist
padawanphysicist / emacs-pkg-install.sh
Last active February 24, 2023 02:03
Install emacs packages from the command-line
#!/bin/bash
#
# I wrapped the code constructed in
#
# http://hacks-galore.org/aleix/blog/archives/2013/01/08/install-emacs-packages-from-command-line
#
# in a single bash script, so I would a single code snippet.
#
# Package to be installed
@danieleggert
danieleggert / GPG and git on macOS.md
Last active July 21, 2024 18:21
How to set up git to use the GPG Suite

GPG and git on macOS

Setup

No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.

  1. Install https://gpgtools.org -- I'd suggest to do a customized install and deselect GPGMail.
  2. Create or import a key -- see below for https://keybase.io
  3. Run gpg --list-secret-keys and look for sec, use the key ID for the next step
  4. Configure git to use GPG -- replace the key with the one from gpg --list-secret-keys