usually
launchctl setenv PATH <newpath>
should work. But due to some bug in newer versions of OSX (10.11 or higher) it doesn't. For these versions of OSX
sudo launchctl config user path <new path>
works.
(defun load-if-exists (file) "load a file if it exists" | |
(if (file-exists-p file) (load-file file) ())) | |
(load-if-exists "~/.emacs.d/ProofGeneral/generic/proof-site.el") | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(coq-double-hit-enable t) |
Require Import Coq.Logic.JMeq. | |
Definition JMeq_eq := forall (A : Type) (x y : A), JMeq x y -> x = y. | |
Section Eq_Facts. | |
Variable A : Type. | |
Definition K := forall (x : A) (P : x = x -> Prop), P eq_refl -> forall (eq : x = x), P eq. | |
Definition URIP := forall (x : A) (eq : x = x), eq = eq_refl. |
Set Universe Polymorphism. | |
Set Printing Universes. | |
Record X : Type := | |
{ | |
A : Type; | |
x : A | |
}. | |
Definition untt := {|A := unit; x := tt|}. |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/amin/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="agnoster" | |
# Uncomment the following line to use case-sensitive completion. |
usually
launchctl setenv PATH <newpath>
should work. But due to some bug in newer versions of OSX (10.11 or higher) it doesn't. For these versions of OSX
sudo launchctl config user path <new path>
works.
cat file.pdf | ssh username@ssh-host 'lp -d destination -' |
For some reason OSX lacks fonts to show latin subscript fonts. The machine you are viewing this document on has this issue if you cannot view the following string properly (it should consist of two characters representing subscript t, and l letters): "ₜₗ".
To fix, download and install the quivira font
, symbola font
, and open-sauce-one
.
Require Import Coq.Program.Tactics. | |
(* Require Import Ornamental.Ornaments. *) | |
(* Set DEVOID lift type. *) | |
Parameter A : Type. | |
Parameter B : Type. | |
Parameter f : A -> B. | |
Parameter g : B -> A. |
From Coq.Unicode Require Import Utf8. | |
From Coq.Program Require Import Tactics. | |
Record Tomega := { | |
yes : nat → Prop; | |
no : nat → Prop; | |
disjoint : ∀ n, ¬ (yes n ∧ no n) | |
}. | |
Definition leq (x y : Tomega) := |
From Coq.Classes Require Import RelationClasses Morphisms. | |
From Coq.Setoids Require Import Setoid. | |
Inductive Ens : Type := | |
ens_intro : forall A : Type, (A -> Ens) -> Ens. | |
Definition idx (A : Ens) : Type := match A with ens_intro T _ => T end. | |
Definition elem (A : Ens) (i : idx A) : Ens := | |
match A as u return idx u -> Ens with ens_intro B f => fun j => f j end i. |