Skip to content

Instantly share code, notes, and snippets.

View baditaflorin's full-sized avatar

Florin Badita-Nistor baditaflorin

View GitHub Profile
#!/bin/bash
# Create a new React application
npx create-react-app database-frontend
cd database-frontend
# Install required dependencies
npm install tailwindcss postcss autoprefixer lucide-react
# Initialize Tailwind CSS
package main
import (
"fmt"
)
func main() {
// Loop 1000 times
for i := 1; i <= 1000; i++ {
// Print the iteration number with a message
@baditaflorin
baditaflorin / network-64174371-6f6.gexf
Created March 14, 2024 13:04
File sent from Gephi
<?xml version='1.0' encoding='UTF-8'?>
<gexf xmlns="http://gexf.net/1.3" version="1.3" xmlns:viz="http://gexf.net/1.3/viz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://gexf.net/1.3 http://gexf.net/1.3/gexf.xsd">
<meta lastmodifieddate="2024-03-14">
<creator>Gephi 0.10.1</creator>
<title></title>
<description></description>
</meta>
<graph defaultedgetype="directed" mode="static">
<nodes>
<node id="Uncle Vernon">
@baditaflorin
baditaflorin / network-e45cc604-a52.gexf
Created March 14, 2024 11:48
File sent from Gephi
<?xml version='1.0' encoding='UTF-8'?>
<gexf xmlns="http://gexf.net/1.3" version="1.3" xmlns:viz="http://gexf.net/1.3/viz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://gexf.net/1.3 http://gexf.net/1.3/gexf.xsd">
<meta lastmodifieddate="2024-03-14">
<creator>Gephi 0.10.1</creator>
<title></title>
<description></description>
</meta>
<graph defaultedgetype="directed" mode="static">
<nodes>
<node id="Uncle Vernon">
@baditaflorin
baditaflorin / gist:01eced7a93015353d9b5618c9c204a96
Created January 6, 2022 16:31
Johnny Decimal complex template
10-19 business
11 projects
11.01 current
11.02 arhived
12 company_1
13 volunteering
14 resume
15 youtube
16 activism
17 manufacturing
@baditaflorin
baditaflorin / main.yaml
Last active May 14, 2021 11:05 — forked from kbariotis/main.yaml
Ansible playbook for deploying a Node.js app to DigitalOcean
- name: DO
hosts: localhost
vars:
project_name: "PUT A NAME FOR YOUR PROJECT HERE"
do_token: "PUT YOUR DIGITAL OCEAN API KEY HERE ==> https://cloud.digitalocean.com/settings/api/tokens"
repository: "PUT YOUR REPOSITORY URL HERE"
- name: NODE | Clone/Pull repo
git:
repo: "{{repository}}"
U UNITY SOFTWARE INC COM 22.0 3038.76
RY ROYAL BK CDA COM 15.0 1074.94
SNE SONY CORP SPONSORED ADR 11.0 954.31
ABT ABBOTT LABS COM 9.0 948.43
AL AIR LEASE CORP CL A 20.8 724.21
VIACA VIACOMCBS INC CL A 20.0 638.22
ABBV ABBVIE INC COM 6.0 544.41
TFC TRUIST FINL CORP COM 13.0 513.86
MMM 3M CO COM 3.0 504.77
UMC UNITED MICROELECTRONICS CORP SPON ADR NEW 75.0 483.6
@baditaflorin
baditaflorin / ISCO-08-classification_structure.txt
Last active June 22, 2020 06:23
ISCO-08-classification_structure.txt
Definition of Structure:
Level: Level Name: Code Format: Number of Items:
Level 1 Major Group 1 10 items
Level 2 Sub-major Group 12 43 items
Level 3 MInor Group 121 130 items
Level 4 Unit Group 1211 436 items
@baditaflorin
baditaflorin / README.md
Created April 25, 2020 03:35 — forked from clhenrick/README.md
PostgreSQL & PostGIS cheatsheet (a work in progress)
@baditaflorin
baditaflorin / similarities.sh
Created September 17, 2019 22:14 — forked from RichardBronosky/similarities.sh
Identify how similar a file is to each file in a group of others.
#!/bin/bash
fileA="$1"
shift
for fileB in "$@"; do
(
# diff once grep twice with the help of tee and stderr
diff $fileA $fileB | \
tee >(grep -cE '^< ' >&2) | \
grep -cE '^> ' >&2