Skip to content

Instantly share code, notes, and snippets.

thomas: but it works now
bill: this is some on error collection way some download been the back to want so that we don't even start the payment and programs that is though
thomas: anyone did
bill: "<@thomas>: that is a property complete in the simple the old confusion and of the manually and update it to make sure you can't like them and it would be in mongo for the models
bill: "this is why me and me a morning the file there is all the way to we come to it
thomas: k
thomas: yea this would remove stagt on the old of the extra live of debugges obvious <https://github.com/monstercat/package/>
bill: what is the provided and client and the modify download and probably start with point it
thomas: yea
thomas: for on it
From c801f276ec55baccaa8ffb3abe5875ccbc3ed8ae Mon Sep 17 00:00:00 2001
From: Jskud <Jskud@Jskud.com>
Date: Sun, 12 Jan 2014 11:55:07 -0800
Subject: [PATCH 1/1] add display_base_name support
Signed-off-by: Jskud <Jskud@Jskud.com>
---
DisplayOptionsPanel.c | 1 +
Process.c | 9 ++++++++-
#!/usr/bin/env bash
set -e
name=""
OPTIND=1
show_help () {
echo "sharefile [-n newname.png] <FILE>"
echo ""
AnonIPLimit = 10
MaxBufferSize= 500
ConnectDelay = 5
ServerThrottle = 30
<Listener listener0>
AllowIRC = true
AllowWeb = false
IPv4 = true
IPv6 = false
node_child_process.cc
16:extern char **environ;
229: // Save environ in the case that we get it clobbered
231: char **save_our_env = environ;
268: environ = env;
277: // Restore environment.
278: environ = save_our_env;
node.js
63: // Set the environ variable NODE_MODULE_CONTEXT=1 to make node load all
template <class TFunc>
auto map(const TFunc &f) -> FList<decltype(f(_Ty()))>*
{
auto temp = new FList<decltype(f(_Ty()))>();
for (auto i = begin(); i != end(); i++)
temp->push_back(f(*i));
return temp;
}
#include <iostream>
template <typename TList, typename TFunc>
void forEach(const TList& list, const TFunc& fn) {
for (auto it = list.begin(); it != list.end(); ++it)
fn(*it);
}
int main()
{
{ nixpkgs ? import <nixpkgs> {}, compiler ? null }:
let pkgs = nixpkgs.pkgs;
baseHaskellPackages = if compiler != null
then pkgs.haskell.packages.${compiler}
else pkgs.haskellPackages;
haskellPackages = baseHaskellPackages.override {
overrides = self: super: with pkgs.haskell.lib; {
idiii = dontCheck super.idiii;
};
};
@jb55
jb55 / AttoToParsec.hs
Last active September 17, 2015 09:10
module AttoToParsec where
import qualified Data.Attoparsec.ByteString as A
import qualified Data.Attoparsec.Internal.Types as AI
import qualified Text.Parsec as P
import qualified Text.Parsec.Error as P
import qualified Text.Parsec.Pos as P
import Data.ByteString (ByteString)
import Data.Functor.Identity (Identity)
import Control.Monad.Trans.Cont
int main(int argc, const char *argv[])
{
if (argc != 2) {
printf("Usage: xml_test <filename>\n");
return 1;
}
{