Skip to content

Instantly share code, notes, and snippets.

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

Sebastian Scholten gitsebs

🏠
Working from home
View GitHub Profile
@gitsebs
gitsebs / Chakra-UI x React-datepicker.md
Created September 28, 2020 08:00 — forked from baumandm/Chakra-UI x React-datepicker.md
Chakra-UI x React-datepicker
@gitsebs
gitsebs / backup-to-s3.sh
Created March 22, 2018 03:53 — forked from MikeRogers0/backup-to-s3.sh
A method of backing up your website to Amazon S3.
#!/bin/bash
## Email Variables
EMAILDATE=`date --date="today" +%y-%m-%d`
EMAIL="[email protected]"
SUBJECT="[servername] Backup Script Started! - "$EMAILDATE
EMAILMESSAGE="/tmp/emailmessage1.txt"
echo "Just to let you know that the backup script has started."> $EMAILMESSAGE
/bin/mail -s "$SUBJECT" "$EMAIL" < $EMAILMESSAGE
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
body {
perspective: 500px;
@gitsebs
gitsebs / gulpfile.js
Created January 7, 2016 23:13 — forked from VinSpee/gulpfile.js
postcss stack
gulp.task('styles:toolkit', ['lint-styles:toolkit'], function () {
var sourcemaps = require('gulp-sourcemaps');
var prefix = require('gulp-autoprefixer');
var postcss = require('gulp-postcss');
var calc = require('postcss-calc');
var colorFunction = require('postcss-color-function');
var customMedia = require('postcss-custom-media');
var customProperties = require('postcss-custom-properties');
var fontVariant = require('postcss-font-variant');
var lost = require('lost');
@gitsebs
gitsebs / cat-colors.json
Created January 7, 2016 22:58
PostCSS basic setup and test with Gulp
{
"colorList": {
"c1" : ["#000000", "#000011"],
"c2" : ["#000011", "#000022"],
"c3" : ["#000022", "#000033"],
"c4" : ["#000033", "#000044"],
"c7" : ["#000044", "#000055"],
"c8" : ["#000055", "#000066"],
"c9" : ["#000066", "#000077"],
"c10" : ["#000077", "#000088"]