You are not logged in.
@morfik
One last question before I succumb to the dark side (git branches)
Say I have the official script and the branch with my customization.
Then Accuweather changes something on their page and I change the customized script in order for the latter to work.
Can I merge the branch with the master script without merging my customized code, but only the changed lines due to Accuweather's screw up?
Also, if I decide to use this method, can I just delete my local git folder and create a new one using the same address?
Last edited by TeoBigusGeekus (2019-09-04 20:50:53)
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
@ragamatrix
Excellent! Thank you, my friend, for your work.
![]()
For me the beautiful earth is simply fabulous.
You're welcome I'm glad that you enjoy it yes earth is beautiful and fabulous but terrifying and hostile in the same time...
Offline
Say I have the official script and the branch with my customization.
Then Accuweather changes something on their page and I change the customized script in order for the latter to work.
Can I merge the branch with the master script without merging my customized code, but only the changed lines due to Accuweather's screw up?
No, if you merge branches, all the commits from the merged branch will go to the other branch. So in this case, all the commits from teo_version go to master, and it's not what you want. When the site changes, you make a commit in teo_version branch, and import that change to the master branch.
Also, if I decide to use this method, can I just delete my local git folder and create a new one using the same address?
What do you want to do here?
Offline
When you say "...import that change to the master branch" I guess you mean change the master branch manually, or not?
What do you want to do here?
If I empty the current repository, can I upload the contents of a totally different folder in it?
Or do I have to delete the repository, create a new one and push the new folder in the latter?
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
conky-goes-sat:
{--{snip}--}
enjoy!
OH I am going to.
Consider it stol---errr--borrowed---um conkynapped and given a good home.
O:)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Hello teo,
I'm having problems with the weather, it often happens that the conky is seen like this:
https://cdn.scrot.moe/images/2019/09/05 … 00x900.png
After a few minutes all the images and temperature reappear, except for the first temperature change of the weather in the bottom of the conky.
Has anything changed, I have to download new accuweather version?
thank for help
edit
here when the conky reappears with the weather, as you can see is incomplete
Last edited by ector1935 (2019-09-05 15:39:30)
Offline
What's the version you're using ector1935?
There's been a major update to the script, I don't know if you've followed.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
When you say "...import that change to the master branch" I guess you mean change the master branch manually, or not?
See here:
https://stackoverflow.com/questions/247 … to-another
If I empty the current repository, can I upload the contents of a totally different folder in it?
Or do I have to delete the repository, create a new one and push the new folder in the latter?
If you empty the current repository, git will see that the files were deleted and you have to commit that change. But still I don't get what you're trying to do here. Why do you want to empty the repository?
Offline
@ector1935
Why don't you visit the main page1?
There you will find everything you need under the date 2019-08-25 (and following instructions above).
Teo has been under constant stress for over a week to make WU and accuweather workable for us again - and, it's already working
Last edited by unklar (2019-09-05 16:02:33)
Offline
Thank you for your work Teo.
I wanted to know how to make the temperatures of the meteo work at the bottom, do I have to restart the horly scripts?
see photo
https://scrot.moe/image/xXpEU
Last edited by ector1935 (2019-09-05 16:10:59)
Offline
@ector1935
Read what unklar wrote; consult the first page and your questions will be answered (hint: look for the git tutorial)
If you empty the current repository, git will see that the files were deleted and you have to commit that change. But still I don't get what you're trying to do here. Why do you want to empty the repository?
So that I can replace its contents with my working folder and not the clean one I used only for git pushes.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
How found this?
hint: look for the git tutorial
Thank
Last edited by ector1935 (2019-09-05 16:30:46)
Offline
Look for the GIT-HOW TO USE section on the first post of the thread.
I'm copying it for you here:
Let's say that the script's repository is in the following address
https://gitlab.com/teobigusgeekus/1_accuweather.git
The first time you want to download the script, you go into your home folder, open a terminal and give
git clone https://gitlab.com/teobigusgeekus/1_accuweather.git
A folder named 1_accuweather has been created in your home folder.
From now on, every time I announce an update to the script, you go into the 1_accuweather folder, open a terminal and give
git pull origin master
or simply
git pull
and the contents of your folder are synced with whatever change I've made.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
ragamatrix wrote:conky-goes-sat:
{--{snip}--}
enjoy!
OH I am going to.
Consider it stol---errr--borrowed---um conkynapped and given a good home.
![]()
![]()
O:)
no problem my friend, my conkys are yours
Offline
So that I can replace its contents with my working folder and not the clean one I used only for git pushes.
Probably, but you will have to configure the repository again, since the git configs differ. Just back it up and see what happens.
Offline
Look for the GIT-HOW TO USE section on the first post of the thread.
I'm copying it for you here:
Let's say that the script's repository is in the following address
https://gitlab.com/teobigusgeekus/1_accuweather.git
The first time you want to download the script, you go into your home folder, open a terminal and give
git clone https://gitlab.com/teobigusgeekus/1_accuweather.git
A folder named 1_accuweather has been created in your home folder.
From now on, every time I announce an update to the script, you go into the 1_accuweather folder, open a terminal and givegit pull origin master
or simply
git pull
and the contents of your folder are synced with whatever change I've made.
I ran the commands now the old conky works.
The temperatures of the next 4 days are missing.
You can tell me how to get the temperatures back.
Thank you for your work.
Offline
The daily forecast temps are in the daily_forecast file.
The first day's temp is in line number 7, the next in line number 47, then 87 and so on.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Probably, but you will have to configure the repository again, since the git configs differ. Just back it up and see what happens.
I can delete that repository and create a new one so that I avoid the subsequent mess.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
@S11
Regarding pre_exec and getting inspiration by this post by plikhari I've made something up.
1)Create a folder in your home folder called pre_exec_temp
2)Along with your conky launch command whenever you start your pc add the following command as well
rm $HOME/pre_exec_temp/*
3)Create an empty file and put this code in it
#!/usr/bin/env bash
if [ ! -f "$HOME/pre_exec_temp/$*" ]; then
$*
touch "$HOME/pre_exec_temp/$*"
fi
Save it as pre_exec and make it executable. Move it in your custom bin folder ie. the folder in which you keep your custom scripts and programs. If you don't have one, create a folder called bin in your home folder and add the following line in your .bashrc file
export PATH="/home/teo/bin:$PATH"
Replace teo with your username of course.
Now try and see if the pre_exec conkyrcs work with conky 1.10
EDIT: The way you'd use it would of course be something like
${texecpi 10000 pre_exec whatever}
Last edited by TeoBigusGeekus (2019-09-07 15:55:31)
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Will give that a try ... when I get to conky v1.10+
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline