Download this gist, and then run:
chmod 755 open_files_limit_mac.sh
./open_files_limit_mac.sh
Restart the system, and then run:
| (require 'subr-x) | |
| (require 'projectile) | |
| (defvar ivy--switch-buffer-name-max-length 40) | |
| (defvar ivy--switch-buffer-mode-max-length 18) | |
| (defvar ivy--switch-buffer-project-max-length 15) | |
| (defvar ivy--switch-buffer-delimiter "") | |
| (defun ivy--switch-buffer-pad (str len) | |
| (concat str (make-string (- len (length str)) ? ))) |
Download this gist, and then run:
chmod 755 open_files_limit_mac.sh
./open_files_limit_mac.sh
Restart the system, and then run:
| (require 'cl) | |
| (require 'ivy) | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;; General-purpose formatting functions | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| (defun ivy--cands-get-details (format_spec cand_info_fns entries) | |
| "Extract symbols from FORMAT_SPEC, and evaluate the | |
| corresponding function found in CAND_INFO_FNS for all ENTRIES. | |
| For example: | |
| (setq my_format_spec '(make-upper-case |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using MoonSharp.Interpreter; | |
| using MoonSharp.Interpreter.Interop; | |
| namespace Playground | |
| { |
| using UnityEngine; | |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| /// <summary> | |
| /// Extending MonoBehaviour to add some extra functionality | |
| /// Exception handling from: http://twistedoakstudios.com/blog/Post83_coroutines-more-than-you-want-to-know | |
| /// | |
| /// 2013 Tim Tregubov |
| # Builds a ZLib framework for the iPhone and the iPhone Simulator. | |
| # Creates a set of universal libraries that can be used on an iPhone and in the | |
| # iPhone simulator. Then creates a pseudo-framework to make using libz in Xcode | |
| # less painful. | |
| # | |
| # To configure the script, define: | |
| # IPHONE_SDKVERSION: iPhone SDK version (e.g. 8.1) | |
| # | |
| # Then go get the source tar.bz of the libz you want to build, shove it in the | |
| # same directory as this script, and run "./libz.sh". Grab a cuppa. And voila. |
This font is manually patched with Fontforge. It includes the glyphs from DejaVu Sans Mono for Powerline.
I recommend DirectWrite-patched VIM builds. I'm using KaoriYa's build (http://www.kaoriya.net/software/vim/)
Add the following lines to your .vimrc/_vimrc:
| #!/bin/bash | |
| # | |
| # Author: Sameer Naik <[email protected]> | |
| # Gist: https://gist.github.com/sameersbn/dd24dfdd13bc472d11a5 | |
| # Short Url (raw): http://goo.gl/iJcvCP | |
| # | |
| # Installs a bunch of plugins for the docker-redmine image | |
| # | |
| # Usage: | |
| # $ mkdir -p /opt/redmine/data/plugins |
| from gevent import monkey | |
| monkey.patch_socket() | |
| import logging | |
| import gevent | |
| from gevent.queue import Queue | |
| import pymysql as db | |
| logging.basicConfig(level=logging.DEBUG) | |
| LOGGER = logging.getLogger("connection_pool") |