Skip to content

Instantly share code, notes, and snippets.

Kazuo Teramoto kazuoteramoto

Block or report user

Report or block kazuoteramoto

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 caml__frame_undeclared.patch
diff -Naur orpie-1.5.2.orig/gsl/mlgsl_error.c orpie-1.5.2/gsl/mlgsl_error.c
--- orpie-1.5.2.orig/gsl/mlgsl_error.c 2017-07-09 19:33:38.170798414 -0300
+++ orpie-1.5.2/gsl/mlgsl_error.c 2017-07-09 19:38:27.188607250 -0300
@@ -34,6 +34,7 @@
static void ml_gsl_raise_exn(const char *msg, int gsl_errno)
{
+ CAMLparam0();
CAMLlocal2(exn_msg, exn_arg);
exn_msg = copy_string(msg);
View Makefile_in.patch
From 2786156365c5e415980ad9de44d07515a6d51390 Mon Sep 17 00:00:00 2001
From: Michael Blakeley <mike@blakeley.com>
Date: Sun, 25 Sep 2016 13:30:49 -0700
Subject: [PATCH] Makefile.in: add gsl/gsl_math.cmo gsl/gsl_sf.cmo to GSL_CMO
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
View associated_legendre.patch
diff -Naur orpie-1.5.2.orig/gsl/gsl_sf.ml orpie-1.5.2/gsl/gsl_sf.ml
--- orpie-1.5.2.orig/gsl/gsl_sf.ml 2017-07-09 19:33:38.174131826 -0300
+++ orpie-1.5.2/gsl/gsl_sf.ml 2017-07-09 19:34:15.951693502 -0300
@@ -1142,34 +1142,6 @@
-(* Associated LEGENDRE functions *)
-external legendre_Plm : int -> int -> float -> float
- = "ml_gsl_sf_legendre_Plm"
View ellint_d_sf3.patch
diff -Naur orpie-1.5.2.orig/gsl/mlgsl_sf.c orpie-1.5.2/gsl/mlgsl_sf.c
--- orpie-1.5.2.orig/gsl/mlgsl_sf.c 2017-07-09 19:33:38.174131826 -0300
+++ orpie-1.5.2/gsl/mlgsl_sf.c 2017-07-09 19:37:44.361377346 -0300
@@ -258,7 +258,7 @@
SF3(ellint_F, Double_val, Double_val, GSL_MODE_val)
SF3(ellint_E, Double_val, Double_val, GSL_MODE_val)
SF4(ellint_P, Double_val, Double_val, Double_val, GSL_MODE_val)
-SF4(ellint_D, Double_val, Double_val, Double_val, GSL_MODE_val)
+SF3(ellint_D, Double_val, Double_val, GSL_MODE_val)
SF3(ellint_RC, Double_val, Double_val, GSL_MODE_val)
View PKGBUILD
# Contributor: Kazuo Teramoto <kaz.rag gmail com>
# Contributor: scj <scj archlinux us>
# Contributor: tracer <jcdenton513 gmail com>
# Maintainer: aksr <aksr at t-com dot me>
pkgname=orpie
pkgver=1.5.2
pkgrel=11
epoch=
pkgdesc="https://github.com/pelzlpj/orpie"
arch=('i686' 'x86_64')
View gist:c0730bb27d0fb8dc6332
--- SystemUI/res/layout-sw600dp-v13/navigation_bar.xml.orig 2015-12-21 18:51:42.467629339 -0200
+++ SystemUI/res/layout-sw600dp-v13/navigation_bar.xml 2015-12-21 18:51:30.164009627 -0200
@@ -4,15 +4,15 @@
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<FrameLayout android:id="@id/rot0" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/nav_buttons" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="true">
- <View android:visibility="invisible" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_weight="0.0" android:layout_marginStart="1.0dip" />
+ <View android:visibility="invisible" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_weight="0.0" android:layout_marginStart="48.0dip" />
View 0001-Add-support-for-build-options.patch
From e5969b50e6570b5d8dd188be067b3085a99d484e Mon Sep 17 00:00:00 2001
From: Kazuo Teramoto <kaz.rag@gmail.com>
Date: Wed, 28 Oct 2015 21:30:10 -0200
Subject: [PATCH] Add support for build options
This make easier to customize what is included in the packages.
---
PKGBUILD | 44 +++++++++++++++++++++++++-------------------
1 file changed, 25 insertions(+), 19 deletions(-)
View keyboard.asy
texpreamble("
\usepackage{fontspec}
\newfontfamily{\ru}[Script=Cyrillic, Language=Russian]{Myriad Pro}
\newfontfamily{\ja}[Script=Kana, Language=Japanese]{Kozuka Gothic Pr6N}
\newfontfamily{\fa}[Script=Arabic, Language=Persian]{Traditional Arabic}
");
pair papersize = (8.5inch, 11inch);
draw(scale(papersize.x,papersize.y)*unitsquare, invisible+0);
View gist:3183288
diff --git a/alot/buffers.py b/alot/buffers.py
index 866e149..51ef49b 100644
--- a/alot/buffers.py
+++ b/alot/buffers.py
@@ -2,6 +2,7 @@
# This file is released under the GNU GPL, version 3 or a later revision.
# For further details see the COPYING file
import urwid
+import os
from notmuch import NotmuchError
View gist:1535217
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python2...(no debugging symbols found)...done.
You can’t perform that action at this time.