This file contains hidden or 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
| {port_env, [ | |
| %% add MS Visual C++ support to rebar on Windows | |
| {"win32", "CC", "cl.exe"}, | |
| {"win32", "CXX", "cl.exe"}, | |
| {"win32", "LINKER", "link.exe"}, | |
| {"win32", "DRV_CXX_TEMPLATE", | |
| "$CXX /c $CXXFLAGS $DRV_CFLAGS $PORT_IN_FILES /Fo$PORT_OUT_FILE"}, | |
| {"win32", "DRV_CC_TEMPLATE", | |
| "$CC /c $CFLAGS $DRV_CFLAGS $PORT_IN_FILES /Fo$PORT_OUT_FILE"}, |
This file contains hidden or 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
| # Copyright 2012 Erlware, LLC. All Rights Reserved. | |
| # | |
| # This file is provided to you under the Apache License, | |
| # Version 2.0 (the "License"); you may not use this file | |
| # except in compliance with the License. You may obtain | |
| # a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, |
This file contains hidden or 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/sh | |
| # | |
| # %CopyrightBegin% | |
| # | |
| # Copyright Ericsson AB 1996-2012. All Rights Reserved. | |
| # | |
| # The contents of this file are subject to the Erlang Public License, | |
| # Version 1.1, (the "License"); you may not use this file except in | |
| # compliance with the License. You should have received a copy of the | |
| # Erlang Public License along with this software. If not, it can be |
This file contains hidden or 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
| Byobu Commands | |
| ============== | |
| byobu Screen manager | |
| Level 0 Commands (Quick Start) | |
| ------------------------------ | |
| <F2> Create a new window |
This file contains hidden or 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
| module GroupBy where | |
| import Data.Map (Map) | |
| import qualified Data.Map as Map | |
| groupBy :: Ord b => (a -> b) -> [a] -> Map b [a] | |
| groupBy f = foldr (\ v -> Map.insertWith (++) (f v) [v]) Map.empty | |
| groupBy' :: Ord b => (a -> b) -> [a] -> Map b [a] |
This file contains hidden or 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 java.io.BufferedReader; | |
| import java.io.FileReader; | |
| public class Test { | |
| public static void main(String[] args) { | |
| String PATTERN_COMMENT = "/\\*([^*]|[\r\n]|(\\*+([^*/]|[\r\n])))*\\*+/"; | |
| try { |
This file contains hidden or 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
| # If there is no version tag in git this one will be used | |
| VERSION = 0.1.0 | |
| # Need to discard STDERR so get path to NULL device | |
| win32 { | |
| NULL_DEVICE = NUL # Windows doesn't have /dev/null but has NUL | |
| } else { | |
| NULL_DEVICE = /dev/null | |
| } |
This file contains hidden or 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
| create table oauth_client_details ( | |
| client_id VARCHAR(256) PRIMARY KEY, | |
| resource_ids VARCHAR(256), | |
| client_secret VARCHAR(256), | |
| scope VARCHAR(256), | |
| authorized_grant_types VARCHAR(256), | |
| web_server_redirect_uri VARCHAR(256), | |
| authorities VARCHAR(256), | |
| access_token_validity INTEGER, | |
| refresh_token_validity INTEGER, |
A curated list of amazingly awesome Elixir and Erlang libraries, resources and shiny things: https://github.com/h4cc/awesome-elixir
OlderNewer