Skip to content

Instantly share code, notes, and snippets.

View shahoob's full-sized avatar

Shehab Ali Tweel shahoob

View GitHub Profile
@shahoob
shahoob / app.js
Last active September 17, 2020 13:31
Basic Express.js v4 Hello, World Example
// This code is also express@5 compatible!
const express = require('express');
const app = express();
const port = 3000; // You can change the port by replacing '3000' with any number. But not like this: 'your port here'
app.get('/', (req, res) => res.send('Hello, World!'));
app.listen(port, () => console.log(`Server started on ${port}
To connect to your server, go to http://localhost:${port}
@shahoob
shahoob / greet.ts
Last active October 16, 2020 18:39
Basic TypeScript Example: Greeter
export function greet(name: string) {
return `Hello ${name}`;
}
console.log(greet('Shehab'));
// Hello Shehab
@shahoob
shahoob / sponsorblock mirrors (both db and api)
Created November 18, 2022 08:10
sponsorblock mirrors (both db and api) (re-upload)
https://sponsorblock.kavin.rocks
https://sponsorblock.gleesh.net
https://sb.theairplan.com
https://sb.doubleuu.win
https://sponsorblock.hankmccord.dev
----------------------------------------------------
for SponsorBlock web-extension: