When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| #include <stdio.h> | |
| #include "bgfx/bgfx.h" | |
| #include "bgfx/platform.h" | |
| #include "bx/math.h" | |
| #include "GLFW/glfw3.h" | |
| #define GLFW_EXPOSE_NATIVE_WIN32 | |
| #include "GLFW/glfw3native.h" | |
| #define WNDW_WIDTH 1600 | |
| #define WNDW_HEIGHT 900 |

A curated list of awesome Go frameworks, libraries and software. Inspired by awesome-python.
| extern crate amethyst; | |
| extern crate image; | |
| use amethyst::{ | |
| assets::Loader, | |
| core::{ | |
| nalgebra::{Vector2, Vector3}, | |
| Transform, TransformBundle, | |
| }, | |
| input::InputBundle, |
| version: "3" | |
| networks: | |
| kong-net: | |
| driver: bridge | |
| services: | |
| ####################################### | |
| # Postgres: The database used by Kong |
| package main | |
| import ( | |
| "crypto/tls" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/user" |
| package fragments | |
| import ( | |
| "net/http" | |
| "io" | |
| "log" | |
| "strings" | |
| "os" | |
| "bytes" | |
| ) |
| # From https://stackoverflow.com/questions/29547218/ | |
| # remove-silence-at-the-beginning-and-at-the-end-of-wave-files-with-pydub | |
| from pydub import AudioSegment | |
| def detect_leading_silence(sound, silence_threshold=-50.0, chunk_size=10): | |
| ''' | |
| sound is a pydub.AudioSegment | |
| silence_threshold in dB | |
| chunk_size in ms |