Skip to content

Instantly share code, notes, and snippets.

Filipe Fortes fortes

Block or report user

Report or block fortes

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fortes /
Last active Feb 20, 2018
Mounting a pool of encrypted disks with rclone and mergerfs. See for details.
#!/usr/bin/env bash
set -euf -o pipefail
# Removable drive names go here, separated by spaces
DRIVE_NAMES=(drive1 drive2 drive3)
# Removable and cloud drives are mounted in this local directory
# Name of folder for root of encrypted storage on drives

Keybase proof

I hereby claim:

  • I am fortes on github.
  • I am fortes ( on keybase.
  • I have a public key ASCGns_HhwNFIvxGrS9yJojS_67qYGFJlp9Cx-rIOGGuGwo

To claim this, I am signing this object:

fortes / .gitignore
Last active Jun 20, 2017
metalsmith-jstransformer watch bug repro
View .gitignore
fortes / Cakefile
Created Apr 12, 2013
Make sure packages are installed in your Cakefile
View Cakefile
fs = require 'fs'
# Make sure required modules have been installed
pkg = JSON.parse fs.readFileSync('package.json').toString()
for dependency of pkg['dependencies']
require dependency
catch error
console.error error.message
console.error 'Run `npm install` to install depdencies'
View Sass-exponents.sass
// Sass exponent support
@function exponent($base, $exponent)
// reset value
$value: $base
// positive intergers get multiplied
@if $exponent > 1
@for $i from 2 through $exponent
$value: $value * $base
// negitive intergers get divided. A number divided by itself is 1
@if $exponent < 1
fortes / index.html
Created Feb 24, 2011
HTML file for the cover
View index.html
<!doctype html>
<html class="no-js no-treesaver">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,minimum-scale=1,maximum-scale=1" />
<link rel="stylesheet" href="style.css">
<link rel="resources" href="resources.html">
<link rel="contents" href="toc.html" />
<link rel="apple-touch-icon" href="" />
You can’t perform that action at this time.