- curl -4 wttr.in/hamburg
- curl ipinfo.io
- curl https://ifconfig.me
var http = require('http'); | |
http.createServer(function (request, response) { | |
response.setHeader('Content-Type', 'text/html; charset=UTF-8'); | |
//response.setHeader('Transfer-Encoding', 'chunked'); | |
var html = | |
'<!DOCTYPE html>' + | |
'<html lang="en">' + | |
'<head>' + |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Title</title> | |
<link href="stylesheets/main.css" rel="stylesheet" /> | |
</head> | |
<body> | |
<header> | |
<hgroup> |
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen | |
and (min-device-width : 320px) and (max-device-width : 480px) { | |
/* Styles */ | |
} | |
/* Smartphones (landscape) ----------- */ | |
@media only screen and (min-width : 321px) { | |
/* Styles */ | |
} |
#!/bin/bash | |
git_host='[email protected]:' | |
git_url='https://github.com/' | |
remote=`git config --get remote.origin.url` | |
host=${remote:0:15} | |
if [ $host = $git_host ] | |
then | |
url=${remote/$git_host/$git_url} |
/* Times New Roman-based serif */ | |
font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif; | |
/* A modern Georgia-based serif */ | |
font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif," "Bitstream Vera Serif", "Liberation Serif", Georgia, serif; | |
/*A more traditional Garamond-based serif */ | |
font-family: "Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif; | |
/*The Helvetica/Arial-based sans serif */ |
.container { | |
min-height: 6.5em; | |
display: table-cell; | |
vertical-align: middle; | |
} |
#colorbox { | |
background: #629721; | |
background-image: -webkit-gradient(linear, left top, left bottom, from(#83b842), to(#629721)); | |
background-image: -webkit-linear-gradient(top, #83b842, #629721); | |
background-image: -moz-linear-gradient(top, #83b842, #629721); | |
background-image: -ms-linear-gradient(top, #83b842, #629721); | |
background-image: -o-linear-gradient(top, #83b842, #629721); | |
background-image: linear-gradient(top, #83b842, #629721); | |
} |
#columns-3 { | |
text-align: justify; | |
-ms-column-count: 3; | |
-ms-column-gap: 12px; | |
-ms-column-rule: 1px solid #c4c8cc; | |
-moz-column-count: 3; | |
-moz-column-gap: 12px; | |
-moz-column-rule: 1px solid #c4c8cc; | |
-webkit-column-count: 3; | |
-webkit-column-gap: 12px; |
body { | |
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
-khtml-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; | |
} |