- Poised: Poised is the AI-powered communication coach that helps you speak with confidence and clarity
- Murf: Murf AI can easily turn your text into a humanโs voice.
- Lucidpic: Lucid Pic generates high-quality stock photos of people that donโt exist
- Autodesigner: Autodesigner is like your own professional designer (mockups, etc)
- FROMAGe: give it an image and you can ask FROMAGe any questions about it.
- Talk to Books: Talk to books has millions of books and gets new ideas in seconds
- Kaiber AI: transform your ideas into the visual stories of your dreams
- Stockimg: create awesome illustrations, logs, stock images, book covers, posters in just a matter of seconds.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from together import Together | |
| client = Together(api_key = TOGETHER_API_KEY) | |
| question = "Which is larger 9.9 or 9.11?" | |
| thought = client.chat.completions.create( | |
| model="deepseek-ai/DeepSeek-R1", | |
| messages=[{"role": "user", "content": question}], | |
| stop = ['</think>'] | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # pip install openai | |
| import os | |
| from openai import OpenAI | |
| aiml_api_key ='<YOUR_AIML_API_KEY>' | |
| client = OpenAI( | |
| api_key=aiml_api_key, | |
| base_url="https://api.aimlapi.com", | |
| ) |
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "age";"job";"marital";"education";"default";"housing";"loan";"contact";"month";"day_of_week";"duration";"campaign";"pdays";"previous";"poutcome";"emp.var.rate";"cons.price.idx";"cons.conf.idx";"euribor3m";"nr.employed";"y" | |
| 56;"housemaid";"married";"basic.4y";"no";"no";"no";"telephone";"may";"mon";261;1;999;0;"nonexistent";1.1;93.994;-36.4;4.857;5191;"no" | |
| 57;"services";"married";"high.school";"unknown";"no";"no";"telephone";"may";"mon";149;1;999;0;"nonexistent";1.1;93.994;-36.4;4.857;5191;"no" | |
| 37;"services";"married";"high.school";"no";"yes";"no";"telephone";"may";"mon";226;1;999;0;"nonexistent";1.1;93.994;-36.4;4.857;5191;"no" | |
| 40;"admin.";"married";"basic.6y";"no";"no";"no";"telephone";"may";"mon";151;1;999;0;"nonexistent";1.1;93.994;-36.4;4.857;5191;"no" | |
| 56;"services";"married";"high.school";"no";"no";"yes";"telephone";"may";"mon";307;1;999;0;"nonexistent";1.1;93.994;-36.4;4.857;5191;"no" | |
| 45;"services";"married";"basic.9y";"unknown";"no";"no";"telephone";"may";"mon";198;1;999;0;"nonexistent";1.1;93.994;-36.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| If you're building a SaaS in 2023: | |
| โ framework: Next.js | |
| โ ui: @shadcn/ui + TailwindCSS | |
| โ redis/queues: Upstash | |
| โ time-series data & charts: Tinybird + Tremor | |
| โ ORM: Prisma | |
| โ auth: NextAuth.js | |
| โ database: PlanetScale | |
| โ emails: Resend |
pip install pypdf2
pip install transformersimport PyPDF2
from transformers import pipeline
# Load the summarization pipeline- Improper platform usage: ask for permissions to use on-device resources (ex: camera, location)
- Secure storage: pub pkg --
flutter_secure_storage, hive, secure_application - Insecure communication:
http_certificate_pinning, ssl_pinning_plugin(ssl/tsl cert based) - Insecure authentication:
local_auth - Insufficient cryptography: only use NIST approved encryption algos
encrypt, crypto - Insecure authorization
- Client code quality checks - vulnerability/maintainability checks (static and dynamic security checks)
- Code tempering:
flutter_jailbreak_detection - Reverse engineering: check if IDA Pro & Hopper can de-obfuscate your code; use
--obfuscatewhile building a flutter app, also use binary build which are hard to decompile - Extraneous functionality: check logs for info leaks about backend or any silly hard-coding PI data. Use RASP (runtime analysis self-protection)
freerasppkg to check against security leaks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import random | |
| participants = [i for i in range (1,41)] | |
| random.shuffle(participants) | |
| groups = [participants[i:i+4] for i in range(0, len(participants), 4)] | |
| for i in range(len(groups)): | |
| print(f"Group {i+1}: {groups[I]}") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const GlobalDebug = (function () { | |
| var savedConsole = console; | |
| /** | |
| * @param {boolean} debugOn | |
| * @param {boolean} suppressAll | |
| */ | |
| return function (debugOn, suppressAll) { | |
| var suppress = suppressAll || false; | |
| if (debugOn === false) { | |
| // supress the default console functionality |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| var defaultBackgroundColor = Colors.grey[300]; | |
| var appBarColor = Colors.grey[900]; | |
| var myAppBar = AppBar( | |
| backgroundColor: appBarColor, | |
| title: const Text(' '), | |
| centerTitle: false, | |
| ); | |
| var drawerTextColor = TextStyle( |