15 Feb'15
For the last couple of weeks I met quite a few people who were praising PHP and I had an idea to have a brief look at
it once again after more than 4-year break.
I decided to push a sample application to Heroku by following their tutorial but that turned out to be nontrivial on
my Ubuntu 14.04LTS. Below I’ll give a brief list of commands that …
Continue reading →
16 Aug'14
You can use these tools to get the information for your old Canon camera. Per platform:
I haven’t found a similar tool for Linux, but you might still be happy to find out that you can [run Linux](http://www.magiclantern.fm/forum/index.php?topic=14847.0) on newer camera versions that have an ARM onboard …
Continue reading →
15 Aug'14
23 Apr'14
I recently started to remotely log into several servers quite often so I felt a need to maintain reliable connections to them and I considered a few choices:
As the beginner, I decided to stick to the easiest option - screen. It comes preinstalled on many server and many administrators install them alongside vim, emacs and git.
I decided to use this blog post for two purposes …
Continue reading →
21 Apr'14
UPD: My approach was partly successful, because Google Drive still decided to resync all my files after I successfully moved the root folder. If you have any idea what I could’ve missed, you’re welcome to leave a comment below.
Let’s describe what we aim to do: we have Google Drive on our computer in a synced state, but we want to move the whole Google Drive folder …
Continue reading →
13 Jan'14
This is a great year, I hope! So in order to make it great, we need to put some efforts to make it bright.
To strive, to seek, to find, and not to yield
- Alfred Tennyson
I have few resolutions for the new year, but nothing earth-shaking:
- healthy rythm
- productive workflow
- more books, less talks
- less artificial, more real (people, meal, entertainment)
- only grow, always move forward
In order to …
Continue reading →
25 Dec'13
I migrated from Wordpress to Pelican few month ago and so far I was satisfied with it, mainly because my demands to the blogging platform are far lower than one might imagine. But as atrue engineer, I always strive to eliminate any duplication in code or in actions.
For this reason I’ve created one more Fabric function that creates a draft for me, properly setting the date and slug …
Continue reading →
03 Oct'13
I enjoy using pelican so for so much. However, few issues hit my mind recently:
- Medium is such a nice place to write that I can merely resist my temptation;
- There is no ability to run person search across the static website;
- I’m tied to UNIX environment in order to run the Pelican development server for preview.
I recalled a great quote:
Once you say you’re going to …
Continue reading →
10 Aug'13
TODO:
- add verbose mode
- move awk output into variable and test if file already begins with a date
#!/bin/sh
for f in $(find ./content/ -name '*.rst'); do
name=$(basename "$f")
dd=$(dirname "$f")
d="$dd/$(cat "$f" | grep ':date:' | awk '{print $2}')-$name"
if [ ! -f "$d" ]; then
mv "$f" "$d"
else
echo "File '$d' already exists! Skiped '$f'"
fi
done
Continue reading →
14 Jun'13
Over years, I used Git a lot but I can hardly name myself a proficient git user. More or less it can be due to lack of learning discipline. I never learned Git specifically.
Recently I started to notice that most of the problems I’m trying to resolve were successfully resolved before. And it’s a good fit for my blogging ‘deep dive into linux’ topic to write a …
Continue reading →