Skip to content

Instantly share code, notes, and snippets.

View baditaflorin's full-sized avatar

Florin Badita-Nistor baditaflorin

View GitHub Profile
@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 / medium_top_1000_tags.csv
Created June 4, 2017 11:14
This is based on a scrapping project that i did, where i downloaded the list with all of the posts from medium.com https://medium.com/@baditaflorin
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 7 columns, instead of 4. in line 8.
"tag_name","count_tag_name","avg_reading_time","avg_recommends","avg_image_count","distinct_users","avg_post_data"
"Startup","134323","2.71552486545965","13.9311510314689219","1.7488739828622053","61152","2016-04-14 18:21:12.174416+03"
"Life","104197","1.78386182016248","9.0952714569517357","0.96809888960334750521","50767","2016-05-15 04:42:14.355121+03"
"Politics","99301","3.14315696061383","7.8097400831814383","1.2824543559480771","44825","2016-06-28 05:55:29.552608+03"
"Entrepreneurship","94911","2.79053337648529","14.2673241247063038","1.5481977852935908","43454","2016-04-19 22:28:35.956523+03"
"Life Lessons","94414","2.40382926434131","13.9626114771114453","1.1250450145105599","45045","2016-06-02 19:01:39.876276+03"
"Travel","80332","2.97209768940031","3.3994672110740427","4.3289224717422696","35644","2016-04-19 07:09:28.578+03"
"Design","75555","2.80802184122601","24.1416848653298921","3.5368142412811859","36471","2016-04-08 01:06:35.247556+03"
"Education","68855","2.74605567601954","6.1865369254229903"
@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)
We can't make this file beautiful and searchable because it's too large.
"user_username","article_url","image_count","post_tags","recommends","reading_time","title","text","link_count"
"neuroecology","https://medium.com/@neuroecology/punctuation-in-novels-8f316d542ec4","22","{Writing,Literature,""Data Visualization""}","2670","3.67641509433962","Punctuation in novels","","1"
"eklimcz","https://medium.com/truth-labs/designing-data-driven-interfaces-a75d62997631","14","{""Data Visualization"",""Design Thinking"",UX}","2660","7.83867924528302","Designing Data-Driven Interfaces","","2"
"quincylarson","https://medium.com/free-code-camp/the-economics-of-working-remotely-28d4173e16e2","5","{Tech,""Life Lessons"",""Data Science"",Travel,Startup}","2068","3.95786163522013","Fitter. Happier. More productive. Working remotely.","Travel the world as a digital nomad. Surf a new beach every morning. Eat a different local cuisine each night.
Or just stay home all day in your pajamas.
It doesn’t really matter. You can get your work done either way.
More than 10% of Americans now work remotely.
I’
@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