Posts

Callback URL - X API

Skip to main content Developer Platform   Documentation Callback URLs The OAuth 1.0a User Context and OAuth 2.0 Authorization Code with PKCE authentication methods enable developers to make requests on behalf of different Twitter users that have worked through a specific sign-in flow. Currently, there are two flows that you can use to enable users to authorize your application: OAuth 2.0 authorization code flow with PKCE OAuth 1.0a 3-legged OAuth flow  (and separately, the  Sign in with Twitter flow )   As users work through these flows, they need a web page or location to be sent to after they have successfully logged in and provided authorization to the developer's App. This follow-up webpage or location is called a callback URL.  When setting up these flows for their potential users to work through, developers must pass a callback URL with their requests to the authentication endpoints that make up the flows mentioned earlier. For example, developers using OA...

Image & Video GPT Models

What GPT is good for image generation of personal pics? Sources:  whatplugin.ai  (1)  featuredgpts.com  (2)  semrush.com  (3)  whatplugin.ai  (4) Sure, I can help you with that! Based on my knowledge, there are several GPTs (General Purpose Technologies) that are good for image generation of personal pics. Here are a few: DeepArt : This GPT uses a technique called style transfer to turn your photos into works of art in the style of famous artists. DeepDreamGenerator : This GPT uses Google's DeepDream AI to transform your photos into dream-like images. Runway ML : This GPT is a creative toolkit powered by machine learning that allows you to create images, videos, and 3D content. It's user-friendly and doesn't require any coding knowledge. Daz 3D : This GPT is a bit different - it's a 3D modeling application that allows you to create realistic human figures and environments. You can use it to create personalized 3D portraits or scenes. GANPaint Stud...

How to Check Running Proccesses on MacOS

How to check running processes on MacBook Sources:  macpaw.com  (1)  setapp.com  (2)  hardsoftcomputers.co.uk  (3)  cleanmymac.com  (4) To check running processes on a MacBook, you can use the Activity Monitor application. Here are the steps to do so: Open a new Finder window. Click on the "Applications" option on the left-hand side of the window. Locate and open the "Utilities" folder. Double-click on the "Activity Monitor" application. Once you have opened the Activity Monitor, you can view all the open processes on your MacBook in the "Process Name" column. You can also select "Windowed Processes" from the drop-down box near the top of the Activity Monitor window to view all open programs. Alternatively, you can use the iStat Menus application, which can be found in the menu bar. The MEM table in iStat Menus shows you applications and processes that are consuming more than their fair share of RAM in real-time. You can also use iStat ...

Python 2 HTML

To convert this code into a user interactive web app, you can use a web framework like Flask or Django. In this example, I will use Flask. First, you need to install Flask using pip: bash 1 pip install Flask Then, create a new file named  app.py  and add the following code: python 1 from flask import Flask , render_template , request 2 3 app = Flask ( __name__ ) 4 5 @app . route ( '/' , methods = [ 'GET' , 'POST' ] ) 6 def index ( ) : 7 if request . method == 'POST' : 8 input_text = request . form [ 'input_text' ] 9 result = { 'status' : 'success' , 'result' : '<pre>' + input_text + '</pre>' } 10 else : 11 result = None 12 13 return render_template ( 'index.html' , result = result ) 14 15 if __name__ == '__main__' : 16 app . run ( debug = True ) Next, create a new folder named  templates  in the same di...

CA-CERTS Validity Hash for Android.

CA-CERTS Validity Hash for Android. Version: 15 SHA 256 Hash Subject NotBefore NotAfter 55926084ec963a64b96e2abe01ce0ba86a64fbfebcc7aab5afc155b37fd76066 CN=Actalis Authentication Root CA,O=Actalis S.p.A./03358520967,L=Milan,C=IT 2011-09-22 2030-09-22 18ce6cfe7bf14e60b2e347b8dfe868cb31d02ebb3ada271569f50343b46db3a4 CN=Amazon Root CA 3,O=Amazon,C=US 2015-05-26 2040-05-26 1ba5b2aa8c65401a82960118f80bec4f62304d83cec4713a19c39c011ea46db4 CN=Amazon Root CA 2,O=Amazon,C=US 2015-05-26 2040-05-26 8ecde6884f3d87b1125ba31ac3fcb13d7016de7f57cc904fe1cb97c6ae98196e CN=Amazon Root CA 1,O=Amazon,C=US 2015-05-26 2038-01-17 e35d28419ed02025cfa69038cd623962458da5c695fbdea3c22b0bfb25897092 CN=Amazon Root CA 4,O=Amazon,C=US 2015-05-26 2040-05-26 5c58468d55f58e497e743982d2b50010b6d165374acf83a7d4a32db768c4408e CN=Certum Trusted Network CA,OU=Certum Certification Authority,O=Unizeto Technologies S.A.,C=PL 2008-10-22 2029-12-31 b676f2eddae8775cd36cb0f63cd1d4603961f49e6265ba013a2f0307b6d0b804 CN=Certum Trusted...

F-droid Repos URL Domains.

Domain URL Repos for F-droid packages F-Droid packages can be found in various repositories (repos). You can add a new repository to your F-Droid client by following these steps: Open F-Droid app on your Android device. Go to the settings menu. Select "Repositories". Tap the "+" button on the top right corner. Paste the repository URL and tap "Add". If you want to create your own F-Droid repository, you can follow the steps below: Install  fdroidserver  on your server. Create a directory for your repository, such as  /srv/fdroid/repo . Initialize the repository by running  fdroid init  inside the repository directory. Copy your APK files into the  repo  directory. Run  fdroid update  to generate the metadata. Here's an example repository URL: 1 https://yourserver.com/srv/fdroid/repo/ Note that the URL should end with  /fdroid/repo/  so that F-Droid can detect it as a repository. You can also create a configuration file named  c...

Free DNS tools

free dns hostname Sources:  allconnect.com  (1)  keycdn.com  (2)  cloudns.net  (3)  namecheap.com  (4) Certainly! Here are some free DNS hosting providers that offer hostnames: 1984:  They offer a FreeDNS service with a web interface that allows you to create and manage DNS records, including web redirects. Namecheap:  While best known for their domain registration services, Namecheap also offers free DNS hosting with features like DynamicDNS and support for various DNS record types. Cloudflare:  They offer a free DNS hosting plan with several advantages, such as fast speeds and additional security features like rate-limiting, filtering, and blocking. ClouDNS:  Their free DNS hosting plan provides 4 DNS servers, 3 Zones, and supports IPv6, dynamic DNS, and round robin. FreeDNS:  This long-standing DNS hosting provider offers free DNS services, including a static DNS hosting, dynamic DNS hosting, and even domain hosting. Wh...

favicon icons

How to Create Favicon for any Website or Blog for Free favicons Favicon's are the small icon you normally see when ever you open any website, so you can see my favicon icon is that blue background with small HU logo in white color. So its just a branding that defines every website in its own tab. So people usually use their official logo's to create a nice favicon so in this tutorial we will see how you can easily create your vey own Favicon icon for any website or blog. Well we will be using Favicon.cc online favicon creator tool for this tutorial, I think it is the best favicon creator with many good features mentioned below. Well this tool show you the live display of your favicon being created, so as you are designing your favicon you will be able to see live favicon being updated. You also get colors used stored for future use, so if you want you can access those colors and once again use them wherever you want to. You even get the animation creation option, so you can mak...

Fine-tune GPT-2 using code.

Link to use coding chatbot AY-72 https://www.blackbox.ai/agent/AYSeventy-two24BBMKY Can you show me (with code) how to fine-tune GPT Sure! Here's a basic example of how you can fine-tune the GPT-2 model using the Hugging Face Transformers library. This example assumes that you have already downloaded the pre-trained GPT-2 model and have a fine-tuning dataset ready. First, you'll need to install the Transformers library if you haven't already. You can do this with pip: Edit Full Screen Copy code pip install transformers Next, let's import the necessary modules: python Edit Full Screen Copy code from transformers import GPT2Tokenizer, GPT2LMHeadModel, AdamW import torch from torch.utils.data import Dataset, DataLoader Now, let's define our custom dataset class, which will load our fine-tuning data: python Edit Full Screen Copy code class FineTuningDataset(Dataset):     def __init__(self, encodings, labels=None):         self.encodings = encodings   ...