Skip to content

Instantly share code, notes, and snippets.

View IvanRave's full-sized avatar
🎯
Focusing

Ivan IvanRave

🎯
Focusing
View GitHub Profile
@jtribble
jtribble / material-design-color-palette.scss
Last active August 10, 2019 15:53
Google Material Design color palette variables for PostCSS/Sass. See: http://www.google.com/design/spec/style/color.html
/**
* 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;
@smelukov
smelukov / mvvm.html
Last active May 27, 2023 10:58
Very simple MVVM (dynamic data binding) on JS
<!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>
@chrisgillis
chrisgillis / ssl_smtp_example.go
Created April 16, 2014 14:48
Golang SSL SMTP Example
package main
import (
"fmt"
"log"
"net"
"net/mail"
"net/smtp"
"crypto/tls"
)
@willurd
willurd / web-servers.md
Last active April 25, 2024 09:21
Big list of http static server one-liners

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