Skip to content

Instantly share code, notes, and snippets.

View GianCastle's full-sized avatar
🎯
Focus

Giancarlos Castillo GianCastle

🎯
Focus
View GitHub Profile
@sact1909
sact1909 / README.md
Last active March 5, 2020 10:21
SQL Server Store Procedure to Fill Table with a Web API

SQL Server

This script was made by Steven Checo

How it works

  • You need to run the following code once, before create the stored procedure
sp_configure 'show advanced options', 1;   
GO   
RECONFIGURE; 
@Dammmien
Dammmien / wget.sh
Last active January 11, 2026 02:36
wget cheat sheet
# POST a JSON file and redirect output to stdout
wget -q -O - --header="Content-Type:application/json" --post-file=foo.json http://127.0.0.1
# Download a complete website
wget -m -r -linf -k -p -q -E -e robots=off http://127.0.0.1
# But it may be sufficient
wget -mpk http://127.0.0.1
# Download all images of a website
@bendc
bendc / recursion.js
Created May 21, 2015 08:17
Functional loop
const loop = (() => {
const recur = (callback, count, i=0) => {
if (i == count-1) return callback(i);
callback(i);
return recur(callback, count, i+1);
};
return (callback, count) => {
if (count > 0) return recur(callback, count);
};
})();
@aponxi
aponxi / sql-mongo_comparison.md
Last active December 12, 2024 01:11
MongoDb Cheat Sheets

SQL to MongoDB Mapping Chart

SQL to MongoDB Mapping Chart

In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.

Executables

The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.