This is a small tool designed to emulate the Sublime style Command Palette as follows.
It requires the use of a specific extension to load the js file from this gist.
I'm using the APC extension, and the usage is as follows.
This is a small tool designed to emulate the Sublime style Command Palette as follows.
It requires the use of a specific extension to load the js file from this gist.
I'm using the APC extension, and the usage is as follows.
| # THIS IS THE PANE LAYOUT CREATED | |
| # pane numbers are relative to the end of the actions | |
| # _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| # | pane 0 | pane 1 | | |
| # | | | | |
| # | |- - - - - - - - | | |
| # | | pane 2 | | |
| # | | | | |
| # | |- - - - - - - - | | |
| # | | pane 3 | |
| #!/bin/bash | |
| # Launch Dired in a plain Emacs configuration. | |
| # Arguments are passed to Emacs, e.g. "-nw" works as expected. | |
| emacs -q "$@" \ | |
| --eval "(dired default-directory)" \ | |
| --eval "(defun kill-window-or-emacs () (interactive) (if (one-window-p) (kill-emacs) (delete-window)))" \ | |
| --eval "(setq dired-dwim-target t delete-by-moving-to-trash t)" \ |
This is a collection of the tweaks and modification I've made to my Arch Linux installation over the months. These may be applicable to other distros, but please check first before doing anything. I also included Arch Wiki references for all the procedures I mentioned. My recommendation is not to blindly follow this gist but to always check with the Arch Linux wiki first. Things move fast and by the time you're reading this my gist may be out of date. Lastly, the golden rule: never execute a command you don't understand.
My current DE of choice is KDE's Plasma. I find it just about perfect.
There are various ways to install it on Arch. The most popular one is to install plasma and plasma-applications, but I don't like doing that because it comes with too many programs I'll never use. I, instead, install the base plasma group, remove the few extra packages that come with it, then I finish off by installing a few KDE apps that don't come with th
| #!/usr/bin/env bash | |
| # minimizes the currently focused window | |
| current_window=$(xdotool getactivewindow) && \ | |
| echo $current_window >> ~/.minim && \ | |
| xdotool windowunmap $current_window |
| #!/bin/bash | |
| if [ "${1}" == "-d" ]; then | |
| ARCHIVE="--download-archive ${2}" | |
| shift | |
| shift | |
| fi | |
| youtube-dl \ | |
| ${ARCHIVE} \ |
| # use ImageMagick convert | |
| # the order is important. the density argument applies to input.pdf and resize and rotate to output.pdf | |
| convert -density 90 input.pdf -rotate 0.5 -attenuate 0.2 +noise Multiplicative -colorspace Gray output.pdf |
Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.
Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.
Check the gist's comments for any further tips and instructions, especially if you are running into problems!
Results after following the guide as of 11.01.2017 13:08:
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents