Skip to content

Instantly share code, notes, and snippets.

View MBing's full-sized avatar
🍫
Our Dreams Will Break The Boundaries Of Our Fears.

Martin I. Demiddel MBing

🍫
Our Dreams Will Break The Boundaries Of Our Fears.
View GitHub Profile
@MBing
MBing / install_wlan_dongle.sh
Last active April 3, 2024 05:20
install TP-Link-WN725N Nano USB Wifi on Raspberry Pi with Kernel 5.10+
# DO NOT PUT THE WIFI DONGLE IN THE DEVICE BEFORE MENTIONED EXPLICITLY BELOW
# Brief note, after this the UI will not show the usb dongle,
# the wifi does work and I get an IP address, so all works,
# but I don't go into detail of making it show on the Raspbian UI.
# (for this purpose I don't care about the UI)
# For the use of this I connected my device to an ethernet connection and through the Router could see the IP which I can SSH into.
## STEP 1: Prepare machine and install packages needed
@MBing
MBing / Mailer.js
Created July 17, 2019 09:26
Sendgrid v3 updated version
const sgMail = require('@sendgrid/mail'); // separate Node package
const helpers = require('@sendgrid/helpers'); // separate Node package
const keys = require('../config/keys'); // some place where you store your API keys
class Mailer extends helpers.classes.Mail {
// Through the use of Static methods from the Mail helper Class, you create a sendgrid compliant instance that can be send easily
constructor({ subject, recipients }, content) {
super();
this.setFrom('no-reply@emaily.com'); // uses the EmailAddress.create method
this.setSubject(subject);
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>My Webpage</title>
</head>
<body>
<nav>
<a href="#home">Home</a> |
@MBing
MBing / index.html
Created July 29, 2018 16:12
My First Page // source http://jsbin.com/ponofeb
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>My First Page</title>
</head>
<body>
<h1 style="color: green">Hello Skillshare</h1>
@MBing
MBing / index.html
Created July 29, 2018 16:08
My First Page // source http://jsbin.com/timiyaq
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>My First Page</title>
</head>
<body>
<h1>Hello Skillshare</h1>