First set up your keyboard layout. For example, in Spanish:
# loadkeys es
For a list of all acceptable keymaps:
# localectl list-keymaps
<?php | |
// half-hearted CSS minification | |
$css = preg_replace( | |
array('/\s*(\w)\s*{\s*/','/\s*(\S*:)(\s*)([^;]*)(\s|\n)*;(\n|\s)*/','/\n/','/\s*}\s*/'), | |
array('$1{ ','$1$3;',"",'} '), | |
file_get_contents('linked.css') | |
); | |
// embed as a data: uri | |
$base64css = rtrim(strtr(base64_encode($css), '+/', '-_'), '='); |
{-# LANGUAGE StandaloneDeriving, DeriveFunctor, GeneralizedNewtypeDeriving #-} | |
{-# LANGUAGE LambdaCase #-} | |
-------------------------------------------------------------------------------- | |
-- Module : XMonad.Actions.ConditionalBindings | |
-- Description : A framework for producing conditional key bindings. | |
-- Copyright : (c) 2018 L. S. Leary | |
-- License : BSD3-style (see LICENSE) | |
-- | |
-- Maintainer : L. S. Leary |
You want to use a live wallpaper in x11? | |
Great!!...but It come as a cost. | |
I did experiment with .gif backend and non hardware accelerate backend, It sucks. | |
CPU usage was so high (40% up just for idle), unacceptable for my laptop. | |
Running with those backend for such a really long time will slowly turn your laptop into the hot potato. | |
But don't be upset, we can reduce those cost. | |
Using the video player with hardware video decoding support can reduce the cost. |
timedatectl set-ntp true | |
timedatectl set-timezone Europe/Bucharest | |
fdisk /dev/sda | |
######################################## | |
n 1G pentru /boot /dev/sda1 | |
a - Flag it as bootable | |
n - 4G pentru swap /dev/sda3 | |
n - 70G pentru / /dev/sda2 |
You can use these on the inspector's console, or save them as bookmarks by turning them into a oneliner and writing javascript:
before the code.
document.body.innerHTML = "";
document.head.innerHTML = "";
<?xml version="1.0" encoding="Windows-1252" ?> | |
<!-- | |
Style Name: Deep Black | |
Description: Based on the theme Port VibrantInk by tyler | |
File name: Deep Black.xml | |
Created by: Mariusz Kasperkiewicz | |
Personalized by: Santiago González | |
Featured language: SQL, C, C++, Pascal, Php, Css, JavaScript, Html, XML, others? | |
Note: Feel free to modify this style and re-release it. This style is available under the terms of the GNU Free License. |