start new:
tmux
start new with session name:
tmux new -s myname
| ;; Copyright (c) James Reeves. All rights reserved. | |
| ;; The use and distribution terms for this software are covered by the Eclipse | |
| ;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which | |
| ;; can be found in the file epl-v10.html at the root of this distribution. By | |
| ;; using this software in any fashion, you are agreeing to be bound by the | |
| ;; terms of this license. You must not remove this notice, or any other, from | |
| ;; this software. | |
| (ns compojure.server.jetty | |
| "Clojure interface to start an embedded Jetty server." |
My Thinkpad T400s kept shutting down when it was busy doing CPU intensive work. It turns out that the fan did not speed up to a high enough level to cool down the CPU, and I’d find messages in /var/log/messages stating that the CPU was dangerously hot.
The first thing I did was to make it possible to manually control the fan speed. In order for this to work, the thinkpad_acpi kernel module needs to be loaded with a specific parameter. This can be
| module.exports = function (grunt) { | |
| grunt.loadNpmTasks('grunt-shell'); | |
| grunt.loadNpmTasks('grunt-express-server'); | |
| grunt.loadNpmTasks('grunt-contrib-watch'); | |
| grunt.loadNpmTasks('grunt-contrib-copy'); | |
| grunt.loadNpmTasks('grunt-text-replace'); | |
| grunt.loadNpmTasks('grunt-contrib-clean'); | |
| grunt.loadNpmTasks('grunt-contrib-uglify'); | |
| grunt.loadNpmTasks('grunt-open'); |
| (require 'mine-jabber) | |
| ;; Username & nickname fields from https://banno.hipchat.com/account/xmpp | |
| (setq hipchat-username "") | |
| (setq hipchat-nickname "") | |
| (setq hipchat-password "") | |
| (setq hipchat-autojoin-rooms | |
| '("aggregation" "assets" "banno_talk" "banno_cms" "data_services" "emacs" "grip" "kernel" "southen" "troll_talk" "webdev" "design_talk")) |
| /** | |
| * Annotated Gruntfile. | |
| * This builds a Backbone/Marionette application using Dust.js (Linkedin fork) as a | |
| * templating system, as well as some helpers from Foundation, with Browserify. | |
| * It also configures a watcher and static server with live reload. | |
| */ | |
| module.exports = function (grunt) { | |
| // This automatically loads grunt tasks from node_modules | |
| require("load-grunt-tasks")(grunt); |
| # Ruby is our language as asciidoctor is a ruby gem. | |
| lang: ruby | |
| before_install: | |
| - sudo apt-get install pandoc | |
| - gem install asciidoctor | |
| script: | |
| - make | |
| after_success: | |
| - .travis/push.sh | |
| env: |
Instructions are modified from emacs-w64 Wiki page by zklhp. Many thanks for sharing!
Download the latest MSYS2 from this download page.
Install MSYS2 to, for example, C:\msys2 (make sure no space in path to avoid unwanted problems).
Optionally prettify the MSYS2 console mintty with ~/.minttyrc to make it more pleasing to eyes. Thanks to this awesome theme!