17 private links
You can customize nXML mode so that / automatically inserts the rest of the end-tag when it occurs after ‘<’, by doing
M-x customize-variable RET nxml-slash-auto-complete-flag RET
and then following the instructions in the displayed buffer.
Use split with a regex that matches anything.
my @arr = split //, "abcd";
A meta-search engine
A very useful list off all the Emacs functions and variables accessible from the web or you mobile. It is also possible to access to this from Emacs itself by invoking describe-function
or describe-variable
.
Are you looking for an alternative DNS provider that is open and democratic, are you concerned about censorship?
$ dig whoami.akamai.net +short
A few months ago Magnar Sveen released Stasis. A minimalistic Clojure library for generating static pages. I tried it out and decided, hey, this is pretty cool, I can use this, and probably also learn a bit of Clojure in the process (been doing Clojure on and off for the last year or so.)
It's taken some time, I've been pretty busy lately and have only been able to put in a few hours in the evenings now and then - but, it's ready! Or at least ready enough to crank out a few initial pages. There's still lots to do, but, release early and iterate I guess :)
The code is over at Github if you're interested: Bløggr-clj.
clojure static blog engine
http://eikeland.se
Some Clojure functions for creating static websites.
An extensible static site generator written in Clojure.
Static is a simple static site generator written in Clojure.
misaki is Jekyll inspired static site generator in Clojure.
A blog written in Clojure using Compojure.
http://briancarper.net
Using manjaro-settings-manager-gui, I managed to upgrade my kernel and fix that stupid "8 minutes boot time".
Want to see what's inside a variable in a complete, colored and human-friendly way?
use Data::Printer; # or just "use DDP" for short
p @array; # no need to pass references
Code above might output something like this (with colors!):
[
[0] "a",
[1] "b",
[2] undef,
[3] "c",
]
You can also inspect objects:
my $obj = SomeClass->new;
p($obj);
Which might give you something like:
\ SomeClass {
Parents Moose::Object
Linear @ISA SomeClass, Moose::Object
public methods (3) : bar, foo, meta
private methods (0)
internals: {
_something => 42,
}
}
So while in a dired buffer
C-u s
you can now change switches used by ls. Add h do get a human readable file sizes
You can add other switches too, for example I changed it to -alsh and it now sorts by file size
Also see cutomize-mode and edit "Dired Listing Switches" to -alh
Take a look at App::module::version
$ module-version
The version of App::module::version in /home/yourself/perl5/lib/perl5 is 1.004
How to achieve to remove rectangles on a region in the same way than in Sublime Text using emacs...
Here's a example of how to use it.
..............
..1xxx..oooo..
..xxxx..oooo..
..xxxx..oooo..
..xxxx..oooo..
..xxxx..oooo..
..xxxx..oooo..
..xxxx..oooo..
..xxxx..oooo..
..xxxx..oooo..
..xxx2..oooo..
..............
* Put your cursor before the “1”
* call set-mark-command 【Ctrl+Space】
* move cursor to end of “2”
* call kill-rectangle (Ctrl+x r k) or replace-rectangle (Ctrl+x r t)
To remove the line and print the output to standard out:
sed '/pattern to match/d' ./infile
To directly modify the file (with GNU sed):
sed -i '/pattern to match/d' ./infile