Skip to content

Instantly share code, notes, and snippets.

FellowshipID FirstName Skills
1001 Frodo Hiding
1002 Samwise Gardening
1003 Gandalf Spells
1004 Pippin Fireworks
FellowshipID FirstName Age
1001 Frodo 50
1002 Samwise 39
1006 Legolas 2931
1007 Elrond 6520
1008 Barromir 51
FellowshipID,FirstName,Skills
1001,Frodo,Hiding
1002,Samwise,Gardening
1003,Gandalf,Spells
1004,Pippin,Fireworks
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 23 columns, instead of 5 in line 8.
Employee_ID,Gender,Age,Education_Level,Relationship_Status,Hometown,Unit,Decision_skill_possess,Time_of_service,Time_since_promotion,growth_rate,Travel_Rate,Post_Level,Pay_Scale,Compensation_and_Benefits,Work_Life_balance,VAR1,VAR2,VAR3,VAR4,VAR5,VAR6,VAR7
EID_22713,F,32.0,5,Single,Springfield,R&D,Conceptual,7.0,4,30,1,5,4.0,type2,1.0,3,-0.9612,-0.4537,2.0,1,8,4
EID_9658,M,65.0,2,Single,Lebanon,IT,Directive,41.0,2,72,1,1,1.0,type2,1.0,4,-0.9612,0.7075,1.0,2,8,2
EID_22203,M,52.0,3,Married,Springfield,Sales,Directive,21.0,3,25,0,1,8.0,type3,1.0,4,-0.1048,0.7075,2.0,1,9,3
EID_7652,M,50.0,5,Single,Washington,Marketing,Analytical,11.0,4,28,1,1,2.0,type0,4.0,3,-0.1048,0.7075,2.0,2,8,3
EID_6516,F,44.0,3,Married,Franklin,R&D,Conceptual,12.0,4,47,1,3,2.0,type2,4.0,4,1.6081,0.7075,2.0,2,7,4
EID_20283,F,22.0,4,Married,Franklin,IT,Behavioral,3.0,1,53,0,3,6.0,type2,1.0,3,,-0.4537,2.0,3,8,3
EID_21014,M,42.0,3,Married,Washington,Purchasing,Analytical,6.0,4,35,1,3,4.0,type2,1.0,3,0.7516,1.8688,2.0,3,7,3
EID_7693,F,41.0,2,Mar
We can't make this file beautiful and searchable because it's too large.
Employee_ID,Gender,Age,Education_Level,Relationship_Status,Hometown,Unit,Decision_skill_possess,Time_of_service,Time_since_promotion,growth_rate,Travel_Rate,Post_Level,Pay_Scale,Compensation_and_Benefits,Work_Life_balance,Attrition_rate
EID_23371,F,42,4,Married,Franklin,IT,Conceptual,4,4,33,1,1,7,type2,3,0.1841
EID_18000,M,24,3,Single,Springfield,Logistics,Analytical,5,4,36,0,3,6,type2,4,0.067
EID_3891,F,58,3,Married,Clinton,Quality,Conceptual,27,3,51,0,2,8,type2,1,0.0851
EID_17492,F,26,3,Single,Lebanon,Human Resource Management,Behavioral,4,3,56,1,3,8,type2,1,0.0668
EID_22534,F,31,1,Married,Springfield,Logistics,Conceptual,5,4,62,1,3,2,type3,3,0.1827
EID_2278,M,54,3,Married,Lebanon,Purchasing,Conceptual,19,1,21,2,5,9,type2,1,0.7613
EID_18588,F,21,4,Married,Springfield,Purchasing,Directive,2,1,50,1,1,6,type2,2,0.2819
EID_1235,F,,3,Married,Springfield,Sales,Directive,34,4,23,1,4,6,type3,2,0.1169
EID_10197,M,40,4,Single,Springfield,Production,Analytical,13,1,49,0,1,9,type0,4,0.1968
@Jatapiaro
Jatapiaro / xmodmap.sh
Created July 2, 2025 17:58
Match macOS commands on Linux
#!/bin/bash
remove control = Control_L
remove control = Control_R
remove mod4 = Control_L
remove mod4 = Super_L
remove mod4 = Super_R
keycode 115 = End
keycode 133 = Control_L
keycode 134 = Super_R
add control = Control_L
@Jatapiaro
Jatapiaro / paste_something.sh
Created July 2, 2025 16:58
Paste Something
echo "qwerty" | pbcopy
sleep 0.2
osascript -e 'tell application "System Events" to keystroke "v" using {command down}'
(sleep 10 && pbcopy < /dev/null) &
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
sshCommand = ssh -i ~/.ssh/id_rsa_jatapiarogithub
[user]
email = [email protected]
@Jatapiaro
Jatapiaro / iTerm2.md
Last active February 23, 2021 22:35
iTerm2 configuration
  1. Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  1. Copy the next code and save it as md.itermcolors
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<html>
<head>
<title>¡Super!</title>
</head>
<body>
<h1>Your example domain is ready</h1>
</body>
</html>
<VirtualHost *:80>