Skip to content

Instantly share code, notes, and snippets.

@zincplusplus
zincplusplus / cloudSettings
Created November 20, 2018 22:11
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-11-20T22:10:57.293Z","extensionVersion":"v3.2.0"}
@zincplusplus
zincplusplus / pushover.php
Last active January 21, 2016 13:18
Pushover + PHP API Implementation
<?php
function pushNotification($message) {
// create curl resource
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.pushover.net/1/messages.json");
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
div {
width: 100px;
height: 100px;
margin-right: 10px;
float: left;
}
#red { background-color: rgb(255,0,0); }
#green { background-color: rgb(0,255,0); }
#blue { background-color: rgb(0,0, 255); }
@zincplusplus
zincplusplus / dabblet.css
Created November 20, 2013 12:55
Untitled
body {
font-family: Helvetica, Arial, sans-serif;
background: #f2f4f6;
color: #333;
}
.group {
background: #fff;
border: 1px solid #ccc;
float: left;
height: 248px;
@zincplusplus
zincplusplus / dabblet.css
Created July 30, 2013 15:41
Rotate a red block
/* Rotate a red block */
body {margin: 100px; padding:0}
.parent {
width: 200px;
height: 200px;
background: yellow;
}
.rotateMe {
width: 100%;
height: 100%;
/**
* Header
*/
body {
font-family: "Lucida Grande", Arial, sans-serif;
margin: 0;
padding: 0;
background: #f2f2f2;
}
@zincplusplus
zincplusplus / dabblet.css
Created August 1, 2012 09:02
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
html {
background: #f06;
background: linear-gradient(-135deg, #DE1473 0%, #fc0 50%, #09c 100%);
min-height: 100%;
}
body {
@zincplusplus
zincplusplus / dabblet.css
Created July 30, 2012 14:55
Dynamic mask
/*
* Dynamic mask
*/
.masked {
width: 100px;
height: 100px;
background: red;
mask-image:
/**
* Rain
*/
@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700,300italic|Open+Sans:300italic,400,300,800);
html {
min-height: 100%;
}
body {
@zincplusplus
zincplusplus / dabblet.css
Created July 18, 2012 13:40
Star to circle
/**
* Star to circle
*/
@keyframes asd {
0% { mask-position: 0 0; }
100% { mask-position: 100% 0; }
}
.star-to-circle {
animation: asd 5s linear infinite;
background-color: red;