This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" | |
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt | |
> "$RESOURCES_TO_COPY" | |
install_resource() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# mogen.sh | |
# | |
# Created by Jean-Denis Muys on 24/02/11. | |
# Modified by Ryan Rounkles on 15/5/11 to use correct model version and to account for spaces in file paths | |
# Edited by MANIAK_dobrii for mogenerator demo | |
# Updated by Pitomets Yuriy on 22/02/14 to be used in Masjid Timetable project. | |
# Tip: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> grep helm .emacs.d/init.el | |
'(helm-M-x-fuzzy-match t) | |
'(helm-adaptive-history-length 128) | |
'(helm-ag-command-option "--all-text") | |
'(helm-ag-insert-at-point (quote symbol)) | |
'(helm-always-two-windows nil) | |
'(helm-apropos-fuzzy-match t) | |
'(helm-buffer-max-length nil) | |
'(helm-buffers-favorite-modes | |
'(helm-buffers-fuzzy-matching t) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; mac os x style | |
(global-set-key (kbd "s-S") 'write-file) | |
(global-set-key (kbd "s-s") 'save-buffer) | |
(global-set-key (kbd "s-i") 'dired-jump-other-window) | |
(global-set-key (kbd "s-l") 'goto-line) | |
(global-set-key (kbd "s-q") 'save-buffers-kill-emacs) | |
(global-set-key (kbd "s-x") 'kill-region) | |
(global-set-key (kbd "s-c") 'kill-ring-save) | |
(global-set-key (kbd "s-v") 'yank) | |
(global-set-key (kbd "s-a") 'mark-whole-buffer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.zshrc | |
# -*-mode: emacs-lisp; coding: utf-8 -*- | |
# Lines configured by zsh-newuser-install | |
HISTFILE=~/.histfile | |
HISTSIZE=10000 | |
SAVEHIST=8000 | |
bindkey -e | |
# End of lines configured by zsh-newuser-install | |
# The following lines were added by compinstall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Faces | |
(custom-set-faces | |
;; custom-set-faces 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. | |
'(default ((t (:height 120 :family "Inconsolata LGC"))))) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// lets define Applicative Functor for (->)r type (function of function) | |
// tip: similar to Reader monad. | |
infix operator <*> { associativity left precedence 150 } | |
func <*> <A, B, C> (f : A -> B -> C, g : A -> B)(x : A) -> C { | |
return f (x) (g(x)) | |
} | |
infix operator <|> { associativity left precedence 150 } | |
func <|> <A, B, C> (f : A -> B -> C, g : C -> A) -> C -> B -> C { | |
return pure(f) <*> g |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE ExistentialQuantification, LambdaCase #-} | |
{-# LANGUAGE FlexibleInstances, OverlappingInstances #-} | |
--{-# LANGUAGE TemplateHaskell #-} | |
-- | Main entry point to the application. | |
module Main where | |
--import Data.List (permutations) | |
import Control.Monad ( replicateM ) | |
import Data.Data ( dataTypeConstrs |