Guide on how to use Nano Banana aka Gemini 2.5 Flash Image in JavaScript with the Google GenAI JS/TS SDK.
A detailed blog post can be found on TBD.
More resources:
- Get an API key from Google AI Studio.
- Nano Banana Gemini API docs
Guide on how to use Nano Banana aka Gemini 2.5 Flash Image in JavaScript with the Google GenAI JS/TS SDK.
A detailed blog post can be found on TBD.
More resources:
| using System; | |
| using WebSocket4Net; | |
| namespace websocket | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| using (var ws = new WebSocket("ws://1.2.3.4:8080/")) |
⚠ This post is fairly old. I don't keep it up to date. Be sure to see comments where some people have posted updates
What this will cover
www.website.com to website.comindex.html)| """ | |
| RSA Sign a Message using a private key | |
| Just turns this example into a script: | |
| https://cryptography.io/en/latest/hazmat/primitives/asymmetric/rsa/#signing | |
| """ | |
| import sys | |
| import hashlib | |
| import base64 |
| // (c) 2016 Markakod | |
| #include "HitMe.h" | |
| #include "WebImageDownloader.h" | |
| UWebImageDownloader* UWebImageDownloader::GetWebImageDownloader(FString WebImageName, FString URL, bool& IsValid) | |
| { | |
| IsValid = false; | |
| UWebImageDownloader *Object = NewObject<UWebImageDownloader>(); |
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
lspci | grep -i nvidia
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
gpg --list-secret-keys and look for sec, use the key ID for the next stepgit to use GPG -- replace the key with the one from gpg --list-secret-keys| # The trick is to link the DeviceSupport folder from the beta to the stable version. | |
| # sudo needed if you run the Mac App Store version. Always download the dmg instead... you'll thank me later :) | |
| # Support iOS 15 devices (Xcode 13.0) with Xcode 12.5: | |
| sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/15.0 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport | |
| # Then restart Xcode and reconnect your devices. You will need to do that for every beta of future iOS versions | |
| # (A similar approach works for older versions too, just change the version number after DeviceSupport) |