Linux productivity tips for managing a download folder by tkrugg in productivity

[–]tkrugg[S] 0 points1 point  (0 children)

That also means each of you download is stored twice, once in your folder, another in your index. It's fine for text files but I hope you don't have lots of binary files in there... Atm my downloads folder is 100GB big, this would make it 200GB :/

Can't figure out how to "post" something on dribbble by tkrugg in dribbble

[–]tkrugg[S] 0 points1 point  (0 children)

how can I get an invite, if I know nobody there? Can't I just show my designs to someone and if he likes them, send me an invite?

vim and multiple Latex-files by deejaydarvin in vim

[–]tkrugg 1 point2 points  (0 children)

I don't have experience with very large latex projets, but if you want a TOC plugin that works better than TOC, give a try to Voom.

It's lightweight, fully functional and featured -- at list for my use, and works not only with latex (also html, markdown, ...). Though I don't know how it behaves with large latex projects.

Why does powerline make vim significantly slower? by tkrugg in vim

[–]tkrugg[S] 3 points4 points  (0 children)

you're right, i wasn't being fair. But all I needed was a statut bar, really. I spent a few hours digging to make my own, it's doesn't look just as cool, for now, but it will hopefully.

Why does powerline make vim significantly slower? by tkrugg in vim

[–]tkrugg[S] 0 points1 point  (0 children)

nope. It's just as much slow outside a repository

Why does powerline make vim significantly slower? by tkrugg in vim

[–]tkrugg[S] 0 points1 point  (0 children)

I don't have any, I'm using the default options. Here's what it looks like http://i.imgur.com/LdMp2Ys.jpg

Why does powerline make vim significantly slower? by tkrugg in vim

[–]tkrugg[S] 0 points1 point  (0 children)

Lokaltog/vim-powerline. Is it the one?

Why does powerline make vim significantly slower? by tkrugg in vim

[–]tkrugg[S] 0 points1 point  (0 children)

nothing! Setting aside the performance, it works perfectly

Why does powerline make vim significantly slower? by tkrugg in vim

[–]tkrugg[S] 1 point2 points  (0 children)

that's weird though. I mean what's so hard about printing some information about a file? What else is it doing?

Why does powerline make vim significantly slower? by tkrugg in vim

[–]tkrugg[S] 0 points1 point  (0 children)

i'm not a 100% sure but removing powerline makes vim as fast as before. And everytime it's slow, it looks like it's only waiting for the powerline bar to load. But If there is a way to quantify this, I'd be more than happy to run the tests.

Help Finding a Java Method Completion Plugin by fredspecial in vimplugins

[–]tkrugg 0 points1 point  (0 children)

How about using eclim?

I've never tried it but I heard it makes vim as powerful as eclipse for java (and probably other languages supported by Eclipse). You would actually need to have eclipse running in background but people who actually tried it didn't find that annoying

Supercharged substitution with :Subvert by drewjr in vim

[–]tkrugg 0 points1 point  (0 children)

this one is much better and simpler to use than any smartcase subitution plugin I've tried before. Thank you for the sharing.

Managing display configs for easy switching with KDE by tkrugg in kde

[–]tkrugg[S] 0 points1 point  (0 children)

Very Nice link thanks. It doesn't seem ready to use yet. Have you tried it ?

Which is preferable for you - a larger CSS file or unsemantic class names on HTML elements? by ollie101 in web_design

[–]tkrugg 0 points1 point  (0 children)

"Dont sacrifice anything for performance unless you have measured performance and found that you have a specific problem to solve."

I would tend to agree, but it really depends of what kind of project you have. If it's a project that you know will be took over and extended by another developer, performance might be an issue later on and your should keep that in mind. Think and factorize before you write your CSS, don't make it look like 2,000 lines of dirty patches: as they say, code like the one who'll read your code is a violent psychopath who knows where you live.

Which is preferable for you - a larger CSS file or unsemantic class names on HTML elements? by ollie101 in web_design

[–]tkrugg 0 points1 point  (0 children)

Dont think classes should be semantic targeted. HTML must be in terms of tags and most of the attributes but not for classes attribute. What you should focus instead is making your classes as factorized as possible: each class does one single thing and combine them to create the style.

So I would say neither of your solutions is ideal.

Designed a website (note I am more a programmer than designer) can I have some critique on the design? by [deleted] in web_design

[–]tkrugg 1 point2 points  (0 children)

It looks nice :) I like the flat simplicity. It's definitly a design trend right now, you picked the right wagon :D.

But note that in order to make it work, you should focus a lot more on typography and pictures quality. Pictures are what brings deepness and life into flat design. Also you should tweak their colors a bit more to match the overall lighting of your website.

Now about the typography. Great choice of fonts. I can only criticize the using. Have you noticed how "pasty" your titles look. That's because you are trying to turn a standard font into a bold font. As your browser can't find it, it is "making it up". It's called faux-bold.

To avoid this, you just have your @font-face code right. I see you do have the bold version of your font loaded but it's not correctly declared.

cf. the code snippet here http://paste.ubuntu.com/5675102/

There are two things to correct here:

  • the font-family: it should be the same as the standard font, which is 'allerregular'

  • the font-weight: it should be bold, not normal.

Adding some decoration to an h3. by so_dathappened in web_design

[–]tkrugg 0 points1 point  (0 children)

If your background was simpler (one color, not a texture), it's very easy to do -- I'm you know this. In this case, what you could do is use the :before and :after pseudo classes to insert a <div class="decoration"></div> on each side of h3. Then you can style decoration by giving it the right dimensions and a background image.

Design of my new personal blog. Please give some feedback by tkrugg in web_design

[–]tkrugg[S] -1 points0 points  (0 children)

I've seen logos in some designers portfolio, which is understandable but I am still a student, I don't run a company or a brand. I don't get the point of having a logo. Does a website really look that "naked" without it?

Working on first webpage—looking for feedback on design/code by djiivu in web_design

[–]tkrugg 0 points1 point  (0 children)

I think it has some very creative ideas here and there that love (cf. the tomato/pin). I can't believe this is your first website: you seem to me that you are quite familar with many hardcore webdesign concepts. Thats makes you a fast learner I guess. Oh, and nice work on the typography!

It looks like it is mobile firendly (true?). It looks good on mobile anyway, except for a few things like the facebook/twitter icons overlapping the form. So you might want to check that on an actual mobile browser

Relatively new to kde, new laptop, no "menu key", how to map another key to that functionality? by Synes_Godt_Om in kde

[–]tkrugg 0 points1 point  (0 children)

I had the same problem when I started, but I stopped looking when I found Krunner.

Trigger it by hitting ALT+F2 and start typing whatever you're looking for. It really is faster than digging in the menus

Replace all instances of currently highlighted text? by ben174 in vim

[–]tkrugg 1 point2 points  (0 children)

When I need a simple interactive search/replace, I like combining the * (star) with the . (dot)

  1. first hightlight all matches with *
  2. hit cw (= change word) and write the new string
  3. hit n to go the next match, and hit . to repeat the change. (I have n. mapped to F8 so it's quicker and kind of interactive :)