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 express = require('express') | |
const bodyParser = require('body-parser') | |
let app = express() | |
app.use(cors()) | |
app.use(bodyParser.json()) | |
app.use(bodyParser.urlencoded({ extended: true })) | |
app.post('/', (req, res) => { |
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
function foo(extra param) { | |
tab.some(tabElement => callbackFunction(tabElement, address)) { | |
console.log(address); | |
} | |
} |
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
struct s_flags | |
{ | |
char flag; | |
int (*p)(int a, int b); | |
}; | |
typedef struct s_flags t_flags; | |
t_flags flags[]= { | |
{'d', is_d}, | |
{'i', is_i}, |
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
/* **************************************************************** */ | |
/* Create/Insert chained list */ | |
/* (With Next&Prev) */ | |
/* 1_ Insert in the front */ | |
/* 2_ Insert in the back */ | |
/* */ | |
/* **************************************************************** */ | |
t_list *ft_insert_front(t_list *list, char *content) | |
{ |
NewerOlder