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
| 0. Counter App TS + JS Frontend | |
| 1. Splitter Bill +JS Frontend | |
| 2. Analyzer Sentiments Full Stack (frontend React, Backend Express ,Python) deployment Vercel + RAilway sau Render | |
| 3. Billy....Full Stack (react frontned, fastAPI pe backend + postgres) + AI https://aistudio.google.com/ LLM .... | |
| 4. Notes Google Keeeps Full Stack |
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 { useState } from 'react'; | |
| import './App.css'; | |
| export default function App() { | |
| const [bill, setBill] = useState(''); //valoarea curenta a facturii; setBill=>functia prin care modifici bill-ul | |
| const [tipPercentage, setTipPercentage] = useState(15); //procentul bacsisului ; valoarea initiala 15; modifica procentul | |
| const [customTip, setCustomTip] = useState(''); //se pastreaza un bacsis introdus manual de user | |
| const [people, setPeople] = useState( 1 );//numarul de oameni, setPeople . functie care modifica numarul de oameni |
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
| :root { | |
| --cyan-primary: #26c2ae; | |
| --bg-color: #c5e4e7; | |
| --dark-green: #00474b; | |
| --text-dark: #3d6666; | |
| --text-light: #7f9d9f; | |
| --bg-card: #ffffff; | |
| --bg-input: #f3f9fb; | |
| --error-color: #e17457; | |
| } |
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
| body { | |
| margin: 0; | |
| padding: 0; | |
| background-color: #e4ecfa; | |
| box-sizing: border-box; | |
| font-family: "Poppins", sans-serif; | |
| } | |
| /** Header **/ | |
| header { | |
| width: 100%; |
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
| /* | |
| const person = { | |
| nane:"john", | |
| age: 20, | |
| } | |
| for(const item in person ){ | |
| console.log(item); //key |
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
| function* generator( i ) { | |
| yield i; | |
| yield i * 2; | |
| yield i * i * 2; | |
| } | |
| const gen = generator( 10 ); | |
| console.log(gen.next().value); |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| // | |
| // Singly Linked List | |
| // | |
| // node1(data, next[0x231213])----> node2(data, next[])-->node3(data, next)---> node4--->NULL | |
| //avem 2 campuri = data si next un camp de referinta care retine adresa urmatorului node |
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
| /* | |
| Numere complexe: | |
| parte reala | |
| parte imaginara | |
| z1 = a + bi | |
| z2 = c + di | |
| unhde i^1 = -1 |
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
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <string>//strcpy(sir1, sir2) | |
| char* str_cpy(const char* src ) { | |
| if(src == NULL) return NULL; | |
| size_t len = sizeof( src ) + 1; //\0 |
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
| /* | |
| int **mat; | |
| //mat = (int*)malloc(m * sizeof(int*)); | |
| //mat = [ptr1, ptr2, ptr3..] | |
| for(int i = 0; i < lines; ++i) { | |
| mat[i] = (int*)malloc(n * sizeof(int)) |
NewerOlder