Skip to content

Instantly share code, notes, and snippets.

View odwrotnie's full-sized avatar

Pawel odwrotnie

  • Poland
  • 14:31 (UTC +02:00)
View GitHub Profile
Install s3fs on Mac OS X
1 - Install Homebrew - http://brew.sh/
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
2 - Use Homebrew to install s3fs + dependencies
brew install s3fs
3 - Do some custom stuff. I only used the first step from here -> https://gist.github.com/fukayatsu/3910097
sudo /bin/cp -rfX /usr/local/Cellar/fuse4x-kext/0.9.2/Library/Extensions/fuse4x.kext /Library/Extensions
@MaciejLisCK
MaciejLisCK / d3PolishLocale
Last active February 4, 2018 19:52
Polish d3 localization. d3js, localize, polski
var d3PolishLocale = {
"decimal": ",",
"thousands": " ",
"grouping": [3],
"currency": ["", "zł"],
"dateTime": "%e %b %Y %X",
"date": "%Y-%m-%d",
"time": "%H:%M:%S",
"periods": ["", ""], // AM,PM
"days": ["niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"],
@mariussoutier
mariussoutier / Mail.scala
Created August 23, 2012 12:13
Sending mails fluently in Scala
package object mail {
implicit def stringToSeq(single: String): Seq[String] = Seq(single)
implicit def liftToOption[T](t: T): Option[T] = Some(t)
sealed abstract class MailType
case object Plain extends MailType
case object Rich extends MailType
case object MultiPart extends MailType