Python buffers (that aren't tramp remote) will be highlighted by pyflakes and pep8. They have 'questionable' lines highlighted and error lines significantly highlighted. When you move the cursor into that section it should print the error message in the minibuffer; if there are two errors it
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
#!/bin/bash | |
#read from emacs server file what port it is currently listening on | |
PORT=`egrep -o '127.0.0.1:([0-9]*)' ~/.emacs.d/server/server | sed 's/127.0.0.1://'` | |
HOST="${@: -1}" | |
echo "Found host '$HOST'" | |
ssh "$HOST" "mkdir -m 700 -p ~/.emacs.d/server" | |
scp -p ~/.emacs.d/server/server $HOST:.emacs.d/server/server |
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
;;; vcl-mode.el - Syntax highlighting for Varnish Command Language | |
;;; | |
;;; Copyright (c) 2008-2009 Linpro AS | |
;;; All rights reserved. | |
;;; | |
;;; Author: Stig Sandbeck Mathisen <[email protected]> | |
;;; | |
;;; Redistribution and use in source and binary forms, with or without | |
;;; modification, are permitted provided that the following conditions | |
;;; are met: |
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
# automount-swaps scans for any block devices with type swap (as | |
# identified by blkid) and activates them with swapon. | |
# | |
description "Automount swap devices" | |
start on all-swaps #generated by mountall | |
task |
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
(defun um-js-additional-externs () | |
(let ((jshintrc (expand-file-name ".jshintrc" | |
(locate-dominating-file | |
default-directory ".jshintrc")))) | |
(when (file-readable-p jshintrc) | |
(message "Using jshintrc file: %s" jshintrc) | |
(let ((jshintrc-data (json-read-file jshintrc))) | |
(setq js2-additional-externs | |
(union js2-additional-externs | |
(mapcar #'symbol-name |
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
beforeEach(function() { | |
jasmine.addMatchers({ | |
toBeCloseToArray: function(util, customEqualityTesters) { | |
return { | |
compare: function(actual, expected, precision) { | |
if (precision !== 0) { | |
precision = precision || 2; | |
} | |
var i; | |
return { |
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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- | |
Documented at | |
http://linux.die.net/man/5/fonts-conf | |
To check font mapping run the command at terminal | |
$ fc-match 'helvetica Neue' |