Skip to content

Instantly share code, notes, and snippets.

View dflemstr's full-sized avatar

David Flemström dflemstr

View GitHub Profile
From 4519d89bc6e5076fb9f84e495674537d0ade0110 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Flemstr=C3=B6m?= <[email protected]>
Date: Mon, 31 Oct 2016 00:15:07 +0100
Subject: [PATCH] Version 5.6.178-1: use system ICU + fix pkg-config
---
PKGBUILD | 65 +++++++++++++++++++++++++++++++++----------------------
v8.pc | 1 +
v8_libbase.pc | 10 +++++++++
v8_libplatform.pc | 10 +++++++++
gn gen out.gn/build --script-executable=/usr/bin/python2 --args='is_component_build=false is_debug=false is_official_build=true optimize_for_size=true v8_use_snapshot=true v8_use_external_startup_data=false v8_enable_i18n_support=false'
#[macro_use]
extern crate error_chain;
#[macro_use]
extern crate quick_error;
quick_error! {
#[derive(Debug)]
pub enum ForeignA {
Foo {
description("foo")
class Main {
public static void main(String... args) {
class Main<A> {
<B> Main() {
}
<C> void main() {
System.out.println("Hello, World!");
}
}
new <Integer>Main<String>().<Boolean>main();
<!DOCTYPE html><html><head><meta charset="UTF-8"/><link href="http://kevinburke.bitbucket.org/markdowncss/markdown.css" rel="stylesheet"></link></head><body><h1>Replay analysis: <em>EY</em> vs <em>MSFT</em></h1><h2>Radiant (EY)</h2>
<table>
<thead>
<tr>
<th>Player </th>
<th>Dotabuff </th>
<th>Hero </th>
</tr>
</thead>
20:37:26.782 [main] DEBUG s.c.processor.runner.ExecutionModel - require processor skadistats.clarity.processor.runner.SimpleRunner
20:37:26.785 [main] DEBUG s.c.processor.runner.ExecutionModel - require processor name.dflemstr.nightstalker.Main
20:37:26.794 [main] DEBUG s.c.processor.runner.ExecutionModel - require event listener interface skadistats.clarity.processor.entities.OnEntityCreated
20:37:26.801 [main] DEBUG skadistats.clarity.event.UsagePoints - provider found on ClassIndex: skadistats.clarity.processor.modifiers.Modifiers
20:37:26.808 [main] DEBUG skadistats.clarity.event.UsagePoints - provider found on ClassIndex: skadistats.clarity.processor.reader.InputSourceProcessor
20:37:26.813 [main] DEBUG skadistats.clarity.event.UsagePoints - provider found on ClassIndex: skadistats.clarity.processor.entities.Entities
20:37:26.819 [main] DEBUG skadistats.clarity.event.UsagePoints - provider found on ClassIndex: skadistats.clarity.processor.sendtables.DTClasses
20:37:26.819 [main] DEBUG skadistats.clarity.
map.put('"', "&quot;");
map.put('\'', "&#39;");
map.put('&', "&amp;");
map.put('<', "&lt;");
map.put('>', "&gt;");
map.put('\u00A0', "&nbsp;");
map.put('\u00A1', "&iexcl;");
map.put('\u00A2', "&cent;");
map.put('\u00A3', "&pound;");
map.put('\u00A4', "&curren;");
package name.dflemstr.vessel.docker;
import com.google.common.collect.Queues;
import com.google.common.io.ByteStreams;
import com.google.common.io.Closer;
import java.io.Closeable;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
package name.dflemstr.vessel.docker;
import java.io.InputStream;
import java.net.URI;
import java.util.List;
import java.util.Map;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
@dflemstr
dflemstr / fibonacci.hs
Created October 18, 2013 12:08
Fast fibonacci algorithm
module Main (main) where
import System.Environment (getArgs)
-- | Matrix multiplication
(×) :: Num a => (a, a, a, a) -> (a, a, a, a) -> (a, a, a, a)
(a11, a12, a21, a22) × (b11, b12, b21, b22) =
(a11 * b11 + a12 * b21, a11 * b12 + a12 * b22,
a21 * b11 + a22 * b21, a21 * b12 + a22 * b22)