Apr 8, 2023 08:35
I am not annoyed but very surprised by your view of not changing anything in the original file. The heart of LGPL license is that it allows the user to make changes to source code. In fact it encourages the people to build something on top of it. Code reuse for different use cases is the main reason why I use open source software!
Apr 8, 2023 08:31
Yes. This worked correctly. what I as doing wrong is that I as downloading the base oxt file from different source. I understood my mistake after looking at your attachment. I really appreciate your help.
Apr 7, 2023 09:41
And thanks a lot for your help.
Apr 7, 2023 09:40
ok. got it.
Apr 7, 2023 09:32
You just said that you are not so good in english. Right? Then why are reasoning? If you share the file I will know what is wrong with my approach.
Apr 7, 2023 09:27
So you mean if you click on that button your text is getting translated to Hindi. Right? In that case you can share the extension file with me?
Apr 7, 2023 09:12
Are you from Ukraine?
Apr 7, 2023 09:10
You can see them in Accelerators.xcu Shift + Ctrl + Alt + C
Apr 7, 2023 09:09
And I have no idea why the keyboard shortcuts are not working. Do you have any clue?
Apr 7, 2023 09:08
I am asking because I think changing Addons.xcu is not going to help.
Apr 7, 2023 09:07
I have already tried that. Can you try to change it to the language that you understand. For e.g. French/ Russian etc?
Apr 7, 2023 09:04
ok. understood.
Apr 7, 2023 09:02
That will make it easy. what is your third suggestion?
Apr 7, 2023 09:01
In other words what happens internally when I push a button?
Apr 7, 2023 09:00
I am trying to figure out the code that runs when I choose "en" to "hi" dialog box. Is there any debugger in Libre writer?
Apr 7, 2023 08:59
I took care of line breaks and I have used notepad to edit other files too. So that should not be a problem.
Apr 7, 2023 08:58
notepad
Apr 7, 2023 08:56
ok. Got it.
Apr 7, 2023 08:45
This extension is useful but too complicated to use. I will like to know any suggestions to make it simple one click macro.
 
Dec 30, 2022 04:51
There is no error in console:

scriptman: determineScriptsToRun @https://en.wikipedia.org/wiki/Special:RecentChanges?hidebots=1&hidecategorization=1&hideWikibase=1&limit=50&days=7&urlversion=2

run script Hide usernames from the "Recent changes" page @ https://en.wikipedia.org/wiki/Special:RecentChanges?hidebots=1&hidecategorization=1&hideWikibase=1&limit=50&days=7&urlversion=2

scriptman: determineScriptsToRun @https://mr.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7:%E0%A4%85%E0%A4%B2%E0%A5%80%E0%A4%95%E0%A4%A1%E0%A5%80%E0%A4%B2_%E0%A4%AC%E0%A4%A6%E0%A4%B2
Dec 30, 2022 04:02
Not able to hide that user using your script. Can you take remote access and check? ec2-44-207-8-209.compute-1.amazonaws.com (for access [email protected])
Dec 29, 2022 10:08
You will see a user "InternetArchiveBot" on Marathi wikipedia recent changes page. Can you hide him?
Dec 29, 2022 10:06
This is the code used. Same as yours. Only description line added.
Dec 29, 2022 10:06
// ==UserScript==
// @name Hide usernames from the "Recent changes" page
// @version 0.1
// @author double-beep
// @description Just an example
// @match https://mr.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7:%E0%A4%85%E0%A4%B2%E0%A5%80%E0%A4%95%E0%A4%A1%E0%A5%80%E0%A4%B2_%E0%A4%AC%E0%A4%A6%E0%A4%B2*
// @require https://gist.githubusercontent.com/BrockA/2625891/raw/waitForKeyElements.js
// @require https://code.jquery.com/jquery-3.6.3.min.js
Dec 29, 2022 10:06
Tried again. Still does not work.
Dec 29, 2022 09:59
Let me try again.
Dec 29, 2022 09:59
Tried. That is not working.
Dec 29, 2022 08:28
Can you show me a working example that will hide a user from recent changes page of Marathi wikipedia?
Dec 29, 2022 08:28
I was just testing with that selector.
Dec 28, 2022 04:02
The marathi wikipedia userscript should work exactly english one as shown by you.
 
Nov 5, 2019 09:45
0
Q: How to set environment variables?

shantanuoI am using a lambda function (AWS) and the source code is available here... https://datameetgeobk.s3.amazonaws.com/cftemplates/LogsToElasticSearch_env.zip The problem is that it is not setting the elastic endpoint correctly. var endpoint = process.env.ES_ENDPOINT; Is the above line in the c...

Oct 26, 2019 07:52
You can use environment variable for ES domain in Lambda. That will reduce one step from the process!
Oct 26, 2019 07:36
0
Q: pause the template execution for a few minutes

shantanuoI have a cloudformation template that works correctly. It initiates an elastic server along with cloud-trail. datameetgeobk.s3.amazonaws.com/cftemplates/audit_trail.yaml I have to wait 10 minute to get the endpoint. The endpoint is used in Lambda function that is part of another template. str...

Oct 26, 2019 07:27
ok. I will do that.
Oct 26, 2019 07:21
My template creates an elastic server. I need to wait for 10 minutes to get the ES endpoint. Is it possible to wait and then continue with your template?
Oct 26, 2019 07:14
I am not able to get the linkedin link.
Oct 26, 2019 07:13
But it is very powerful. I will like to learn.
Oct 26, 2019 07:11
If you have any tips for me to learn cloudformation, Please send at [email protected]
Oct 26, 2019 07:11
I did not unerstand "Access Denied" message.
Oct 26, 2019 07:10
Can you suggest me a way to merge this template with my template? datameetgeobk.s3.amazonaws.com/cftemplates/audit_trail.yaml
Oct 26, 2019 07:10
Yes. You are correct. Everything is working as expected. I did not check correctly. The problem was that I was using domain with "https" part in step 2 of updating var endpoint.
Oct 26, 2019 07:10
everything is successfully installed through template, but elastic is not populated. This is lambda error: TypeError: Cannot read property 'data' of undefined at exports.handler (/var/task/index.js:15:53)
Oct 26, 2019 07:10
The lambda function does not install a trigger? How will the function invoke? The error mentioned above is shown when I run the function manually.
 

Python

Room rules: sopython.com/chatroom Code formatting guide: tinyu...
Jun 9, 2016 05:08
This works. But it does not store the names of dataframe.
Jun 9, 2016 05:08
mylist=[]
for mycollege_id in college_id['id']:
    mydf='df_'+str(mycollege_id)
    query = ('select name, marks, ( case when first_pref=%s then 1 when second_pref = %s then 2 when third_pref = %s then 3 else 0 end ) as mypref from students having mypref > 0 order by  marks desc')  % (mycollege_id, mycollege_id, mycollege_id)
    mydf=pd.read_sql(query, conn)
    mylist.append(mydf)
    print mylist
Jun 9, 2016 05:00
I just want to save all dataframes in a dictionary with distinct name that will identify the data within the frame. I had done this before and It worked. I just don't remember how I did this.
Jun 9, 2016 04:56
For each query output I am trying to generate a separate dataframe. mydf is just a temporary variable used in dictionary.
Jun 9, 2016 04:53
mydict={}
for mycollege_id in college_id['id']:
    mydict[mydf]='df_'+str(mycollege_id)
    query = ('select name, marks, ( case when first_pref=%s then 1 when second_pref = %s then 2 when third_pref = %s then 3 else 0 end ) as mypref from students having mypref > 0 order by  marks desc')  % (mycollege_id, mycollege_id, mycollege_id)
    mydict[mydf]=pd.read_sql(query, conn)