Channel Name | YouTube Handle |
---|---|
Sam Witveen's channel | @samwitteveenai |
Matthew Berman & co | @matthew_berman |
code_your_own_AI | @code4AI |
Serra Academy | Not Found |
AI Coffee Break with Letitia | @AICoffeeBreak |
AI Explained | @aiexplained-official |
Nerdy Rodent | @NerdyRodent |
fireship | @Fireship |
This file contains 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
""" To use: install LLM studio (or Ollama), clone OpenVoice, run this script in the OpenVoice directory | |
git clone https://github.com/myshell-ai/OpenVoice | |
cd OpenVoice | |
git clone https://huggingface.co/myshell-ai/OpenVoice | |
cp -r OpenVoice/* . | |
pip install whisper pynput pyaudio | |
""" | |
from openai import OpenAI | |
import time |
Run follow command in a folder
find . -maxdepth 1 -perm -111 -type f | xargs -n 1 -I{} xattr -d com.apple.quarantine {}
This file contains 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
<?php | |
var_dump($_POST); | |
$total = 0; | |
if (isset($_POST['operador'])) { | |
$op = $_POST['operador']; | |
if ($op == "divi") { | |
$total = $_POST['izq'] / $_POST['derc']; | |
} elseif ($op == "suma") { | |
$total = $_POST['izq'] + $_POST['derc']; | |
} else { |
This file contains 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
const getNextVideo = () => { | |
setNextLoading(true) | |
for (let i = 0; i < lessons.length; i++) { | |
WatchedLessons.WatchedVideo(lessons[i].doc ?? '', user?.uid).then(res => { | |
if (res) { | |
setNext(lessons[i + 1]) | |
} | |
}) | |
setNextLoading(false) | |
} |
This file contains 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
@keyframes backInRight { | |
0% { | |
transform: translateX(400px) scale(1); | |
opacity: 0.7; | |
} | |
80% { | |
transform: translateX(0px) scale(1); | |
opacity: 0.7; | |
} |
If you need or want to replace the PrtScr shortcut do the following:
1.- Release the PrtScr binding by this command
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot '[]'
2.- Go to Settings -> Devices -> Keyboard and scroll to the end. Press + and you will create custom shortcut.
3.- Enter name: "flameshot", command: /usr/bin/flameshot gui.
4.- Set shortcut to PrtScr (print).
This file contains 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
function getTrue(obj) { | |
return Object.keys(obj).filter(el => obj[el]) | |
} | |
const fs = require('fs') | |
const stream = fs.createWriteStream("routes_file.txt") | |
stream.once('open', function(fd) { | |
api.stack.forEach(function(r){ |
This file contains 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
// Ball tracking example with Node JS and OpenCV | |
// Before running this script please check de opencv4nodejs installation steps | |
// Dependencies: https://www.npmjs.com/package/opencv4nodejs | |
// Inspired by: https://www.pyimagesearch.com/2014/07/21/detecting-circles-images-using-opencv-hough-circles/ | |
// Author Iddar Olivares <https://github.com/iddar> July 2019 | |
const cv = require('opencv4nodejs'); | |
const delay = 1 | |
const devicePort = 0; |
NewerOlder