How to use certfp with IRC::Client - irc

I've used IRC::Client for a number of IRC bots so far, and I would like to use it for a new project too. However, this time I will need to have the bot authenticate using certfp. A search for "certfp" on the module's GitHub repository yields no results.
Is it possible to configure IRC::Client with a certificate so I can make my next IRC bot authenticate using certfp, and if so, how would I go about it?

Related

Before creating a repository on Bitbucket

I have to think of a way to create an approval process on Bitbucket for repositories.
Before creating a repository, co-worker submits a ticket to get approval from manager to be able to get the "go-ahead create repository" or denied. Is this possible to do?
My manager notified it could be similar to submitting a ticket on Sharepoint.
I have not found any ways by trail and error or from using resources, so I am reaching out to see if anyone else had to do something similar.
Are you using Bitbucket Cloud or Bitbucket Server?
In either case, I don't believe there's a way to provide conditional, temporary permission to create a single repository of a specific name or team/project.
What I would do in your situation is to set up some kind of bot account (whether using a dedicated account, or a selected individual's account in combination with an app password/personal token) that could be triggered by your approval process and would create a specified repo and grant permissions to it to a specified user. Depending on the tools you're using it's a pretty open ended solution space, but the API calls for Bitbucket Cloud and/or Server should be reasonably straight forward to achieve this, so it's just matter of figuring out how you would trigger and run such an automation.

How to implement Gmail Smart-Compose feature in my project using Gmail API?

I wanted to use the Gmail smart compose feature in my project. I read many documents but no documents suggest anything related to the implementation of smart compose in Gmail API.
Attaching a link below about the small information about the autocomplete feature:
SmartCompose
Answer:
Unfortunately, this is not possible to do using the Gmail API.
More information:
The Gmail API using the client libraries works on a request-response basis, and these are not retrievable through a Gmail API method. In order to do this, there would need to be a request made each time the string the user is typing changes, which would use not only require a lot of network traffic, but would also make application running slow as many requests would be made.
Feature Request:
On the flip side however, Google already knows about this, and a Feature Request for this has been made on their Issue Tracker. You can view this feature request here, to which you can click the star (☆) in the top left to let Google know more people want this feature to be implemented.
References:
Autocomplete suggestions for text-inputs
Google's Issue Tracker
An API for gmail smart-compose feature

Hangout chat bot private distribution

After developing the Hangout chat bot I could see the steps to publish and distribute by listing on marketplace
I'm wondering if there's a way to distribute the bot privately to other gsuite domains without actually creating the bot and configure it in that domain's cloud console?
From my knowledge through the API configuration this is not possible without setting it up in your own domain. If you try and connect to a Google script outside of your domain, it will give you a domain error. (see fake example below)
You also cannot add specific users outside of your domain to have access to the bot.
However, if you want your bot to be public for everyone please see here: https://developers.google.com/hangouts/chat/how-tos/gsm-list
But referencing another bot in another domain does not seem to be possible otherwise.

Limiting the number of logins by ip address in moodle

Am using Moodle for online quizzes locally in a lap environment.
I am facing a problem with students sharing log in credentials in the exam. so am searching for a solution that will associate every user with a single ip address for a period of time. is there is any way from moodle to do this.
This may not be possible to completely prevent without writing a new plugin to cache the login and restrict any new logins for a period of time. IP address probably isn't the best way to do this, as multiple students could be using the same IP address if sharing something like a WiFi connection at a campus or public location.
However, you can make it a little more difficult.
1.) Enable the "Limit concurrent logins" setting. You can find this in Site Administration > Plugins > Authentication > Manage Authentication.
2.) Try this plugin. It will cache login information for a student when accessing a quiz and prevent another computer from logging in to the same account from continuing that same quiz.
3.) Use some sort of single-sign-on service which you can connect with Moodle via a SAML2 plugin like this one. Look for a service that provides the specific functionality you're asking for.
4.) Use multi-factor authentication. You can combine this with option #3 above or look for a plugin supported by your current version of Moodle. Lambda Solutions appears to have a commercial product for this. There is also an older plugin on Moodle's site that you could get a developer to update for you.

email distribution list through website

I'm looking for a commercial option for managing email distribution groups through a website. Members need to be able to subscribe and unsubscribe from distribution lists, but crucially, they need to be able to send emails to the group themseleves (unlike newsletter signups like constant contact).
I understand this kind of thing is possible through open source options such as mailman, LISTSERV, ecartis, majordomo etc. However, I'm not keen on installing python scripts, working with beta, unsupported versions etc.
I'm after a commercial, hosted solution which gives me an API that I can plug my website into. The API would need options to set up new groups and subscribe to and from them.
Any suggestions welcome.
Does this work: http://documentation.mailgun.net/api-mailinglists.html? If not, send us an email with feedback.