progfu

- friends
318 link karma
53 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • One-Year Club

    Verified Email

Git Coding Guidelines by progfuin git

[–]progfu[S] 0 points1 point ago

afaik, Github also uses the master is always deployable mentality, since they're deploying all the time.

The dev branch can help if you're not deploying all the time, because otherwise you would have to either use tags, or use a production branch.

I also find this approach a little safer when there are multiple people merging into dev, but merge into master might need an additional code review by another person. But again, this is just one of many ways, I'm not saying this is the best and only way.

Stim or Combat Shield in 2v2 situation by cdxlivin starcraft

[–]progfu 0 points1 point ago

Getting to masters in 2v2 is just too easy ... I've been top50 since season 2 and even though I almost never play anymore, I still manage to keep quite good win/loss ratio.

Can anyone explain Zerg to me? by Gramatikin starcraft

[–]progfu 2 points3 points ago

Zerg can easily take a third if he's in control of the game flow. If your opponent is constantly bashing on you, it's better to make a macro hatch, but if you're the one who's setting the pace, then a third is usually not hard to defend.

You can’t change the history - the story of Git by progfuin git

[–]progfu[S] -1 points0 points ago

If you really just need to go back one commit, you can just use HEAD~

git reset --hard HEAD~

You can’t change the history - the story of Git by progfuin git

[–]progfu[S] 4 points5 points ago

That's ture, but reflog is saved for 30 days, which means all commits should stay referenced for that period and not get cleaned up.

GM Analysis - HERO vs INORI: Harassment Focused Play in PvP by Athlorelin starcraft

[–]progfu 1 point2 points ago

Before I read this article, PvP was the most boring thing I could imagine ... and it still is :P

The Pry Ecosystem by yorickpetersein ruby

[–]progfu 2 points3 points ago

This is so awesome. I've been using Pry all the time ever since I discovered it about two weeks ago and it's been amazing.

These features just make it even more awesome, great job guys!

My first impression of /r/fffffffuuuuuuuuuuuu by bonathain fffffffuuuuuuuuuuuu

[–]progfu 0 points1 point ago

Oh yea that was my first impression too.

Why am I never using PrestaShop again, ever! by progfuin programming

[–]progfu[S] 1 point2 points ago

It's not just based on one method, all of the controllers look like this, that's the problem. I just showed one of the examples.

Beautiful math handwriting recognition in javascript by ubershmekelin programming

[–]progfu 0 points1 point ago

me gusta

VIM - From Total Noob To Less-Than-Total-Noob by Athlorelin programming

[–]progfu 1 point2 points ago

When you're in a non-emacs, non-vim context where you need to use arrow keys you're like WHAT THE FUCK IS THIS SHIT?

Oh yea that happens to me every single time ... even in Sublime I sometimes find myself pressing wwwww to move forward ...

The story of TextMate, VIM and SublimeText by progfuin programming

[–]progfu[S] 5 points6 points ago

By your definition everything that is proprietary is wrong and security risk ...

The story of TextMate, VIM and SublimeText by progfuin programming

[–]progfu[S] 1 point2 points ago

Windows ... that's the thing with Visual Studio where are the colors are bright blue and bright red, right?

The story of TextMate, VIM and SublimeText by progfuin programming

[–]progfu[S] 0 points1 point ago

non modal editors really suck

So I guess emacs sucks as well then?

diB <ctrl>t vt=p

diB - cmd + shift + space

skip back to last file - either cmd + number to switch tab, cmd W to close current and go back to last one, or thousand other possibilities

vt=p - the only thing that is different here is `t=` which Sublime probably doesn't have by default, but it wouldn't be that hard to add a hotkey for it, such as `cmd + T + =` ... replace with previously deleted text just means using cut instead of copy

... problem solved with basically the same amount of keystrokes.

The story of TextMate, VIM and SublimeText by progfuin programming

[–]progfu[S] 2 points3 points ago

That's one advantage you can't take away from VIM, it's everywhere. But it is also a huge advantage of Sublime over TextMate, because it works on Windows and Linux too.

view more: next