Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/python2 | |
import sys | |
import pygit2 as git | |
import os | |
import re | |
import logging | |
import xml.etree.ElementTree as ET | |
import optparse | |
import subprocess |
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
#!/usr/bin/runghc | |
{-# LANGUAGE NoImplicitPrelude, OverloadedStrings #-} | |
import Prelude (Show, IO, (++), print, String, filter) | |
import Data.List (isSuffixOf) | |
import Data.Text hiding (isSuffixOf, filter) | |
import Data.Text.IO | |
import Control.Monad (mapM_) | |
import qualified Data.ByteString.Lazy as BL | |
import System.Directory (getDirectoryContents) |
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
-module(something). | |
-export([a/0, b/0, c/0]). | |
a() -> erlang:display("a"). | |
b() -> a. | |
c() -> fun a/0. |
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
lists:map(fun(X) -> erlang:display(X) end, ["hello"]). | |
lists:map(erlang:display, ["hello"]). | |
%Wrong, you can not refer to erlang:display that way. Would you be pointing to erlang:display/1 or erlang:display/2 ?? | |
lists:map(erlang:display/1, ["hello"]). | |
%Illegal expression, erlang:display/1 is more like splitting an atom in 1 then it is referring to a function | |
lists:map(fun erlang:display/1, ["hello"]). | |
%Yes, this will work. I'm now referring to the function display/1 in the erlang module... few. | |
[erlang:display(X) || X <- ["hello"]]. | |
%Also works, list expressions. |
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
No LSB modules are available. | |
Distributor ID: Ubuntu | |
Description: Ubuntu 10.10 | |
Release: 10.10 | |
Codename: maverick |
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
Limit Soft Limit Hard Limit Units | |
Max cpu time unlimited unlimited seconds | |
Max file size unlimited unlimited bytes | |
Max data size unlimited unlimited bytes | |
Max stack size 8388608 unlimited bytes | |
Max core file size 0 unlimited bytes | |
Max resident set unlimited unlimited bytes | |
Max processes unlimited unlimited processes | |
Max open files 1024 1024 files | |
Max locked memory 65536 65536 bytes |