Skip to content

Instantly share code, notes, and snippets.

@BigEd
BigEd / greenbar.html
Created April 5, 2017 15:05
green bar paper in css
<!DOCTYPE html>
<html>
<head>
<style>
html {
background: #dddddd;
background-image:
radial-gradient(rgba(221,221,221,0) 0%, rgba(221,221,221,0) 29%, #ffffff 31%, #ffffff 100%),
radial-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0) 29%, rgba(0,0,0,.15) 31%, rgba(0,0,0,.15) 100%),
radial-gradient(rgba(221,221,221,0) 0%, rgba(221,221,221,0) 29%, #ffffff 31%, #ffffff 100%),
@pylover
pylover / a2dp.py
Last active April 17, 2025 03:30
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04, 16.10 and also debian jessie, with bluez5.
#! /usr/bin/env python3
"""Fixing bluetooth stereo headphone/headset problem in debian distros.
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone.
This will be only fixes the bluez5 problem mentioned above .
Licence: Freeware
@petertodd
petertodd / gist:8e87c782bdf342ef18fb
Last active December 13, 2020 05:33
What the CoinWallet.eu tx-flood stress-test means for you and how to deal with it
@matthewlehner
matthewlehner / autopgsqlbackup
Created July 11, 2012 16:10
Auto PostgreSQL backup script.
#!/bin/bash
#
# PostgreSQL Backup Script Ver 1.0
# http://autopgsqlbackup.frozenpc.net
# Copyright (c) 2005 Aaron Axelsen <[email protected]>
#
# This script is based of the AutoMySQLBackup Script Ver 2.2
# It can be found at http://sourceforge.net/projects/automysqlbackup/
#
# The PostgreSQL changes are based on a patch agaisnt AutoMySQLBackup 1.9