Skip to content

Instantly share code, notes, and snippets.

View pmiddend's full-sized avatar

Philipp Middendorf pmiddend

  • DESY
  • 14:21 (UTC +02:00)
View GitHub Profile
@pmiddend
pmiddend / i3-9999.ebuild
Created October 12, 2011 09:17
Updated i3 scm ebuild
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
EGIT_REPO_URI="git://code.stapelberg.de/i3"
EGIT_BRANCH="next"
inherit git multilib
/**
* Copyright (c) 2010-2010 Andrey AndryBlack Kunitsyn
* email:support.andryblack@gmail.com
*
* Report bugs and download new versions at http://code.google.com/p/fontbuilder
*
* This software is distributed under the MIT License.
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
; The workflow is really simple: Open the pdf file with emacs using
; pdf-tools (instructions on that are below). If you see something
; noteworthy, just call M-x org-store-link (I have this set to C-c l),
; then paste it into your "paper-notes.org" file using
; M-x org-insert-link (set to C-c C-l on my machine). The link created
; thusly will contain the pdf file as well as the page number, so when
; you later open your paper-notes.org file and do C-c C-o, the pdf file
; will open at the correct page.
; Installation instructions:
-- Vorbedingungen:
--
-- gameover :: Behavior (Behavior Bool)
-- normalPicture :: Behavior (Behavior Picture)
-- gameoverPicture :: Picture -> Behavior Picture
go <- gameover -- go :: Behavior Bool
goEvent <- Control.FRPNow.Lib.when go -- goEvent :: Event ()
goPic <- snapshot normalPicture goEvent -- goPic :: Event (Behavior Picture)
switch normalPicture (gameoverPicture <$> goPic) -- :: Behavior (Behavior Picture)
-- Vorbedingungen:
--
-- gameover :: Behavior Bool
-- normalPicture :: Behavior (Behavior Picture)
-- gameoverPicture :: Picture -> Behavior Picture
go <- gameover -- go :: Behavior Bool
goEvent <- Control.FRPNow.Lib.when go -- goEvent :: Event ()
normalPic <- normalPicture -- normalPic :: Behavior Picture
goPic <- snapshot normalPic goEvent -- goPic :: Event Picture
switch normalPic (gameoverPicture <$> goPic) -- Behavior Picture
CMake Error at /home/philipp/local/lib/cmake/fcppt/fcppt-config.cmake:1 (include):
include could not find load file:
FcpptExport
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)
CMake Error at /home/philipp/local/lib/cmake/fcppt/fcppt-config.cmake:5 (fcppt_export_init):
Unknown CMake command "fcppt_export_init".
return
fcppt::algorithm::map_concat<file_table>(
result,
[](optional_file_table::value_type const &r)
{
return
fcppt::maybe(
r,
[]() { return file_table{}; },
[](file_table_entry const &e) { return file_table{e}; });
file_table const
read_file_table(
boost::filesystem::path const &p)
{
typedef
std::vector<fcppt::optional<file_table_entry>>
optional_file_table;
boost::filesystem::ifstream file_stream{p};
return
fcol(
fcppt::algorithm::map<std::vector<RowResult>>(
fcppt::algorithm::map<std::vector<std::vector<T>>>(
fcppt::algorithm::map<std::vector<fcppt::container::grid::pos_ref_range<input_grid const>>>(
fcppt::make_int_range<input_size_type>(0,g.size().h()),
[&g](input_size_type const y)
{
return
fcppt::container::grid::make_pos_ref_crange_start_end<input_grid>(