Skip to content

Instantly share code, notes, and snippets.

@nicolasdao
nicolasdao / network_tools_guide.md
Last active May 2, 2024 02:17
Network tools guide. Keywords: wireshark network traffic dump dumpcap tcpdump tcpreplay tcpwrite curl ngrok ng grok
@nicolasdao
nicolasdao / seo_sem_guide.md
Last active May 2, 2024 02:17
SEO/SEM guide. Keywords: seo sem ux ttfb noindex robots.txt sitemap robots bundle
@nicolasdao
nicolasdao / user_engagement.md
Last active May 2, 2024 02:16
What is engagement and what it matters. Keywords: engage engagement
@nicolasdao
nicolasdao / command_output_piped_to_node.js
Last active May 2, 2024 02:16
Nifty trick to pipe any command into a JS program for further processing. Keywords: js piping pipe nodejs node command
// In your package.json, add a script similar to this:
// "scripts": {
// "pipe": "ls | node ingestOutput"
// }
let data=''
const printInfo = msg => console.log(`\x1b[1m\x1b[36mi ${msg}\x1b[0m`)
const printError = msg => console.log(`\x1b[1m\x1b[31mx ${msg}\x1b[0m`)
@nicolasdao
nicolasdao / docker_guide.md
Last active May 2, 2024 02:16
Docker Guide. Keywords: docker

DOCKER GUIDE

Docker is a tool that follows the Cattle, no pets DevOps mantra. It describes your hosting environment via a Dockerfile. Each system deployment results in an entirely new reprovisionned hosting environment while the other is decommissioned in the background. Docker achieves this by making it cheap to create new system images to spawn fleets of new containers.

Table of contents

@nicolasdao
nicolasdao / google_cloud_run_guide.md
Last active May 2, 2024 02:16
Google Cloud Run. Keywords: google cloud run cloudrun googlecloudrun googlecloud
@nicolasdao
nicolasdao / netcore_guide.md
Last active May 2, 2024 02:16
.NET Core guide. Keywords: c# .net dotnet core netcore
@nicolasdao
nicolasdao / windows_server_guide.md
Last active May 2, 2024 02:16
Windows server in the Cloud. Keywords: microsoft windows server cloud ec2

GUIDE TO WINDOWS SERVER IN THE CLOUD

Table of contents

Connecting to a MSSQL server

Testing MSSQL server is accessible

The easiest way to test the VM has access to a specific MSSQL server is to run a dummy query against it. The best tool to do this is the sqlcmd Utility. Google download sqlcmd Utility to find the link where this command line tool can be installed. Once installed, this utility is usually installed under a path similar to C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\sqlcmd.exe.