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
{ lib, config, options, ... }: | |
with lib; | |
let | |
baseArgs = { | |
inherit nodes; | |
modules = []; |
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, ... }: | |
{ | |
systemd.services.foo = { | |
serviceConfig.User = "bar"; | |
preStart = "echo ${builtins.trace config.systemd.services.foo.serviceConfig config.systemd.services.foo.serviceConfig.User}"; | |
}; | |
} |
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
{-# LANGUAGE FlexibleContexts, LambdaCase #-} | |
module Main where | |
import Data.ByteString (ByteString) | |
import Conduit.Simple | |
import Control.Concurrent.STM | |
import Control.Concurrent.STM.TMQueue | |
import Control.Concurrent.STM.TBMQueue | |
import Control.Concurrent.Lifted | |
import Control.Monad.Trans |
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
$ sudo nixos-rebuild switch -I nixpkgs=. | |
building Nix... | |
these paths will be fetched (0.88 MiB download, 3.42 MiB unpacked): | |
/nix/store/i57wr9raazilf2bqpblsfark2pf67as7-nix-1.8pre3705_71a20d4 | |
fetching path `/nix/store/i57wr9raazilf2bqpblsfark2pf67as7-nix-1.8pre3705_71a20d4'... | |
*** Downloading ‘http://cache.nixos.org/nar/0415ww6rj91w438b7x5h2gw16mjixxh4f4rzqgrwqv8bv8g8csgy.nar.xz’ to ‘/nix/store/i57wr9raazilf2bqpblsfark2pf67as7-nix-1.8pre3705_71a20d4’... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 899k 100 899k 0 0 750k 0 0:00:01 0:00:01 --:--:-- 751k |
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
conn inbound | |
left=%any | |
right=%any | |
rightid=%any | |
auto=add | |
type=transport | |
leftcert=/etc/x509/strongswan.crt | |
conn outbound | |
left=%any |
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
conn inbound | |
leftid=it-services@zalora.com | |
leftcert=/etc/x509/strongswan.crt | |
type=transport | |
auto=add | |
conn outbound | |
leftid=it-services@zalora.com | |
leftcert=/etc/x509/strongswan.crt | |
right=192.168.56.101 |
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
conn inbound | |
leftid=it-services@zalora.com | |
type=transport | |
auto=add | |
conn outbound-1 | |
leftid=it-services@zalora.com | |
right=192.168.56.103 | |
rightid=it-services@zalora.com | |
type=transport | |
auto=route |
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
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:443:in `load_missing_constant' | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:80:in `const_missing' | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:92:in `const_missing' | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/inflector.rb:361:in `constantize' | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/inflector.rb:360:in `each' | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/inflector.rb:360:in `constantize' | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gem |
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
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/record_identifier.rb:76:in `dom_id' | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/record_identification_helper.rb:16:in `dom_id' | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/form_helper.rb:293:in `apply_form_for_options!' | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/form_helper.rb:277:in `form_for_without_haml' | |
/Library/Ruby/Gems/1.8/gems/haml-3.0.24/lib/haml/helpers/action_view_mods.rb:235:in `form_for' | |
/Users/Shea/Dropbox/mypizza/admin/app/views/admins/new.html.erb:1:in `_run_erb_app47views47admins47new46html46erb' | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in `send' | |
/Syst |
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
class MessagesController < ApplicationController | |
def create | |
Message.new(params[:message]) | |
redirect_to :action => "index" | |
end | |
end |
OlderNewer