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
#define STB_IMAGE_IMPLEMENTATION | |
#include "stbimage.h" | |
#include <iostream> // for console I/O | |
#include <fstream> // for file I/O | |
#include <sstream> // for stringstream | |
#include <string> // for std::string | |
#include <vector> // for std::vector | |
#include <GL/glew.h> // for OpenGL and GLEW | |
#include <GLFW/glfw3.h> // for GLFW |
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 * as THREE from 'three'; | |
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js'; | |
import { OrbitControls } from 'three/addons/controls/OrbitControls.js'; | |
const ambientLight = new THREE.AmbientLight(0xffffff, 0.5); // Soft white light | |
const scene = new THREE.Scene(); | |
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); | |
const renderer = new THREE.WebGLRenderer(); | |
renderer.setSize(window.innerWidth, window.innerHeight); |
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
Hello Node JS Blog |
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 tweepy | |
import time | |
import feedparser | |
## Review: This should by passed as argument from a function | |
# Twitter API keys and access tokens | |
API_KEY = 'YOUR_TWITTER_API_KEY' | |
API_SECRET_KEY = 'YOUR_TWITTER_API_SECRET_KEY' | |
ACCESS_TOKEN = 'YOUR_TWITTER_ACCESS_TOKEN' | |
ACCESS_TOKEN_SECRET = 'YOUR_TWITTER_ACCESS_TOKEN_SECRET' |
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
#define size 25. | |
vec2 Hash12(float t) | |
{ | |
float x = fract(sin(t * 674.3) * 453.2); | |
float y = fract(sin(t * 2674.3) * 453.2); | |
return vec2(x,y); | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"> | |
<channel> | |
<title>Mais Encore?</title> | |
<link>https://medium.com/@antoinefortin_64750/</link> | |
<language>en-us</language> | |
<copyright>MaisEncore</copyright> | |
<itunes:author>AntoineHuotFortin</itunes:author> | |
<itunes:summary>Mais encore, un prochain episode</itunes:summary> | |
<description>La culture générale dans un format de compte, du jamais vu.</description> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"> | |
<channel> | |
<title>My Podcast</title> | |
<link>http://www.mypodcast.com/</link> | |
<language>en-us</language> | |
<copyright>Copyright 2023 My Podcast</copyright> | |
<itunes:author>My Name</itunes:author> | |
<itunes:summary>This is a summary of my podcast.</itunes:summary> | |
<description>This is a description of my podcast.</description> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"> | |
<channel> | |
<title>Mais Encore?</title> | |
<link>https://medium.com/@antoinefortin_64750/</link> | |
<language>en-us</language> | |
<copyright>MaisEncore</copyright> | |
<itunes:author>AntoineHuotFortin</itunes:author> | |
<itunes:summary>Mais encore, un prochain episode</itunes:summary> | |
<description>La culture générale dans un format de compte, du jamais vu.</description> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title></title> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous"> | |
<style type="text/css"> | |
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
$input = $args[0] | |
Write-Host "`n[+] Promt that you entered: $input" | |
Write-Host "`n[+] Response from AI :" | |
$body = @{ | |
prompt = $input | |
model = "text-davinci-003" | |
max_tokens = 5000 | |
temperature = 1.0 | |
} |
NewerOlder