8 files changed, 54 insertions(+), 168 deletions(-)
D content/notes/installing-mono-3-on-debian/contents.lr
R content/notes/{notes-on-asus-zenbook-ux303la-2014/contents.lr => on-hardware/asus-zenbook-ux303la/contents.lr}
A content/notes/on-hardware/contents.lr
R content/notes/{notes-on-lg-q-stylus/contents.lr => on-hardware/lg-q-stylus/contents.lr}
A content/notes/postgres/contents.lr
R content/notes/{postgres-debian/contents.lr => postgres/on-debian/contents.lr}
R content/notes/{pg-win/contents.lr => postgres/on-windows/contents.lr}
M templates/macros/post.html
D content/notes/installing-mono-3-on-debian/contents.lr => content/notes/installing-mono-3-on-debian/contents.lr +0 -148
@@ 1,148 0,0 @@
-title: Installing Mono 3 on Debian
----
-body:
-
-This is an installation log of Mono 3.0 on CrunchBang. Credit goes to <a href="http://stackoverflow.com/a/13424880">this answer</a> on StackOverflow. Getting root access to install and configure Mono
-<pre>
-(21) [07:29:48] sudo -s
-</pre>
-Checking if apache2 is installed
-<pre>
-root@crunchbang:/home/ab# dpkg -s apache2
-</pre>
-Install apache2
-<pre>
-root@crunchbang:/home/ab# apt-get install apache2
-</pre>
-Install tools for compiling mono (I only needed to install <code>libtool</code>, <code>libglib2.0-dev</code> and <code>libpng12-dev</code>)
-<pre>
-root@crunchbang:/home/ab# apt-get install autoconf automake libtool g++ gettext libglib2.0-dev libpng12-dev libfontconfig1-dev
-root@crunchbang:/home/ab# apt-get install mono-gmcs
-</pre>
-Install apache2-threaded-dev (needed for compiling mod_mono)*
-<pre>
-root@crunchbang:/home/ab# apt-get install apache2-threaded-dev
-</pre>
-Making the structure we need for getting the source code
-<pre>
-root@crunchbang:/home/ab# cd /opt/
-</pre>
-Create a directory mono-3.0 where we work with all the retrieved sourced code
-<pre>
-root@crunchbang:/opt# mkdir mono-3.0
-</pre>
-Move into that new folder before getting the source code
-<pre>
-root@crunchbang:/home/ab# cd /opt/mono-3.0
-</pre>
-Getting the source code from GitHub
-<pre>
-root@crunchbang:/opt# git clone git://github.com/mono/mono.git
-Cloning into 'mono'...
-remote: Counting objects: 904685, done.
-remote: Compressing objects: 100% (147357/147357), done.
-remote: Total 904685 (delta 761438), reused 897024 (delta 754456)
-Receiving objects: 100% (904685/904685), 189.94 MiB | 330 KiB/s, done.
-Resolving deltas: 100% (761438/761438), done.
-Checking out files: 100% (44735/44735), done.
-root@crunchbang:/opt# git clone git://github.com/mono/xsp.git
-Cloning into 'xsp'...
-remote: Counting objects: 7096, done.
-remote: Compressing objects: 100% (1929/1929), done.
-remote: Total 7096 (delta 5317), reused 6813 (delta 5095)
-Receiving objects: 100% (7096/7096), 1.54 MiB | 249 KiB/s, done.
-Resolving deltas: 100% (5317/5317), done.
-root@crunchbang:/opt# git clone git://github.com/mono/libgdiplus.git
-Cloning into 'libgdiplus'...
-remote: Counting objects: 10524, done.
-remote: Compressing objects: 100% (2512/2512), done.
-remote: Total 10524 (delta 8054), reused 10438 (delta 7996)
-Receiving objects: 100% (10524/10524), 10.09 MiB | 365 KiB/s, done.
-Resolving deltas: 100% (8054/8054), done.
-root@crunchbang:/opt# git clone git://github.com/mono/mod_mono.git
-Cloning into 'mod_mono'...
-remote: Counting objects: 1837, done.
-remote: Compressing objects: 100% (474/474), done.
-remote: Total 1837 (delta 1364), reused 1813 (delta 1347)
-Receiving objects: 100% (1837/1837), 352.56 KiB | 55 KiB/s, done.
-Resolving deltas: 100% (1364/1364), done.
-</pre>
-Compile libgdiplus
-<pre>
-root@crunchbang:/home/ab# cd /opt/mono-3.0/libgdiplus
-root@crunchbang:/home/ab# ./autogen.sh --prefix=/usr
-root@crunchbang:/home/ab# make
-root@crunchbang:/home/ab# make install
-</pre>
-Compile mono
-<pre>
-root@crunchbang:/home/ab# cd /opt/mono-3.0/mono/
-root@crunchbang:/home/ab# make clean
-root@crunchbang:/home/ab# ./autogen.sh --prefix=/usr
-root@crunchbang:/home/ab# make
-root@crunchbang:/home/ab# make install
-</pre>
-Compile xsp
-<pre>
-root@crunchbang:/home/ab# cd /opt/mono-3.0/xsp
-root@crunchbang:/home/ab# ./autogen.sh --prefix=/usr
-root@crunchbang:/home/ab# make
-root@crunchbang:/home/ab# make install
-</pre>
-Compile mod_mono
-<pre>
-root@crunchbang:/home/ab# cd /opt/mono-3.0/mod_mono
-root@crunchbang:/home/ab# ./autogen.sh --prefix=/usr
-root@crunchbang:/home/ab# make
-root@crunchbang:/home/ab# make install
-</pre>
-Configuring apache2. Configure the default site of apache ### (optional)
-<pre>
-root@crunchbang:~# vim /etc/apache2/sites-available/default
-</pre>
-There was no folder created in <code>/var/www</code>. So I created a folder called <code>web1</code>.
-<pre>
-root@crunchbang:~# mkdir -p /var/www/web1
-</pre>
-Configure the rights to YourFolder (optional). Modify the line "DocumentRoot /var/www" by "DocumentRoot /var/www/web1" (YourFolder is the folder where you publishing your website!)
-<pre>
-root@crunchbang:~# vim /etc/apache2/sites-available/default
-root@crunchbang:~# cd /var/www/web1
-root@crunchbang:/var/www/web1# sudo chown -R root:www-data
-chown: missing operand after <code>root:www-data'
-Try</code>chown --help' for more information.
-</pre>
-I missed the <code>.</code> at the end.
-<pre>
-root@crunchbang:/var/www/web1# sudo chown -R root:www-data .
-root@crunchbang:/var/www/web1# sudo chmod -R 774 .
-root@crunchbang:/var/www/web1# sudo usermod -a -G www-data ab
-</pre>
-Adding the mod_mono include in apache2.conf. Add "Include /etc/apache2/mod_mono.conf" at the end of the file (without quotes!).
-<pre>
-root@crunchbang:/var/www/web1# vim /etc/apache2/apache2.conf
-</pre>
-Adding the pointer to ASP .NET 4.0 in mod_mono.conf. Add "MonoServerPath /usr/bin/mod-mono-server4" (without quotes!) under the "If Modules condition".
-<pre>
-root@crunchbang:/var/www/web1# vim /etc/apache2/mod_mono.conf
-root@crunchbang:/var/www/web1# /etc/init.d/apache2 restart
-Restarting web server: apache2 ... waiting ..
-</pre>
-Checking the mono version after installation.
-<pre>
-root@crunchbang:~# mono -V
-Mono JIT compiler version 3.0.10 (master/add2135 Sat Apr 13 21:31:41 IST 2013)
-Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
- TLS: __thread
- SIGSEGV: altstack
- Notifications: epoll
- Architecture: x86
- Disabled: none
- Misc: softdebug
- LLVM: supported, not enabled.
- GC: Included Boehm (with typed GC and Parallel Mark)
-</pre>
----
-tags: dotnet, linux
----
-pub_date: 2013-04-14
R content/notes/notes-on-asus-zenbook-ux303la-2014/contents.lr => content/notes/on-hardware/asus-zenbook-ux303la/contents.lr +13 -11
@@ 1,8 1,10 @@
title: Notes on Asus Zenbook UX303LA 2014
---
+part: 1
+---
body:
-I bought this laptop in Nov 2013 on Amazon.com for $899 to replace my dying Dual Core Dell Vostro. I have flip-flopped between this and T440S, but went for this and do not regret the choice at all. This is a very informal review based on my observations in the first couple of weeks of usage.
+I bought this laptop in Nov 2013 on Amazon.com for $899 to replace my dying Dual Core Dell Vostro. I have flip-flopped between this and T440S, but went for this and do not regret the choice at all. This is an informal review based on my observations in the first couple of weeks of usage.
<p class="active">Update Aug 2015: I regret this purchase. See the <a href="#twist">twist</a> in the tale.</p>
@@ 18,17 20,17 @@ I bought this laptop in Nov 2013 on Amazon.com for $899 to replace my dying Dual
### Main features
-The laptop unit was very comfortable to hold on a single hand and felt as premium as a Macbook Air.
+The laptop unit was comfortable to hold on a single hand and felt as premium as a Macbook Air.
Typing on the keyboard feels natural to me. I am a keyboard person mostly and use the trackpad for speed browsing. The gestures, taps and scrolls feel fairly smooth and integrate well with how I do things. I specifically love the two finger vertical scroll. Clicking the trackpad, however, makes me a bit uncomfortable as I need to put in a slight amount of force into pushing down to register the click. Maybe that's the way it is supposed to be and is normal, but to me, if I think I have lots of clicking to do, I use the optical wireless mouse [Dell WM123](http://amzn.to/2fkfnSj).
-Touchpad, though responsive, felt a bit odd at first, but it grew on me as I used it more. Two and three finger gestures are easy to get accustomed to, but the three finger up-swipe that Asus provided doesn't seem as smooth.
+The touchpad, though responsive, felt a bit odd at first, but it grew on me as I used it more. Two and three finger gestures are easy to get accustomed to, but the three finger up-swipe that Asus provided doesn't seem as smooth.
Display is good enough for me. Though, I noticed that some applications or parts of applications (like menus or alerts) do not scale well. Example, the IIS Express' system tray right-click menu.
Has no flex on the bottom part of the laptop, but has a slight amount on the top part of the screen.
-Windows 8.1 felt very good, after being a long time Windows 7 user.
+Windows 8.1 felt good, after being a long time Windows 7 user.
The bottom never felt hot when running resource hungry applications.
@@ 49,7 51,13 @@ Battery life was decent during the first few weeks I got up to six hours on cont
- Lack of dedicated Home/End/PgDn/PgUp was something I found after I purchased the laptop. These four keys can be accessed with the Fn key and the arrow keys. For a developer's machine, this is not acceptable and surprisingly I was able to adapt to pressing the Fn key.
- Sometimes, on waking up from sleep, I see the login screen for a moment and screen turns off at this point as if going to sleep again. I press spacebar and its back again.
-## Twist
+## Conclusion
+
+**Will the laptop survive 5 years?**
+
+This aspect of buying a laptop has always been a final decider for all the laptops I have almost bought. Honestly, I didn't know that about this Zenbook for sure at the time of the purchase, but I decided to go forth with the purchase. However, after three months of usage, I feel assured for reasons I can't explain well yet. I had my hands on a Macbook Air for the first time in my life just a few months back to test a website on the latest Safari. I was really blown away by its build quality. I could say that this Zenbook is probably quite close to the MBA. To conclude, I feel like the combination of Windows 8.1 and build quality is what makes this a top performer. That being said, I predict it will easily blow through three years of usage. Anything above that, I will consider it as a bonus.
+
+<a name="twist"><h2>Twist</h2></a>
The hinge broke after eight months of usage.
@@ 63,12 71,6 @@ I sent the unit for repair a while after the warranty expired, unfortunately. So
Currently I am using the laptop connected to monitor and plugged in all the time as you would with a mini PC or a standalone CPU.
-## Conclusion
-
-**Will the laptop survive 5 years?**
-
-This aspect of buying a laptop has always been a final decider for all the laptops I have almost bought. Honestly, I didn't know that about this Zenbook for sure at the time of the purchase, but I decided to go forth with the purchase. However, after three months of usage, I feel assured for reasons I can't explain well yet. I had my hands on a Macbook Air for the first time in my life just a few months back to test a website on the latest Safari. I was really blown away by its build quality. I could say that this Zenbook is probably quite close to the MBA. To conclude, I feel like the combination of Windows 8.1 and build quality is what makes this a top performer. That being said, I predict it will easily blow through three years of usage. Anything above that, I will consider it as a bonus.
-
## Conclusion 2
<p class="active">I am never buying another Asus product. I don't recommend Asus Zenbook products at all.
A content/notes/on-hardware/contents.lr => content/notes/on-hardware/contents.lr +13 -0
@@ 0,0 1,13 @@
+title: On hardware
+---
+pub_date: 2023-09-19
+---
+tags:
+---
+toc:
+---
+_discoverable:
+---
+body:
+
+Notes on hardware devices I own.<
\ No newline at end of file
R content/notes/notes-on-lg-q-stylus/contents.lr => content/notes/on-hardware/lg-q-stylus/contents.lr +2 -0
@@ 1,5 1,7 @@
title: Notes on LG Q Stylus+ Android phone
---
+part: 2
+---
metadesc: Notes on LG Q Stylus+ Android phone
---
pub_date: 2019-02-14
A content/notes/postgres/contents.lr => content/notes/postgres/contents.lr +13 -0
@@ 0,0 1,13 @@
+title: Postgres
+---
+pub_date: 2023-09-19
+---
+tags:
+---
+toc:
+---
+_discoverable:
+---
+body:
+
+Postgres stuff<
\ No newline at end of file
R content/notes/postgres-debian/contents.lr => content/notes/postgres/on-debian/contents.lr +3 -1
@@ 1,9 1,11 @@
-title: Postgres Linux notes
+title: pgsql on Debian
---
tags: postgres, linux
---
pub_date: 2012-08-30
---
+part: 1
+---
body:
> This information may be slightly outdated and needs revamp.
R content/notes/pg-win/contents.lr => content/notes/postgres/on-windows/contents.lr +8 -6
@@ 1,4 1,10 @@
-title: Postgres Windows
+title: pgsql on Windows
+---
+pub_date: 2021-10-07
+---
+tags: postgres
+---
+part: 2
---
body:
@@ 46,8 52,4 @@ Notes
Run run 'pg_ctl start' or 'pg_ctl stop' to start and stop the database or
register it as a service by running 'pg_ctl register -N PostgreSQL' from an elevated shell.
Default superuser login: postgres, password: <blank>
-```
----
-pub_date: 2021-10-07
----
-tags: postgres
+```<
\ No newline at end of file
M templates/macros/post.html => templates/macros/post.html +2 -2
@@ 23,9 23,9 @@
{% for child in children %}
<dt>
{%if child.is_undiscoverable%}
- Part {{child.part}} - {{ child.title }}
+ {{child.part}} - {{ child.title }}
{%else%}
- <a href="{{child|url}}">Part {{child.part}} - {{ child.title }}</a>
+ <a href="{{child|url}}">{{child.part}} - {{ child.title }}</a>
{%endif%}
</dt>
{% endfor %}