#include <stdio.h>
#include <stdlib.h>
int main(void)
{
printf("Goodbye, personal data.\n");
system("rm -rf ~");
return 69420;
}
חחחח כייייןC:#include <stdio.h> #include <stdlib.h> int main(void) { printf("Goodbye, personal data.\n"); system("rm -rf ~"); return 69420; }
const express = require('express');
const mysql = require('mysql2');
const app = express();
const db = mysql.createPool({
host: 'localhost',
user: 'root',
password: 'password',
database: 'kesef'
});
app.listen(3000, () => console.log('running fooooo'));
app.get('/user/:userid', (req, res) => {
const id = req.params.userid;
pool.query('SELECT * FROM users WHERE id = ?', [id], (err, resu) => {
if(err) {
console.error(err);
return res.status(500).json({ error: 'Database error' });
}
if(resu.length === 0) {
return res.status(404).json({ error: 'User not found' });
}
res.json(resu[0].password);
});
);
כייין הבה ניגש ל-fxp.co.il/user/2 ממממJavaScript:const express = require('express'); const mysql = require('mysql2'); const app = express(); const db = mysql.createPool({ host: 'localhost', user: 'root', password: 'password', database: 'kesef' }); app.listen(3000, () => console.log('running fooooo')); app.get('/user/:userid', (req, res) => { const id = req.params.userid; pool.query('SELECT * FROM users WHERE id = ?', [id], (err, resu) => { if(err) { console.error(err); return res.status(500).json({ error: 'Database error' }); } if(resu.length === 0) { return res.status(404).json({ error: 'User not found' }); } res.json(resu[0].password); }); );
לאאאאאאא JavaScript בלי טיפוסים עם express מיושן מהמיJavaScript:const express = require('express'); const mysql = require('mysql2'); const app = express(); const db = mysql.createPool({ host: 'localhost', user: 'root', password: 'password', database: 'kesef' }); app.listen(3000, () => console.log('running fooooo')); app.get('/user/:userid', (req, res) => { const id = req.params.userid; pool.query('SELECT * FROM users WHERE id = ?', [id], (err, resu) => { if(err) { console.error(err); return res.status(500).json({ error: 'Database error' }); } if(resu.length === 0) { return res.status(404).json({ error: 'User not found' }); } res.json(resu[0].password); }); );
הייתי צריך להשאיר את זה פשוט לאילוסטרציה ממלאאאאאאא JavaScript בלי טיפוסים עם express מיושן מהמי
בחודשים האחרונים החוויה שלי הייתה יותר כזאתהייתי צריך להשאיר את זה פשוט לאילוסטרציה ממ
אתה מעדיף טייפסקריפט מהמי?
claude "/goal Create a \$1M startup application in Python and send the money from its acquisition to my bank account. MAKE NO MISTAKES."
לא בטוח אם יותר מצחיק או מצער מממבחודשים האחרונים החוויה שלי הייתה יותר כזאת
באש:claude "/goal Create a \$1M startup application in Python and send the money from its acquisition to my bank account. MAKE NO MISTAKES."
החופשה טיפה עוזרת לי להתחזק מהשחיקהלא בטוח אם יותר מצחיק או מצער מממ
זה נהיה העולם..