I am lazy. I don’t remember when it began, but to the great frustration of my mother, it has yet to end. Luckily though, there are many tools available for the lazy software engineer, some of which I’d like to share today in this post.
Too lazy to type?
I like saving key strokes. Why type when you can...not type? There are a couple of bash tricks I learned from Carlos and Jesse that I really like:
- cd - cd to last visited directory. Everybody knows about cd ~, but this is at least as useful. Instead of taking you home, cd - takes you to the last directory you visited.
Example use case:
cd /path/to/logs
tail log1 | cut -f 3 | sort
tail log2 | cut -f 5 | sort
…
cd -
vim
2. ctrl + r: Reverse search bash history. Here at Adku, we run A LOT of map reduces. Most of the time, we’re calling the same few commands. ctrl + r lets us run, forget, and then run again later.
Example use case:
fab some_map_reduce_job:arg1=’ahhhh’,arg2=’wahhhhh’
cd ../
touch ‘asdf’
…
ctrl + r
fab
fab some_map_reduce_job:arg1=’ahhhh’,arg2=’wahhhhh’
3. !n:x-y Recall arguments x-y from the last nth command. This is another command that is a great help when running map reduces with complicated argument lists. Though, it is a lot more complicated than the other commands mentioned here, and worth reading about separately. True to the theme of this post, I redirect you to: http://www.catonmat.net/blog/the-definitive-guide-to-bash-command-line-history/ for a great resource on this, and will stick to giving a few simple examples.
Example use case(s):
>echo “foobar”
foobar
>echo “moocow”
moocow
>!-2
foobar
>!-2
moocow
--------
cat foo > impossible_to_remember_filename_akj3kj2437fvaj
nano !:3
--------
port install haskell-platform
##oh no, permission failure##
sudo !!
---------
>echo “hi” && echo “why”
hi
>!!:0-1
hi
>!-2:2-$
why
Too lazy to go to work?
Being too lazy to go to work is, of course, never a problem for me. But theoretically, I could see the following scenario occur.
1. While at work, start a ssh tunnel between your work computer and a gateway server. (For details on how we do this, checkout: http://blog.adku.com/2011/06/working-remotely.html)
2. Go home, relax.
3. Start a ssh session to your work server.
4. Start tmux
5. never go to work again.
With the exception of 4 (and 5?), this is probably a familiar process. But here’s the beauty of four:
connection closed by remote host.
Never again.
To quote the tmux man page:
Each session is persistent and will survive accidental disconnection (such as ssh(1) connection timeout) or intentional detaching (with the `C-b d' key strokes).
Aside from never losing your work due to connection problems, Tmux also makes it easy to start a job at work, go home, and continue monitoring that job remotely, or vice versa.
For example:
I start a tmux session at start tailing a random log at work:
To remember this session, I name it by typing
ctrl + b + : rename_session “foo”
Then I go home.
At home, I ssh into my work computer and type
and everything just works!
In addition to creating and naming sessions, tmux makes it easy to create and name panes within sessions. I often find myself running many jobs of the same type, which I like to organize into named panes within a single session.
The panes I have open are called “mo”, “meeny”, and “eeny”. In each screen I am running a different map reduce job. By naming the panes, I’ll remember exactly what I was running in each pane wherever I go.
Basic panel usage:
create | ctrl + b c |
delete | ctrl + b x |
rename | ctrl + b , |
navigate to previous panel | ctrl + b p |
nagivate to next panel | ctrl + b n |
navigate to panel # | ctrl + b # |
Too lazy to...continue?
Type even less:
ReplyDeletealias -='cd -'
alias ..='cd ..'
The effectiveness of IEEE Project Domains depends very much on the situation in which they are applied. In order to further improve IEEE Final Year Project Domains practices we need to explicitly describe and utilise our knowledge about software domains of software engineering Final Year Project Domains for CSE technologies. This paper suggests a modelling formalism for supporting systematic reuse of software engineering technologies during planning of software projects and improvement programmes in Final Year Project Centers in Chennai.
DeleteSoftware management seeks for decision support to identify technologies like JavaScript that meet best the goals and characteristics of a software project or improvement programme. JavaScript Training in Chennai Accessible experiences and repositories that effectively guide that technology selection are still lacking.
Aim of technology domain analysis is to describe the class of context situations (e.g., kinds of JavaScript software projects) in which a software engineering technology JavaScript Training in Chennai can be applied successfully
alias ,,='cd ../..'
ReplyDelete#3 HOLY CRAP!
ReplyDeletelouis vuitton
ReplyDeletelouis vuitton handbags
louis vuitton outlet
christian louboutin sale
kobe bryant shoes
true religion outlet
ray ban sunglasses
michael kors outlet clearance
louis vuitton handbags
toms
louis vuitton outlet stores
cheap oakleys
michael kors handbags
louis vuitton
michael kors outlet
adidas nmd
gucci outlet
michael kors outlet
coach outlet online
louis vuitton
true religion shorts
louis vuitton outlet
air max 90
jordan 8
celine outlet
coach outlet online
nike air max 90
ray ban outlet
michael kors handbags
nike air force 1
christian louboutin outlet
louis vuitton handbags
coach outlet
replica watches for sale
adidas shoes
coach outlet store online clearances
christian louboutin
marc jacobs
christian louboutin outlet
true religion outlet
2016.7.9haungqin
louis vuitton outlet
ReplyDeletelouis vuitton
nike trainers
michael kors outlet
cincinnati bengals jerseys
cheap jordan shoes
louis vuitton
adidas shoes
adidas yeezy 350
timberland outlet
nike air max 90
pandora jewelry
michael kors canada
coach factory outlet
ugg sale
kobe 10 shoes
michael kors outlet
authentic louis vuitton handbags
kate spade handbags
ugg outlet
louis vuitton
jordan retro 3
canada goose pas cher
coach outlet
uggs outlet
ralph lauren
jordan 6
juicy couture
pittsburgh steelers jerseys
chenyingying2016815
Gracias por compartir sus ideas con nosotros. Friv Games Gry Friv gracias por la detallada información. Juegos Friv Gry Friv Friv Gracias por vuestras reacciones a las transmisiones que os han hecho. Friv Games Juegos Friv Acogemos con agrado los comentarios de los lectores.
ReplyDeleteI enjoyed over read your blog post. Your blog have nice information, I got good ideas from this amazing blog. I am always searching like this type blog post. I hope I will see again..
ReplyDeletestarfall | brainpop
This is a great blog. Thanks for mentioning.
ReplyDeleteI am also very happy to be able to show some of my work. Hope you will also visit and learn my websiteFriv.com
ReplyDeleteThis is a great blog. Thanks for mentioning.
I am also very happy to be able to show some of my work. Hope you will also visit and learn my website
Happy Wheels
I admire the person who wrote this post, you are so talented, hope you will promote them and become more successful. I do not feel sorry for taking the time to read this post, it is really nice and useful to me, thanks for posting it.
ReplyDeleteJogo para menino, cá koi mini, friv at school 2019, friv Games for kids online
تريد الحصول عليه ونحن نقدم هذه الخدمات بأسعار Sibah ومن خلال فريق مدرب حتى تكون شركة التنظيف في الدمام هي اختيار أفضل العملاء لتنظيف المنازل والقصور والفيلات ، والتي تشمل تنظيف الواجهات الزجاجية وحمامات السباحة والسقوف وكذلك جميع الغرف مثل كغرف معيشة وغرف نوم كما نقدم خدمات تنظيف السجاد وتنظيف المفروشات والأرائك وكل ما تحتاجه معنا.
ReplyDeleteشركة النجوم لخدمات التنظيف
شركة تنظيف فلل بالطائف
شركة تنظيف مجالس بالطائف
شركة نقل عفش بالطائف
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking.
ReplyDeletewww.gumawawebsite.blogspot.com/2019/04/is-it-worth-it-to-buy-old-domain.html
Norton.com/Setup is best antivirus available in the market. If you want to protect your system online or locally from any unforeseen events Norton.com/Setup is is a must have software in your PC or Mac.
ReplyDeleteMcAfee.com/Activate Since the world is developing each day with new computerized advances, digital dangers, malware, information, and harming diseases have additionally turned out to be increasingly more progressed with every day. These digital contamination's harm a gadget or documents in different ways. McAfee.com/Activate follows the concept of refine your system, you don’t need to worry about data loss or system failure because of the malfunctions. McAfee.com/Activate works finely on every system including android and ios and supports device like, computer, laptops, mobile phones and tablets.
ReplyDeleteInstall your office.com/Setup by downloading now. Microsoft Office applications are a complete package if multiple integrations like Microsoft Office, Microsoft Power Point, Microsoft Excel etc. All of these programs have their own features and speciality and are used in a lot of industries, small organizations and big organizations.
ReplyDeleteHi, I Emily Johnson and I am a technical advisor and the technical blogger. I love writing and reading to spread some of the best information to the people. If you are looking for the antivirus services for your gadget like your PC, Mobile phone etc. So you can Click below to the given links. I am sure all these links are very useful for you.
ReplyDeleteClick here:
norton.com/setup|norton.com/setup|norton.com/setup
https://coolmathgames.com
ReplyDeleteAs mentioned before due to the increased access of the internet, the advanced technological graphics used simply make games very addictive.
https://coolmathgamesz.com
Thanks for sharing such a nice Blog.I like it.
ReplyDeleteavast contact number
McAfee support phone number
norton contact number
AVG Antivirus phone number
yahoo mail customer support phone number
microsoft office 365 support
mozilla firefox tech support phone number
microsoft edge customer service
Thanks for sharing such a nice Blog.I like it.
ReplyDeletemicrosoft office 365 support
The Best Internet Security Solution by Norton Antivirus Security
ReplyDeletehp printer setup
ReplyDeletecannot connect to norton server
https://www.themehorse.com/support-forum/users/wildagjones/
ReplyDeletehttps://www.dotafire.com/profile/wilda123-96639
https://myapnea.org/members/Wilda123/posts
http://www.empirisoft.com/support/member.php/51984-Wilda123
https://www.feedsfloor.com/profile/wilda-jones
Contact 1800customerservicesnumber to get solutions related to mcafee.com/activate issues or by directly visiting on
ReplyDeletewww.mcafee.com/activate or You can just call on +1-888-526-0222 For technical help or any concerned query related to McAfee Product or service , activation
.You can find easiest solutions to the issues online or offline both .Our Mcafee Antivirus Support Service
is 24/7 available to help you.
شركة اجهزة تسرب الغاز شركة رخام صناعي للمطابخ شركة رخام صناعي بالرياض شركة سواتر بالرياض شركة ديكورات جبس بالرياض شركة تركيب قرميد بالرياض
ReplyDeleteشركة نقل اثاث بجدة شركة نقل اثاث بالرياض شركة نقل اثاث بالرياض شركة تخزين اثاث بالرياض
شركة صيانة الغسالات الاتوماتيك صيانة ثلاجات ال جي شركة صيانة فريزرات بالرياض
ReplyDeleteشركة صيانة افران الغاز شركة صيانة جليم غاز شركة صيانة افران غاز بجدة صيانة مكيفات بالرياض
atnd
ReplyDeletefishsniffer
studytonight
farmsandstuff
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeletegroup buy seo tools
ReplyDeleteseo group buy
group seo tools
group seo tools buy
best seo group buy tools
group buy seo tools india
best group buy seo tools
best seo tools group buy
seo group buy india
lbp6230dw wireless setup
ReplyDeletebrother wireless printer setup
canon lbp6230dw driver
canon ip110 setup
Awesome information, thanks for sharing.
ReplyDeleteibm | cornell | 500px | theverge | mathworks
Are you in search for Legit Biology Assignment Help? Find a firm that offers Custom Biology Essay Writing Services and Cheap Biology Paper Writing Services.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThe best way to locate safe and enjoyable online games now is to access them through social networking websites. The most popular games on Facebook are well known, but there are various other games which you can get through smaller social networking sites that are every bit as fun. Five of those games are presented here. Watch them up and enjoy! Cooler Math GamesCool Math GamesCool Math Games
ReplyDeleteCool Math Games
Cool Math Games Unblocked Bloons Tower Defense
Cool Math Games
Browser Kingdom
This game designates all players as the Lord of the own country. The goal is to go head-to-head with other Lords so as to benefit their particular country. This is a strategic game that includes fighting and some strategic thinking to push a nation ahead.
According to a report, about half of the internet users are victimized through cybercrime, and there are more than 25,000 dangerous websites on the Internet that can help them.
ReplyDeletewebroot.com/safe is known worldwide for the services that it provides to solve the queries of its customers.
Ask Me Rating help empower consumers by offering crowd-sourced methods to react to these changes and give everyone the benefit of the best information possible
Online criminology assignment help services are very common nowadays since there are very many students seeking criminology assignment writing services and criminology essay writing services.
ReplyDeleteYou have written such a interesting blog.it is worth of reading.keep updating and sharing with us
ReplyDeleteDigit me
Zen Watson
I never used all the features of MyGarmin Express. But still I can say that this is the best app I have ever used. Garmin Nuvi comes with some refined features. Check out Garmin Nuvi or call +1-888-309-0939 for instant help from Garmin GPS experts.
ReplyDeleteVisit the website https://www.garminnuvimapupdate.com/mygarmin-express.php
This comment has been removed by the author.
ReplyDeleteThanks for sharing it is important for me. I also searched for that from here. Visit our site AVG contacteren
ReplyDeleteشركة تنظيف فلل بعنيزة
ReplyDeleteشركة تنظيف خزانات بعنيزة
شركة رش مبيدات بعنيزة
شركة تسليك مجاري بعنيزة
شركة عزل أسطح بعنيزة
Intresting blogs Site must Visit:-
thomsonj1947.wixsite.com
thomsonj1947.blogspot.com
jackthomson1.doodlekit
thomsonj1947.simplesite.com
thomsonj1947.jigsy.com
officesetuplive.sitey.me
thomsonj1947.bravesites.com
Aivivu chuyên vé máy bay, tham khảo
ReplyDeletekinh nghiệm mua vé máy bay đi Mỹ giá rẻ
ve may bay tu my ve viet nam
Vé máy bay từ Nhật Bản về Việt Nam
giá vé máy bay từ Vancouver về việt nam
Your Verizon Email Not performing on MacBook? Do you want to know How To Fix Verizon Email Not Performing On MacBook? Don’t worry! Our Email Expert 247 team will be help you. They will provide troubleshoot of Verizon Email Not performing on MacBook. You just call on Email Expert 24*7 customer care toll-free number and visit our official website.
ReplyDeleteThis is a very nice one and gives in-depth information. I am really happy with the quality and presentation of the article. I’d really like to appreciate the efforts you get with writing this post. Thanks for sharing.
ReplyDeleteJava Training in Chennai
Plan for Jio tower installation 2022 - Apply Now For Jio Tower | Apply Reliance Jio Tower Installation Online | Jio tower installation monthly rent | Reliance Jio Tower Installation Apply Online and Contact Number 2022 | Jio tower installation customer care number and contact number | Reliance Jio Tower Installation Process Steps To Install | Jio Tower Complaint Helpline Number - Jio Tower Helpline Number | Jio tower installation apply online 2021 & jio advance amount
ReplyDeleteThank you very much for publishing this of article, I like your article very much. Your post is very informative and helpful. Best Software Company in Bangladesh
ReplyDeleteYour post was really good. I like it very much. I like your blog site a lot. So thank you so much for sharing this important topic with us. Hope to share more good posts with us in future. diploma in engineering
ReplyDeleteVery nice blog site. Your blog site is very informative and learnable. I think men can be learn in this blog site. Thank you so much for sharing this post with us. Thank's a lot bro, You can visit our site , web development company in Bangladesh
ReplyDeleteinappropriate fantasy football team names
ReplyDeleteFantasy Football Team Names
Airtel tower installation and complain office
ReplyDeleteRegistration open for Airtel mobile tower installation 2022
How to Bharti airtel tower installation apply online?
Airtel tower rent per month (Rural and Urban area in 2022)
Documents require for Airtel mobile tower installation
Airtel tower installation complaints or its complaint number
Airtel tower installation customer care number & contact no
Airtel tower agreement letter & Airtel tower approval letter
Submit Airtel tower complaint online & get solved in 24hours
Best Fantasy Football Names
ReplyDeleteOdell Beckham JR Fantasy
Nick Chubb Fantasy Names
Kyler Murray Fantasy Team Names
Clever Fantasy Football Names
Davante Adams Fantasy Names
Your post was really pretty. I like it a lot. Your blog site is very informative and helpful. The term Internet Service Provider (ISP) refers to a company that provides Internet access to both personal and business customers. ISPs make it possible for their clients to surf the web, shop online runs a business, and connect with family and friends - in exchange for everything. ISPs can also provide other services including email services, domain registration, web hosting, and browser packages. Our blog site is related to Internet Service Provider (ISP). I believe that my blog site is more helpful than all other blog sites. We provide the best service to everyone. best isp in Dhaka
ReplyDeleteDo you know how high Ariana Grande is? All the information about celebrity heights is available for free!
ReplyDelete
ReplyDeleteI was lazy in my starting time I have to not complete my work on time so I had to contact Vertical report example service and complete my work. if you are new to college so you can do it. and complete your work
ReplyDeleteVisit the website if you're curious to learn more about what I previously saw that was unknown. I'd like to see a service that writes student essay writing help because I'll need help with a project in ten days. Visit the website if you're interested in learning more about what I previously saw but didn't know about.
your website is very nice, the article is very enlightening, I wish you continued success. ทางเข้าเล่น joker
ReplyDelete총판출장샵
ReplyDelete고고출장샵
심심출장샵
평택출장샵
화성출장샵
군위출장샵
오산출장샵
오산출장샵
Thanks for share ! get-vidmate.com instasave.onl
ReplyDelete인천출장샵
ReplyDelete광주출장샵
인천출장샵
충남출장샵
충남출장샵
세종출장샵
세종출장샵
ReplyDeleteHello! It's a nice time coming around your blog. I have a special joy surfing through your content today. Its interesting and knowledgeable ideas shared. I really appreciate the good work here. federal cooperative college admission form this year