Posts

expand variable inside input

Image
Clash Royale CLAN TAG #URR8PPP up vote 1 down vote favorite I need to dynamically input a proper .tex file into my document. I wrote the following code that works only if instead of "realyearseason" I explicitly write 2019. Inside the input all new defined commands work, but the command that has one argument (which is realyear) makes the document not to compile (error is "Argument of filename@simplehas an extra }"). Why is that? How to overcome this issue? def myfolder ../../../../../trial def season Spring def yearstart2018 def yearfinish2019 newcommandrealyear[1]% ifthenelseequaldetokenize#1detokenizeSpring yearstart yearfinish% inputmyfolder/trialfolder/seasonrealyearseason common macros input share | improve this question asked 3 hours ago Tiutto 8 2 New contributor Tiutto is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct. ...

So frustrated compiling necessary packages in a linux system

Image
Clash Royale CLAN TAG #URR8PPP up vote 0 down vote favorite I have just moved to a new lab and have to deal with installing all necessary packages for bioinformatics in a linux system again. As I have experienced in the previous lab, compiling packages is a pain as error always appear and prerequisites seem endless. My obstacles: 1) I do not have root permission 2) I cannot use sudo or yum or even git etc. (as either I do not have root permission or they were not installed) I want to learn how to compile everything with ease in a linux system. May I have not only the 'how-tos' but also some rule of thumbs to follow, starting from scratch? The linux system in the new lab is a CentOS7 (centos-release-7-5.1804.4.el7.centos.x86_64) Thanks a lot! sudo yum compiling git not-root-user share asked 9 mins ago Johnny Tam 120 9 add a comment  |  up vote 0 down vote favorite I have just moved to a new lab and hav...

shell sleep until next full minute

Image
Clash Royale CLAN TAG #URR8PPP up vote 3 down vote favorite To execute a script on the next full minute I want to tell the sleep command to sleep until the next full minute. How can I do this? shell sleep share | improve this question asked Apr 6 '15 at 18:40 nnn 426 1 3 9 add a comment  |  up vote 3 down vote favorite To execute a script on the next full minute I want to tell the sleep command to sleep until the next full minute. How can I do this? shell sleep share | improve this question asked Apr 6 '15 at 18:40 nnn 426 1 3 9 add a comment  |  up vote 3 down vote favorite up vote 3 down vote favorite To execute a script on the next full minute I want to tell the sleep command to sleep until the next full minute. How can I do this? shell sleep share | improve this question asked Apr 6 '15 at 18:40 nnn 4...