Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: netzfisch/netzfisch.github.io
base: 304ae87014
...
head fork: netzfisch/netzfisch.github.io
compare: d1aa2c7825
  • 3 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
View
4 _posts/2014-02-14-testing-sinatra-helpers-with-rspec.md
@@ -14,12 +14,12 @@ helpers do
end
{% endhighlight %}
-But [**Rspec**][2] keept me sending **NoMethod Errors**:
+But [**Rspec**][3] keept me sending **NoMethod Errors**:
NoMethodError:
undefined method `human_date' for #<Sinatra::Application ...
-Than I learned in the context of the [Padrino][3] framework, that this is a "special" **Sinatra** feature - so called "shorthand helpers". Because above statement is shorthand for:
+Than I learned in the context of the [Padrino][4] framework, that this is a "special" **Sinatra** feature - so called "shorthand helpers". Because above statement is shorthand for:
{% highlight ruby %}
helpers = Module.new do
View
106 _posts/2014-02-16-your-security-options-an-unexcited-approch.md
@@ -0,0 +1,106 @@
+---
+layout: post
+category: linux
+tags: linux security encryption passwords
+title: Your security options - an unexcited approach
+---
+[Jan Krutisch][1] announced on the january [Ruby User Group][2] a security focus for the february event. So I started collecting some of my experiences ... Sadly I didn't made it in time for last week's RUG at [Jimdo][3]. But this way I can sum up some learnings and links.
+
+Security might drive you mad those days, so don't think the way "**I have to secure everything**" but look for a **certain aim you** want to fulfill, e.g.
+
+* I want to secure my files
+* I want to send safe mails
+* I want to browse safely
+* I want to secure my blog
+* ..
+
+because "**security itself is just an abstract construct** and concrete aims will better stick to your brain" (see [MeierOnline][4]'s slides). That way psychology won't stay in your way! Basically you have the following options, which will help to focus you.
+
+# Computer
+
+Let's start with different grades of system security, either **encrypt**
+
+* the **whole system** while installing check the appropriate options or do it [afterwards][5],
+* the [home directory][6] or
+* just add an [encrypted folder][7].
+
+The last is really fast done, e.g. install **EncFS** `$ sudo apt-get install cryptkeeper encfs` and than create with the cryptkeeper GUI an encrypted directory.
+
+For a good overview see also the [Electronic Frontier Foundation's notes][8], which are a bit older but not outdated!
+
+# Network
+
+When logged in public wireless lan use common **VPN Services** or pimp your [FRITZ!Box][9] and observe with [IP Schwein][10] the change!
+
+### Mail
+
+Use [GnuPGP][11] for signing and **encrypting emails**.
+
+### Browser
+
+Install **security extensions** which will help you
+
+* to avoid pixel tracking, use [Ghostery][12] and
+* to encrypt your communications with many major websites, making your browsing more secure, use [HTTPS Everywhere][13].
+
+# Passwords
+
+When I first explained my kids the "idea of passwords" they replied immediately: "Than we use the the string "**key**" as password - as it locks something away!" Oops ...
+
+### Safe Passwords
+
+Just **two simple rules**
+
+* Use erverywhere different passwords, with at least 8 better 10 digits and some unordinary signs.
+* Generate **random passwords** or build sentences to remember self made ones: "**T**his **i**s **m**y **1**st **a**wesome **&** **r**eally **s**afe **P**assword **!**" => "**Tim1a&rsP!**"
+
+Than find yourself a location to
+
+### ... access them from everywhere
+
+Regardless where you are, for sure you will need some **passes**. I like the **cross plattform password manager [KeePassX][14]**, which works on Linux, Mac, Android ([KeePassDroid][15], [Keepass2Android][16]) and is Open Source. But there are many others!
+
+To install the latest greatest with support for the **KeePass2 database format (.kdbx)**, build yourself via the [github repo][17] or get a [debian package][18] from the KeePassX developers team:
+
+ $ sudo add-apt-repository ppa:keepassx/daily
+ $ sudo apt-get update
+ $ sudo apt-get install keepassx
+
+Then "mashup" and put the database file in your trusted home [ownCloud][19] or cloud drive ([Google Drive][20]/[Dropbox][21]) and you're **always on**.
+
+Alternatively - if you don't need any GUI - use [VIM as your Password Manager][22].
+
+# Website Encryption (SSL)
+
+See Ben's introduction to [client side certificates][24] and Jan's blog post "[Going Full Encryption][23]" with the associated [slides][25] - no more to say!
+
+---
+
+Further infos and links on the [February RUG][26] page, over and out!
+
+[1]: http://jan.krutisch.de
+[2]: http://hamburg.onruby.de
+[3]: http://jimdo.com
+[4]: http://meier-online.com/2014/02/risiko-sicherheit-und-menschliche-entscheidungsfindungen/
+[5]: http://wiki.ubuntuusers.de/System_verschl%C3%BCsseln
+[6]: https://help.ubuntu.com/community/EncryptedHome
+[7]: https://help.ubuntu.com/community/FolderEncryption
+[8]: https://www.eff.org/deeplinks/2012/11/privacy-ubuntu-1210-full-disk-encryption
+[9]: http://www.avm.de/de/Service/Service-Portale/Service-Portal/index.php?portal=VPN
+[10]: http://ipschwein.de
+[11]: http://wiki.ubuntuusers.de/GnuPG
+[12]: http://www.ghostery.com/
+[13]: https://www.eff.org/Https-everywhere
+[14]: http://www.keepassx.org/
+[15]: https://play.google.com/store/apps/details?id=com.android.keepass
+[16]: https://play.google.com/store/apps/details?id=keepass2android.keepass2android
+[17]: https://github.com/keepassx/keepassx
+[18]: https://launchpad.net/~keepassx/+archive/daily
+[19]: http://owncloud.org/
+[20]: https://drive.google.com
+[21]: https://www.dropbox.com
+[22]: http://stelfox.net/blog/2013/11/using-vim-as-your-password-manager/
+[23]: https://jan.krutisch.de/en/2014/01/06/going-full-encryption.html
+[24]: http://ben.rexin.at/clientcert-slide/#/
+[25]: https://speakerdeck.com/halfbyte/ssl-deployment-best-practices
+[26]: http://hamburg.onruby.de/events/ruby-usergroup-hamburg-februar-2014
View
12 static/git.md
@@ -48,5 +48,17 @@ Apply changes introduced by the second last and last commit pointed to by master
To get the remote with commits not present in your local branch AND vice versa
in sync do `git rebase origin master`.
+#### email
+
+Extract two topmost commits from the current branch and format them as
+e-mailable patches:
+
+ $ git format-patch -2
+
+Apply a series of patches from a mailbox or a given one, e.g. '0001-use-unicorn-via-procfile'.
+
+ $ git am 0001-use-unicorn-via-procfile
+
+
[1]: http://git-scm.com/docs
[2]: /ruby/2010/01/29/git-basics.html

No commit comments for this range

Something went wrong with that request. Please try again.