Skip to content

Instantly share code, notes, and snippets.

View JennieJi's full-sized avatar
🏠
Working from home

Jennie JennieJi

🏠
Working from home
View GitHub Profile
@donysukardi
donysukardi / Code.gs
Last active December 14, 2020 08:24
Google Sheets Apps Script
// 1. Run > setup
// - to set the document id
//
// 2. Publish > Deploy as web app
// - enter Project Version name and click 'Save New Version'
// - set security level and enable service (most likely execute as 'me' and access 'anyone, even anonymously)
//
// 3. Copy the 'Current web app URL' and post this in your form/script action
//
// 4. Insert column names on your destination sheet matching the parameter names of the data you are passing in (exactly matching case)
@sid24rane
sid24rane / net.js
Last active March 30, 2025 23:09
Simple TCP Client and Server in Node.js (Covering all useful Properties & Methods)
var net = require('net');
// creates the server
var server = net.createServer();
//emitted when server closes ...not emitted until all connections closes.
server.on('close',function(){
console.log('Server closed !');
});