This file contains hidden or 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
| ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### | |
| ### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget. | |
| ### You can download all the binaries one-shot by just giving the BASE_URL. | |
| ### Script might be useful if you need Oracle JDK on Amazon EC2 env. | |
| ### Script is updated for every JDK release. | |
| ### Features:- | |
| # 1. Resumes a broken / interrupted [previous] download, if any. | |
| # 2. Renames the file to a proper name with including platform info. |
This file contains hidden or 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
| * IDE Support | |
| * Community Size | |
| * Documentation, Documentation Generators | |
| * FFI (Foreign Function Interface) for C/C++ | |
| * Libraries | |
| * GUI Toolkits | |
| * Multicore and Multitask | |
| * Available Manpower |
This file contains hidden or 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
| ;; Elisp session in REPL IELM | |
| ;; | |
| ;; | |
| ;; | |
| ELISP> (defmacro inc (var) | |
| (list 'setq var (list '1+ var))) | |
| inc | |
| ELISP> (setq x 0) | |
| 0 (#o0, #x0, ?\C-@) |
This file contains hidden or 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
| (require 'cl) | |
| (require 'peg) | |
| (defcustom dbg-mi-process-name "dbg-mi" "") | |
| (defcustom dbg-mi-buffer-name "*dbg-mi*" "") | |
| (defvar dbg-mi-process nil) | |
| (defvar dbg-mi-buffer nil) |
This file contains hidden or 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
| ;;; how to use | |
| ;; (add-hook 'html-mode-hook 'django-kyr-tag-mode) | |
| ;;(util-macro-install "dkt:") | |
| ;;; how to use | |
| ;; (add-hook 'html-mode-hook 'django-kyr-tag-mode) | |
| ;;(util-macro-install "dkt:") | |
| (eval-when-compile (require 'cl)) |
This file contains hidden or 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
| ;; This macro creates new compilation commands | |
| (defmacro ff/add-compilation-command (name &optional key) | |
| (let ((buffer-name (concat "*" name "*")) | |
| (compile-symbol (intern name)) | |
| (recompile-symbol (intern (concat "re" name)))) | |
| (when (fboundp compile-symbol) | |
| (warn "redefining command `%s'" name)) | |
| (when (fboundp recompile-symbol) | |
| (warn "redefining command `re%s'" name)) | |
| `(progn |
This file contains hidden or 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
| (defmacro create-scratch-buffer (name &optional comment body) | |
| "Create a new custom scratch buffer. The name should be a valid major mode name without -mode suffix. | |
| The body should be lambda block or a symbol of function that be invoked after a scratch buffer created. nil is accepted to turn it off." | |
| `(defun ,(intern (concat "scratch-" name)) | |
| () | |
| (interactive) | |
| (let ((bufname (concat "*scratch-" ,name "*"))) | |
| (if (buffer-live-p (get-buffer bufname)) | |
| (switch-to-buffer bufname) | |
| (with-current-buffer (get-buffer-create bufname) |
This file contains hidden or 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
| (defmacro fmt (str) | |
| "Elisp string interpolation. | |
| Example: | |
| (fmt \"My name is #{user-full-name}, I am running Emacs #{(if (display-graphic-p) \\\"with a GUI\\\" \\\"in a terminal\\\".)}\"" | |
| (let ((exprs nil)) | |
| (with-temp-buffer | |
| (insert str) | |
| (goto-char 1) |
This file contains hidden or 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
| ;; -*- Mode: Emacs-Lisp ; Coding: utf-8 -*- | |
| ;; for Emacs 24 | |
| ;;; modes(UI) | |
| (tool-bar-mode -1) | |
| (when (and window-system (>= emacs-major-version 23)) | |
| (set-face-attribute 'default nil | |
| :family "Migu 2M" | |
| :height 160)) |
This file contains hidden or 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
| ;; Scratch | |
| ;; This program helps keep a record of ideas. | |
| ;; Last edit: 2012-07-05 | |
| ;; Every time (scratch) is called a new buffer is opened. Title | |
| ;; is today's date appended before a user inputed title. | |
| ;Needed features | |
| ;* An interactive shell that shows me a list of entries | |
| ; from a certain time period. |