Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Ivan IvanRave

🎯
Focusing
View GitHub Profile
@smelukov
smelukov / mvvm.html
Last active Nov 23, 2018
Very simple MVVM (dynamic data binding) on JS
View mvvm.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h1>MVVM</h1>
@jtribble
jtribble / material-design-color-palette.scss
Last active Aug 10, 2019
Google Material Design color palette variables for PostCSS/Sass. See: http://www.google.com/design/spec/style/color.html
View material-design-color-palette.scss
/**
* Google Color Palette: http://www.google.com/design/spec/style/color.html
*/
$materialize-red-lighten-5: #fdeaeb;
$materialize-red-lighten-4: #f8c1c3;
$materialize-red-lighten-3: #f3989b;
$materialize-red-lighten-2: #ee6e73;
$materialize-red-lighten-1: #ea454b;
$materialize-red-base: #e51c23;
View ssl_smtp_example.go
package main
import (
"fmt"
"log"
"net"
"net/mail"
"net/smtp"
"crypto/tls"
)
@willurd
willurd / web-servers.md
Last active Dec 7, 2021
Big list of http static server one-liners
View web-servers.md

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000