17 private links
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
Speedbar is an Emacs Lisp program which allows you to create a special skinny frame with a specialized directory listing in it. This listing will have both directories and filtered files in it. You can then load files into your emacs frame, or expand the files to display all the tags that are in them and jump to those tags. You can also expand multiple directories into your speedbar frame.
Using Shift with the mouse is considered a "power click" which will ignore any cached data that might be related to the navigation desired. When loading a file, a power click will pull that file into a new frame.
For PC users with two button mice, a button1 double click acts as the mouse-2 click most emacs users are familiar with.
Additional keyboard commands are available for friendly file IO functions such as Rename/Copy/Delete, Loading lisp files, and compiling lisp files.
speedbar-multi-2.jpg
Different Modes for Speedbar
Speedbar is more than just file browsing, however. Speedbar is a generalized browser. Speedbar supports:
- multiple tagging methods for files (such as etags, imenu, and semantic)
- multiple major display modes (such as buffer lists, project lists, and EIEIO class browsing,)
- multiple minor display modes that appear when you view special files, such as Info pages, or read mail with RMAIL.
When you upgrade to a new major version of Perl, the XS modules have to be rebuilt :
$ cpanm --reinstall Broken::Module
When you upgrade to a new major version of Perl, the XS modules have to be rebuilt :
$ cpanm --reinstall Broken::Module
Sometimes, the content of your trash cannot be emptied by your regular user.
Bought it! Iḿ very happy of this keyboard that suits all my needs.