Skip to content

Instantly share code, notes, and snippets.

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

Seun D. F seunzone

🏠
Working from home
View GitHub Profile
@seunzone
seunzone / german-driving-license.md
Created April 21, 2024 20:01 — forked from blessanm86/german-driving-license.md
Quick Ref Notes for German Driving License Test

This is unmaintained and was created for personal use. As I passed the exam I have no use to keep this up to date. Feel free to fork

What are the consequences for a person driving a motor vehicle under the influence of drugs (e.g. hashish, heroin, cocaine)?

[x] Confiscation of driving licence or driving ban
[x] Compulsory medical/psychological examination
[x] Fine and/or imprisonment

In which instances do you have to approach a pedestrian crossing with particular care?

@seunzone
seunzone / formsubmit.html
Created August 11, 2020 20:30
HTML Mail Sample
<form action="https://formsubmit.co/[email protected]" method="POST">
<input type="text" name="name" required>
<input type="email" name="email" required>
<input type="tel" name="phone" required>
<button type="submit">Send</button>
</form>
import { Selector } from 'testcafe';
const title = Selector('h4');
fixture('Test')
.page('http://localhost:5000');
test('Test', async (t) => {
await t
.expect(title.innerText).eql('My Todo List')
@seunzone
seunzone / js
Created May 27, 2019 19:09
testcafe
import { Selector } from 'testcafe';
const title = Selector('h4');
fixture('Test')
.page('http://localhost:5000');
test('Test', async (t) => {
await t
.expect(title.innerText).eql('My Todo List')
const maxChar = str => {
const myStr = str.toLowerCase();
const charMap = {};
let max = 0;
let maxChar = '';
for (let char of myStr) {
if (!charMap[char]) {
charMap[char] = 1;
} else {