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
require 'formula' | |
class LibxdgBasedir < Formula | |
url 'https://github.com/devnev/libxdg-basedir/archive/libxdg-basedir-1.2.0.tar.gz' | |
homepage 'http://n.ethz.ch/~nevillm/download/libxdg-basedir/' | |
md5 'bd3bb815c9e27fda9c721b9c0b29ddda' | |
def install | |
ENV['PATH'] = "/usr/local/bin:#{ENV['PATH']}" |
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
require 'formula' | |
class Awesome < Formula | |
url 'http://awesome.naquadah.org/download/awesome-3.5.6.tar.bz2' | |
homepage 'http://awesome.naquadah.org/' | |
md5 '81c7353932dd067cc7a222d9ede1cdd7' | |
depends_on 'cmake' | |
depends_on 'lua' | |
depends_on 'imlib2' |
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 List | |
import List ((::)) | |
import Signal | |
import Signal ((<~), (~)) | |
import Html | |
import Html (div, text, button, ul, input, li, p, label) | |
import Html.Attributes (disabled, type', name, id, value, checked) | |
import Html.Events (onClick, on, targetValue) |
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 Signal | |
import Html | |
import Html (div, text, button) | |
import Html.Events (onClick) | |
toggle s1 s2 s = | |
Signal.foldp | |
(\prev curr -> | |
if prev == s1 then s2 else s1) s1 s |
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
Config { font = "xft:Source Code Pro:size=24:bold:antialias=true" | |
, bgColor = "#002b36" | |
, fgColor = "#657b83" | |
, position = TopP 0 150 | |
, lowerOnStart = True | |
, commands = [ Run Cpu ["-L", "3", "-H", "50", "-n", "#719e07", "-h", "#dc322f"] 10 | |
, Run Battery ["-t", "<left>% (<timeleft>)", "-L", "25", "-H", "75", "-h", "#719e07", "-n", "#b58900", "-l", "#dc322f"] 10 | |
, Run ThermalZone 0 ["-t", "<temp> C", "-L", "40", "-H", "79", "-h", "#dc322f", "-n", "#b58900", "-l", "#719e07"] 10 | |
, Run Memory ["-t","<usedratio>%"] 10 | |
, Run Date "%a %_d/%m %H:%M" "date" 10 |
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 Graphics.Element (..) | |
import Graphics.Input.Field (Content, Selection, Direction(..)) | |
import Graphics.Input.Field as Field | |
import Signal | |
import Time | |
import String | |
import List | |
import Result | |
import Text (plainText) | |
import Debug |
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
var Elm = Elm || { Native: {} }; | |
Elm.Array = Elm.Array || {}; | |
Elm.Array.make = function (_elm) { | |
"use strict"; | |
_elm.Array = _elm.Array || {}; | |
if (_elm.Array.values) | |
return _elm.Array.values; | |
var _op = {}, | |
_N = Elm.Native, | |
_U = _N.Utils.make(_elm), |
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
[Unit] | |
Description=Keter Deployment Tool | |
[Service] | |
ExecStart=/opt/keter/bin/keter /opt/keter/etc/keter-config.yaml | |
[Install] | |
WantedBy=multi-user.target |
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
Main.hs:47:3: | |
Couldn't match type ‘WhebT WhebShort () IO HandlerResponse’ | |
with ‘HandlerResponse’ | |
Expected type: LoggingT (WhebT WhebShort () IO) HandlerResponse | |
Actual type: LoggingT (WhebT WhebShort () IO) ShortHandler | |
In a stmt of a 'do' block: | |
return | |
$ renderHtml | |
$ layout | |
$ do { ((Control.Monad.Logger.monadLoggerLog |