Skip to content

Instantly share code, notes, and snippets.

View maruthiprithivi's full-sized avatar
👨‍💻
Builder @typeless

Maruthi Prithivirajan maruthiprithivi

👨‍💻
Builder @typeless
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 5.
categoryID,categoryName,description,picture
1,Beverages,"Soft drinks, coffees, teas, beers, and ales",0x151C2F00020000000D000E0014002100FFFFFFFF4269746D617020496D616765005061696E742E5069637475726500010500000200000007000000504272757368000000000000000000A0290000424D98290000000000005600000028000000AC00000078000000010004000000000000000000880B0000880B0000080000
2,Condiments,"Sweet and savory sauces, relishes, spreads, and seasonings",0x151C2F00020000000D000E0014002100FFFFFFFF4269746D617020496D616765005061696E742E5069637475726500010500000200000007000000504272757368000000000000000000A0290000424D98290000000000005600000028000000AC00000078000000010004000000000000000000880B0000880B0000080000
3,Confections,"Desserts, candies, and sweet breads",0x151C2F00020000000D000E0014002100FFFFFFFF4269746D617020496D616765005061696E742E5069637475726500010500000200000007000000504272757368000000000000000000A0290000424D98290000000000005600000028000000AC00000078000000010004000000000000000000880B0000880B0000080000
4,Dairy Products,"Cheeses
@maruthiprithivi
maruthiprithivi / disease.csv
Created November 26, 2021 09:28
nus_datathon_workshop_Data
We can't make this file beautiful and searchable because it's too large.
ko,name,description,disease_category
"H02108","Basal laminar drusen","Basal laminar drusen (BLD, also termed cuticular drusen or early adult onset grouped drusen) is an early-onset-drusen phenotype that shows a pattern of uniform small (25 to 75 micrometer), slightly raised, yellow subretinal nodules randomly scattered in the macula. In later stages, these drusen often become more numerous, with clustered groups of drusen scattered throughout the retina. It has been reported that a variant in CFH gene is strongly associated with this disease.","Nervous system disease"
"H00835","Succinic semialdehyde dehydrogenase deficiency","Succinic semialdehyde dehydrogenase (SSADH) deficiency, also known as 4-hydroxybutyric aciduria (4-HBA), is an autosomal recessive inborn error of metabolism. Clinical features include intellectual disability with prominent deficits in expressive language, hypotonia, nonprogressive ataxia, and hyporeflexia. The causative gene is aldehyde dehydrogenase 5 family, member A1 (ALDH5A1) encodi
@maruthiprithivi
maruthiprithivi / sng_education.csv
Last active September 14, 2021 06:12
Neo4j Social Network Graph
passportnumber name country nameofinstitution course startyear endyear
MNO9101PQR Anil Kumar Malaysia Raika Primary School - 1978 1983
MNO9101PQR Anil Kumar Malaysia Baranagar Middle School All India Secondary School Examination 1984 1985
MNO9101PQR Anil Kumar Malaysia St George’s Junior High School - 1986 1987
MNO9101PQR Anil Kumar Malaysia St George’s Senior High School All India Senior School Certificate Examination 1988 1989
MNO9101PQR Anil Kumar Vietnam Smart National University of Vietnam Bachelor of Business Administration 1992 1995
GHI5678JKL Alice Gan Malaysia Sekolah Rendah Kebangsaan Peringgit Ujian Percapaian Sekolah Rendah 1978 1983
GHI5678JKL Alice Gan Malaysia Sekolah Menengah Kebangsaan Chung Hua Penilaian Menengah Rendah 1984 1986
GHI5678JKL Alice Gan Malaysia Sekolah Menengah Kebangsaan Chung Hua Sijil Pelajaran Malaysia 1987 1989
GHI5678JKL Alice Gan Vietnam Smart National University of Vietnam Bachelor of Business Administration 1992 1995
@maruthiprithivi
maruthiprithivi / customers.csv
Last active September 24, 2023 06:54
Neo4j data ingestion example from CSV using Cypher
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 12 columns, instead of 10. in line 7.
CIF,Age,EmailAddress,FirstName,LastName,PhoneNumber,Gender,Address,Country,JobTitle,CardNumber,AccountNumber
1,26,Greta_Swan6281@corti.com,Greta,Swan,6-254-223-4334,Female,"Armory Tunnel, 3699",Egypt,Bellman,348-14-6088,650-63-6154
2,41,Rebecca_Corbett5111@ovock.tech,Rebecca,Corbett,5-720-670-7047,Female,"Apostle Tunnel, 4850",Madagascar,Clerk,285-83-6186,875-13-4278
3,68,Dani_Flanders7065@qater.org,Dani,Flanders,8-150-728-6781,Female,"Bishop Street, 1298",The Gambia,Business Broker,811-84-3310,566-83-8044
4,68,Morgan_James9389@sveldo.biz,Morgan,James,7-215-157-6623,Female,"Wadham Avenue, 8018",Guinea-Bissau,Banker,773-80-8680,532-16-1750
5,51,Erick_Ingram7572@extex.org,Erick,Ingram,8-603-106-4884,Male,"Chamberlain Pass, 3481",Russia,Electrician,171-24-1530,683-00-5812
6,52,Hayden_Garcia8505@extex.org,Hayden,Garcia,2-225-676-6758,Male,"Shepherds Grove, 5504",Solomon Islands,Banker,110-44-7471,060-21-3317
7,62,Mark_Jobson9521@eirey.tech,Mark,Jobson,4-301-266-1565,Male,"Parkfield Walk, 4086",Japan,Syste
@maruthiprithivi
maruthiprithivi / actors.csv
Last active June 13, 2021 11:33
movies-dataset
title roles person born
Something's Gotta Give Julian Mercer Keanu Reeves 1970
Johnny Mnemonic Johnny Mnemonic Keanu Reeves 1970
The Replacements Shane Falco Keanu Reeves 1970
The Devil's Advocate Kevin Lomax Keanu Reeves 1970
The Matrix Revolutions Neo Keanu Reeves 1970
The Matrix Reloaded Neo Keanu Reeves 1970
The Matrix Neo Keanu Reeves 1970
The Matrix Revolutions Trinity Carrie-Anne Moss 1970
The Matrix Reloaded Trinity Carrie-Anne Moss 1970
@maruthiprithivi
maruthiprithivi / Spark+ipython_on_MacOS.md
Created December 6, 2015 22:05 — forked from ololobus/Spark+ipython_on_MacOS.md
Apache Spark installation + ipython notebook integration guide for Mac OS X

Apache Spark installation + ipython notebook integration guide for Mac OS X

Tested with Apache Spark 1.3.1, Python 2.7.9 and Java 1.8.0_45 + workaround for Spark 1.4.x from @enahwe.

Install Java Development Kit

Download and install it from oracle.com

@maruthiprithivi
maruthiprithivi / install_spark.md
Created December 6, 2015 22:04 — forked from hkhamm/install_spark.md
Install, Setup, and Test Spark and Cassandra on Mac OS X

Install, Setup, and Test Spark and Cassandra on Mac OS X

This Gist assumes you already followed the instructions to install Cassandra, created a keyspace and table, and added some data.

Install Apache Spark

brew install apache-spark
@maruthiprithivi
maruthiprithivi / README.md
Last active August 29, 2015 14:13 — forked from mbostock/.block

The tree layout implements the Reingold-Tilford algorithm for efficient, tidy arrangement of layered nodes. The depth of nodes is computed by distance from the root, leading to a ragged appearance. Cartesian orientations are also supported. Implementation based on work by Jeff Heer and Jason Davies using Buchheim et al.'s linear-time variant of the Reingold-Tilford algorithm. Data shows the Flare class hierarchy, also courtesy Jeff Heer.

Compare to this Cartesian layout.

@maruthiprithivi
maruthiprithivi / README.md
Last active August 29, 2015 14:13 — forked from mbostock/.block

The tree layout implements the Reingold-Tilford algorithm for efficient, tidy arrangement of layered nodes. The depth of nodes is computed by distance from the root, leading to a ragged appearance. Cartesian orientations are also supported. Implementation based on work by Jeff Heer and Jason Davies using Buchheim et al.'s linear-time variant of the Reingold-Tilford algorithm. Data shows the Flare class hierarchy, also courtesy Jeff Heer.

Compare to this Cartesian layout.

@maruthiprithivi
maruthiprithivi / README.md
Last active August 29, 2015 14:13 — forked from mbostock/.block

The tree layout implements the Reingold-Tilford algorithm for efficient, tidy arrangement of layered nodes. The depth of nodes is computed by distance from the root, leading to a ragged appearance. Cartesian orientations are also supported. Implementation based on work by Jeff Heer and Jason Davies using Buchheim et al.'s linear-time variant of the Reingold-Tilford algorithm. Data shows the Flare class hierarchy, also courtesy Jeff Heer.

Compare to this Cartesian layout.