Soulless (Parasol Protectorate, #1)
Review:Fun. Like Jane Austen but with more werewolf penis-grabbing. |
Review:Fun. Like Jane Austen but with more werewolf penis-grabbing. |
As of 1 minute ago, Nikola github master's "install_theme" command pulls themes from http://themes.nikola.ralsina.me
So, suddenly, instead of 2 themes for download, you have ~65 (although of course, most of them are bootswatch variations in 2 themes, jinja-default looks exactly like default, and orphan is useless ;-)
And you can contribute themes now!
How?
Give me a pull request at https://github.com/getnikola/nikola-themes
All you have to do is add your theme in themes/ and pull request.
Send me a zip of your theme and I'll do it.
Contributing themes will take a while because the theme has to be examined for malicious code in the templates, but I will process them, slowly but surely. If you have sent me a theme in the past and I have not done it, I am terribly sorry and hope you can find it in you to try one more time :-)
The themes site itself is not exactly awesome, but it is functional, and you can get themes from there too, and see demo sites for each theme, and even look at autogenerated screenshots (which sadly don't show webfonts)
Review:Worthy closure for a great trilogy. It makes the bleakness of the second book meaningful, and, like the first two, it just feels real. |
For a long time it has pissed me off the number of things I have to plug into my notebook when I use it on my desktop. After putting some thought into it, I have reduced it to two cables to plug everything I want.
How is it setup?
Yes, you need a large one. I got a 7-port Belkin powered USB Hub, because the ASUS Zenbook has only two USB ports.
I got two power adapters, one is permanently on the desktop, so that I can throw the cable down the back and not have it cross in front. The other lives in my backpack, so I don't have to crawl under the desk to plug/unplug it.
A 2.1 speaker set. These speakers have a volume wheel, which is nice, and they are rather loud, even if I know they are not all that good, they are good enough for me.
To avoid plugging them into the notebook, they are plugged into a bluetooth audio adapter (the white dongle in the USB Hub) which I got out of dx.com for cheap.
I also have a Bluetooth headset (charging in the image), which I can use for phonecalls, hangouts, etc without being tied to the computer.
The combined keyboard/trackpad shown, by Logitech, works with a tiny dongle that's plugged in the hub, so when I plug the hub it "just works", no pairing needed.
It's not really all that much better than the Zenbook's keyboard, but:
Having the pad on the right means I don't brush it while typing
Having it in the shelf with the Zenbook on the table makes for better ergonomics.
This is actually a wired network. There is a USB/Ethernet adapter plugged in the hub. That lets me use the high priority port in my router. Plus I don't lose the adapter.
I can charge up to 4 devices. The headset has a weird cable, so it's plugged to the hub. When not charging, it drops behind the table.
The red extensible cables, I got from dx.com (they are, very cheap) and they are awesome.
They retract, so when not in use they don't tangle.
They are both mini and micro USB cables, because the head has both connectors. They were also 30-pin old iPhone cables, but I didn't need that, so I removed the connectors.
Since the hub is powered, I can charge all the devices even when the notebook is not there.
I still have the right-side USB port free, so I can plug random things there, like the golden 200x USB microscope shown in the image, or a USB plasma ball.
Nothing very strange, but I think I achieved a very clean setup, where I can plug my notebook into all the peripherals in 10 seconds and turn it into a "desktop" with a minimum of annoyance.
I had this issue open in the bug tracker for Nikola (my static site generator) for a long time: "Add mincss support".
Well, no, it doesn't have it yet, but I did some research on whether it would be worth adding. And boy, mincss impressed the heck out of me.
You see, Nikola's themes tend to use unadultered bootstrap, which means they carry a large number of things that are not used in their CSS. Besides, it uses several stylesheets from docutils, pygments, and more.
What mincss does is examine your HTML and your CSS, and remove all the unused CSS. So, I wrote a script that examines the Nikola output and overwrites the CSS files with the minimal things that are actually needed there.
And the result?
Here is the before/after for each CSS file in Nikola's demo site:
bootstrap-responsive.min.css 16849 3251 bootstrap.min.css 106059 14737 code.css 3670 2114 colorbox.css 6457 774 rst.css 6559 2581 theme.css 1287 1061 ----------------------------------------- 140881 24518
But wait, Nikola supports bundling all those files into a single large CSS file to avoid network requests (using webassets). Does it work in that case too?
Well yes:
all-nocdn.css 167457 29496
But that is not all. The mincss files are not minified. Passing all-nocdn.css through Yui-compressor shrinks it further to 20599 bytes. Which, gzipped, is a paltry 4801 bytes. That means the complete styling of the whole site is a single CSS file less than 5KB in size.
That, is impressive.