Skip to content

Instantly share code, notes, and snippets.

David Flemström dflemstr

Block or report user

Report or block dflemstr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:3cd717b968b98f3b8bef34d6ea8df103
View 0001-Make-build-work-with-yay.patch
From b4ac57c946877f8a029c9ccd94b47ad9b1af8541 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Flemstr=C3=B6m?= <>
Date: Fri, 31 Aug 2018 17:40:29 +0200
Subject: [PATCH 1/2] Make build work with yay
PKGBUILD | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
View ephemeral.level
using Slab as org.marble.block.Slab
using Image as org.marble.special.Image
using CheckpointBlock as org.marble.special.CheckpointBlock
using Transformer as org.marble.special.Transformer
using WinBlock as org.marble.special.WinBlock
using PointOrb as org.marble.special.PointOrb
using LifeOrb as org.marble.special.LifeOrb
using Wall as org.marble.block.Wall
using Lantern as org.marble.block.Lantern
* A list of words.
class WordList {
int maxCapacity = 1024;
String[] words;
* Load the words
use std::prelude::v1::*;
extern crate std as std;
extern crate error_chain;
extern crate a;
View 0001-Version-5.6.178-1-use-system-ICU-fix-pkg-config.patch
From 4519d89bc6e5076fb9f84e495674537d0ade0110 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Flemstr=C3=B6m?= <>
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 +++++++++
View gist:9e68ea199b35392e6b15a5697d55cc1b
gn gen --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'
extern crate error_chain;
extern crate quick_error;
quick_error! {
pub enum ForeignA {
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();
View ahgl_msft_ey.dem-report.html
<!DOCTYPE html><html><head><meta charset="UTF-8"/><link href="" rel="stylesheet"></link></head><body><h1>Replay analysis: <em>EY</em> vs <em>MSFT</em></h1><h2>Radiant (EY)</h2>
<th>Player </th>
<th>Dotabuff </th>
<th>Hero </th>
You can’t perform that action at this time.