Notices


Reply
Thread Tools
Posts: 25 | Thanked: 11 times | Joined on Mar 2014
#1
Hi, I've just found this great terminal app for correcting mistakes in terminal, when you mess up something, just write "f u c k" (without spaces) and it will correct your previous command. Here are few examples:
➜ apt-get install vim
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

➜ f u c k
sudo apt-get install vim
[sudo] password for nvbn:
Reading package lists... Done
...


➜ git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use

git push --set-upstream origin master


➜ f u c k
git push --set-upstream origin master
Counting objects: 9, done.


➜ puthon
No command 'puthon' found, did you mean:
Command 'python' from package 'python-minimal' (main)
Command 'python' from package 'python3' (main)
zsh: command not found: puthon

➜ f u c k
python
Python 3.4.2 (default, Oct 8 2014, 13:08:17)
...
I would love to see this on Maemo and MeeGo, but I don't know how to port it and make suitable .deb files... Please, can somebody do it from sources?

https://github.com/nvbn/thef u c k (without spaces)
 

The Following 2 Users Say Thank You to Mir57 For This Useful Post:
coderus's Avatar
Posts: 6,068 | Thanked: 11,244 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#2
just get pip to your device and install this app with it.
__________________
Twitter | Openrepos | GitHub | PayPal.Me
 

The Following 2 Users Say Thank You to coderus For This Useful Post:
Posts: 25 | Thanked: 11 times | Joined on Mar 2014
#3
apt-get install pip
didn't work for me... I have downloads.maemo.nokia.com and both extras/extras-devel repos enabled.
 

The Following User Says Thank You to Mir57 For This Useful Post:
coderus's Avatar
Posts: 6,068 | Thanked: 11,244 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#4
install it manually from official site.
__________________
Twitter | Openrepos | GitHub | PayPal.Me
 

The Following 2 Users Say Thank You to coderus For This Useful Post:
endsormeans's Avatar
Posts: 2,013 | Thanked: 4,651 times | Joined on Feb 2013 @ Supa Natural Vancouver Island
#5
Can't ...resist...the ...temptation....
making......me...talk..."Kirk-esque-ian"...
arghhh!!!..

I'm curious...
So what category would this technically be under ...
"Getting" ..or ..."Giving" a f u c k ?

heheeheeheheheeeetoomuchheheheeheeheheehahahahaaha haa
__________________
Lurker since 2007, Member since 2013, Certifiable since 1972
Owner of : 1-n770 (in retirement),
3-n800's,
3-n810's,
5-n900's
-3 flawless
-1 loose usb (i don't muck with it & stress it , considering selling it, another can fix the loose usb)
-1 no telephony (perfect for permanent set-up as mini-pc with one of my monitors)
half a neo900 pre- "bought"....due for production any day now.


PIMP MY N8X0
Everything you need tightly explained in layman's terms ..in an easy to understand format.. and a video walkthrough to boot.
http://talk.maemo.org/showthread.php?t=94294
THE LOST GRONMAYER CATALOGS
http://talk.maemo.org/showthread.php...ight=gronmayer
N8X0 VIDEO ENCODING THE EASY WAY
http://talk.maemo.org/showthread.php...ght=mediacoder
242gb ON N800
http://talk.maemo.org/showthread.php?t=90634

THE PAIN-FREE MAEMO DEVELOPMENT LIVE DISTRO-ISO FOR THE NOOB TO THE PRO
http://talk.maemo.org/showthread.php?t=95567

AFFORDABLE MASS PRODUCTION FOR MAEMO PARTS
http://talk.maemo.org/showthread.php?t=93325
 

The Following 3 Users Say Thank You to endsormeans For This Useful Post:
Posts: 25 | Thanked: 11 times | Joined on Mar 2014
#6
So i downloaded get-pip.py, but it tells SyntaxError: invalid syntax. And .deb package of python-pip for Maemo/MeeGo is nowhere...
 

The Following User Says Thank You to Mir57 For This Useful Post:
coderus's Avatar
Posts: 6,068 | Thanked: 11,244 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#7
sorry, i only have Jolla now and i installed pip from scratch on it and this topic application works fine
__________________
Twitter | Openrepos | GitHub | PayPal.Me
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 646 | Thanked: 1,126 times | Joined on Jul 2010 @ Espoo, Finland
#8
What does it do if you previously try to call it and mistyped its name?
 
Reply

Tags
maemo, meego, porting, source, terminal

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:45.