Skip to content

Instantly share code, notes, and snippets.

View nielsdoorn's full-sized avatar
🏗️
Building better software testing education

Niels Doorn nielsdoorn

🏗️
Building better software testing education
View GitHub Profile
@nielsdoorn
nielsdoorn / madlib.py
Created May 11, 2022 08:04
An example of a MadLib Python exercise
v = input("Insert a verb:")
pn = input("Insert a plural noum:")
n = input("Insert a noun:")
a = input("Insert an adjective:")
print("\nWhether you "+ v+ "\n"
"computer programs to\n"
"solve "+pn+" or just\n"
"for "+ n+ ", it is very\n"
"important that you\n"
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="wrapper">
<div id="header">
@nielsdoorn
nielsdoorn / juffenspel.rb
Created April 28, 2015 07:26
juffenspel
for i in 1..300
if i % 7 == 0 or i.to_s.include? '7'
puts "juf"
else
puts i
end
end
#footer {
background-color: #1d1b1b;
color: white;
text-align: center;
padding: 50px;
}
ul {
list-style-type: none;
padding: 0;
.blok {
background-color: red;
width: 300px;
heigth: 200px;
}
.belangrijk {
color: blue;
}
.blok {
width: 280px;
height: 180px;
transition: .2s;
background: url('http://placekitten.com/g/310/310');
background-size: 280px 280px;
opacity: 0.4;
}
.blok:hover {
.blok {
width: 280px;
height: 180px;
transition: .2s;
background: url('http://placekitten.com/g/310/310');
background-size: 280px 280px;
opacity: 0.4;
}
.blok:hover {
img {
border-radius: 50%;
}
.menu {
list-style-type: none;
padding: 10px 0;
margin: 0;
background: linear-gradient(90deg, yellow 40px, rgba(0,0,0,0) 40px);;
}
.menuitem {
margin-top: 50px;
margin-left: 10px;
@nielsdoorn
nielsdoorn / dabblet.css
Last active August 29, 2015 14:17
Untitled
@import url(http://fonts.googleapis.com/css?family=Permanent+Marker);
body {
font-family: 'Permanent Marker', cursive;
color: white;
text-align: center;
background-color: #cb1c26;
}
ul {