This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Node.js for Raspberry Pi 2 Packaging Script | |
## ========================================= | |
## Use like this: | |
## ./buildnode.sh <node_tarball_version> | |
clean () { | |
rm -rvf node-v$1 node-v$1-rpi2 | |
} |
In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel
- Go to https://zapier.com/ and create an account (if you don't already have one).
- Find the Discord channel in which you would like to send Tweets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
nginx: | |
image: jwilder/nginx-proxy | |
container_name: nginx | |
ports: | |
- 80:80 | |
- 443:443 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/ | |
# and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server | |
############################################### | |
# To use: | |
# wget https://gist.githubusercontent.com/four43/e00d01ca084c5972f229/raw/install-redis.sh | |
# chmod 777 install-redis.sh | |
# ./install-redis.sh | |
############################################### | |
echo "*****************************************" |
Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element ::pseudo-element
or the /deep/
path selector.
video::webkit-media-controls-timeline {
background-color: lime;
}
video /deep/ input[type=range] {
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var uglify = require('gulp-uglify'); | |
var concat = require('gulp-concat'); | |
var templates = require('gulp-angular-templatecache'); | |
var minifyHTML = require('gulp-minify-html'); | |
// Minify and templateCache your Angular Templates | |
// Add a 'templates' module dependency to your app: | |
// var app = angular.module('appname', [ ... , 'templates']); |
NewerOlder