This file contains hidden or 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> | |
struct list_node | |
{ | |
int value; | |
list_node* next; | |
list_node( int value ) : value( value ), next( NULL ) {} | |
}; | |
void insert_before( list_node** head, list_node* before_this, list_node* insert_this) |
This file contains hidden or 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 <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
struct list_node | |
{ | |
const char * name; | |
list_node* next; | |
}; |
This file contains hidden or 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 request = require('request'); | |
const cheerio = require('cheerio'); | |
const fs = require('fs'); | |
const util = require('util'); | |
run(); | |
async function run(){ | |
try{ |
This file contains hidden or 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 createFieldRow(objects, row, design_row, readonly) { | |
var log = GLOBALS.CONTROL.getLog(); | |
var column = row.column; | |
var column2 = row.column2; | |
var global_edit_group = objects._CONTROL.edit_group; | |
var edit_group = row.edit_group; | |
if (edit_group === null) edit_group = -1; |
This file contains hidden or 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 O(){}; | |
O.func1=function (){ | |
console.log(); | |
} | |
O.func2=function (){ | |
var argg = 1; | |
func1(); | |
return argg; |
This file contains hidden or 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
let p = new Promise((resolve, reject) => resolve() ) | |
.then( () =>{ | |
let ARR = [0]; | |
return ARR; | |
}) | |
.then( (ARR) =>{ | |
ARR.push(1); | |
let p_inner = new Promise( | |
(inner_resolve, inner_reject) =>{ |
This file contains hidden or 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
int main() | |
{ | |
int random_stack_var; | |
printf("stack %p\n", &random_stack_var); | |
const char* c_pointer = "Hello"; | |
printf("c_pointer %p : %s\n", c_pointer, c_pointer); | |
const char* c_pointer_arr[] = { "Hello", "World" }; | |
printf("c_pointer_arr %p\n", c_pointer_arr); |
This file contains hidden or 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
int main() | |
{ | |
int random_stack_var; | |
printf("stack %p\n", &random_stack_var); | |
puts(""); | |
const char* c_pointer = "Hello"; | |
printf("&c_pointer %p (size %u)\n", &c_pointer, sizeof(c_pointer)); | |
printf("c_pointer %p : %s\n", c_pointer, c_pointer); | |
puts(""); |
This file contains hidden or 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 request = require('request'); | |
const cheerio = require('cheerio'); | |
const fs = require('fs'); | |
const util = require('util'); | |
async function load(){ | |
let url = 'https://somesite'; |
This file contains hidden or 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
public object getTablesSchema(int a) | |
{ | |
using (SqlConnection conn = getConnection("")) | |
return getTablesSchema_impl(conn); | |
} | |
public object getTablesSchema_customDB(string db_name) | |
{ | |
try { |