Skip to content

Instantly share code, notes, and snippets.

View whimsyniche's full-sized avatar

Victor whimsyniche

View GitHub Profile
<!-- Preloader Start -->
<div class="preloader--1 Preloader">
<div class="preloader--1-spinners">
<div class="preloader--1-spinner preloader--1-spinner-1"></div>
<div class="preloader--1-spinner preloader--1-spinner-2"></div>
</div>
</div>
<!-- Preloader End -->
const express = require('express');
const app = express();
const mysql = require('mysql');
const pool = mysql.createPool({
connectionLimit : 10,
host: "localhost",
user: "yourusername",
password: "yourpassword"
});
@whimsyniche
whimsyniche / linkedin_js_quiz_on_export.js
Created June 19, 2021 20:49
What is wrong with this code? LinkedIn JavaScript Assessment quiz
const baz = () => "Hello, world!";
export const foo = {
name: "Albert"
};
export function bar(){
return 42;
}
<!DOCTYPE html>
<html>
<body>
<h2>Code CracklePop</h2>
<p id="print"></p>
<script>
@whimsyniche
whimsyniche / Mac Homebrew from Snazzy Labs.txt
Created May 20, 2019 06:46
CLI commands - Advanced macOS Tricks and Utilities Using Terminal! from YouTube Snazzy Labs
credits & twitter: Quinn Nelson @SnazzyQ
youtube video: https://www.youtube.com/watch?v=Ym2pxzWpTNw
pastebin: https://pastebin.com/jV9XzPrs
**PRELIMINARY**
// Install Xcode Tools: xcode-select —install
// Install Homebrew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
**CASK**
//Install Cask brew install cask