- El Herreño (Canarian typical food): https://goo.gl/maps/1hueqs8oGEn
- El Roque https://goo.gl/maps/gudNFLHMk8A2
- Cubateria or Los Pescaditos (fish): https://goo.gl/maps/nj3WNTS2BoF2
- Las Brasas (meat and Canarian typical food): https://goo.gl/maps/PZPDQCo44P22
- El Balcon de Zamora (meat and Canarian typical food): https://goo.gl/maps/NJfHfETb2Lt
- Cofradia Pescadores Arguineguin (fish): https://goo.gl/maps/h1KPnbNna7u
- Restaurante Vega: https://goo.gl/maps/JJDtu76UVzw
- Mirador el Atlante: https://goo.gl/maps/2m5KYnEpXyA2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import shapeless._, syntax.std.product._, spray.json.{JsNumber, JsString} | |
case class Person(name: String, age: Int) | |
val p = Person("Pepe", 54) | |
p.toMap[Symbol, Any] // res0: Map[Symbol,Any] = Map('age -> 54, 'name -> Pepe) | |
p.toMap[Symbol, Any].map { | |
case (s, i: Int) => s.toString -> JsNumber(i) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Resolvers._ | |
object add { | |
def apply(org: String, sub: String) = { | |
val newResolver = Resolver.Http("bintray", s"https://dl.bintray.com/$org/$sub/", MavenPattern, true) | |
interp.resolvers() = interp.resolvers() :+ newResolver | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# OPTIONS_GHC -XDeriveDataTypeable #-} | |
import XMonad | |
import Data.Monoid | |
import System.Exit | |
import XMonad.Config.Gnome | |
import qualified XMonad.StackSet as W | |
import qualified Data.Map as M | |
import XMonad.Util.Run (safeSpawn) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!#/bin/bash | |
/usr/local/bin/emacsclient -c "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package gdbTest; | |
import org.neo4j.jdbc.Driver; | |
import org.neo4j.jdbc.Neo4jConnection; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.sql.Statement; | |
import java.util.Properties; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in `ls -rt DIRECTORY`; do; if [ -f DIRECTORY/$i ]; then grep -H PATTERN DIRECTORY/$i; fi; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in `find .`; do echo $i `grep -c PATTERN $i` | awk '{ if ($2 > 1) print $1}' ; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $Id: screen-keys.conf,v 1.7 2010-07-31 11:39:13 nicm Exp $ | |
# | |
# By Nicholas Marriott. Public domain. | |
# | |
# This configuration file binds many of the common GNU screen key bindings to | |
# appropriate tmux key bindings. Note that for some key bindings there is no | |
# tmux analogue and also that this set omits binding some commands available in | |
# tmux but not in screen. | |
# | |
# Note this is only a selection of key bindings and they are in addition to the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Control.Monad | |
import Data.List | |
let unRoll = join .map (uncurry $ flip replicate) | |
let roll = map $ map (\l@(x:_) -> (x, length l)) . group:: [String] -> [[(Char, Int)]] | |
let powerSet = roll . nub . filterM (const [True, False]) . unRoll | |
powerSet [('a',2), ('b',2)] |
NewerOlder