Skip to content

Instantly share code, notes, and snippets.

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

Florian florianjs

🏠
Working from home
View GitHub Profile
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@florianjs
florianjs / style.css
Last active April 21, 2020 12:29
Global Style for style.css Starting Template
/* Montserrat Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700&display=swap');
/* Global Style Starting Template*/
*{
margin: 0;
padding: 0;
box-sizing: border-box
}
@florianjs
florianjs / main.go
Last active April 14, 2020 16:48
A simple P2P chat with Noise
package main
import (
"bufio"
"context"
"errors"
"fmt"
"io"
"os"
"os/signal"
package main
import (
"bufio"
"flag"
"fmt"
"os"
"strings"
"github.com/fatih/color"
@florianjs
florianjs / dumb.html
Created February 16, 2020 07:28
Stars effect on Background
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./styles.css" />
<link
href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
rel="stylesheet"
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN"
@florianjs
florianjs / README.txt
Last active February 23, 2020 15:18
Tailwind CSS V1.2.0 - PurgeCSS config file
Install all packages:
npm init -y
npm i postcss-cli postcss cssnano @fullhuman/postcss-purgecss tailwindcss --save-dev
npm i watch --save-dev // ( optionnal )
package.json :
Change the path to your styles.css and main.css ( "build:css": "postcss YOUR_PATH/styles.css -o YOUR_PATH/main.css", )
postcss.config.js :
Change the path to your *.html files and *.js files (if needed) in line 13