I don't maintain this now, sorry
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
$ cd ~/source | |
$ ftp http://developer.kde.org/~wheeler/files/src/taglib-1.7.1.tar.gz | |
$ tar -zxvf taglib-1.7.1.tar.gz | |
$ rm -r taglib-1.7.1.tar.gz | |
$ cd taglib-1.7.1 | |
$ cmake -DCMAKE_BUILD_TYPE=Release \ | |
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.6 \ | |
-DCMAKE_OSX_ARCHITECTURES="i386;x86_64" \ | |
-DENABLE_STATIC=ON \ |
# Create a directory | |
mkdir ~/tmux-install | |
cd ~/tmux-install | |
# Get the files | |
curl -OL http://downloads.sourceforge.net/tmux/tmux-1.5.tar.gz | |
curl -OL http://downloads.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.16-stable.tar.gz | |
# Extract them | |
tar xzf tmux-1.5.tar.gz |
So, I recently switched jobs and moved from SAP to Logic Soft Pvt. Ltd. We here @ Logic Soft build applications on the windows platform. Which makes it absolutely necessary for me to have a windows laptop.
Today, The Dell Inspiron 15 5000 series (5547) that I ordered came in. Really nice piece of hardware. This document entails my journey in setting up a decently functional development environment
// C# | Sorted list, and iterating through them | |
int value = 1; | |
SortedList<string, int> sl = new SortedList<string, int>(); | |
sl.add("key", value) | |
foreach(KeyValuePair<string,int> kv in sl) | |
{ | |
Console.WriteLine(kv.Key + "=>" + kv.Value); | |
} |
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important
or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?
This is where any fun you might have been having ends. Now it’s time to get serious and talk about rules.
Writing CSS is hard. Even if you know all the intricacies of position and float and overflow and z-index, it’s easy to end up with spaghetti code where you need inline styles, !important rules, unused cruft, and general confusion. This guide provides some architecture for writing CSS so it stays clean and ma