This file contains 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 csvFilePath='./password.csv' | |
const csv = require('csvtojson'); | |
const fs = require('fs'); | |
function getUrl(record) { | |
if (record.URL !== '') return record.URL; | |
if (record.url !== '') return record.url; | |
return record['URL:']; | |
} |
This file contains 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 <string.h> | |
#define MAX_STR_LEN 80 | |
typedef struct link_node { | |
char node_str[MAX_STR_LEN]; | |
struct link_node *next; | |
} node; |