rsync -auzPhv --delete --exclude-from=rsync_exclude.txt SOURCE/ DEST/ -n
-a
->--archive
; recursively sync, preserving symbolic links and all file metadata-u
->--update
; skip files that are newer on the receiver; sometimes this is inaccurate (due to Git, I think...)-z
->--compress
; compression-P
->--progress
+--partial
; show progress bar and resume interupted transfers-h
->--human-readable
; human-readable format-v
->--verbose
; verbose output
-n
->--dry-run
; dry run; use this to test, and then remove to actually execute the sync
#Program to drive Sonic Pi 3 visualiser written in "processing" | |
#by Robin Newman, September 2017 | |
#see article at https://rbnrpi.wordpress.com | |
#set up OSC address of processing sketch | |
use_osc '127.0.0.1',5000 | |
#select shapes to show | |
osc "/viz/shapes","e" #"s" "e" "r" Star,Ellipse, Rectangle or combination | |
sleep 0.1 | |
live_loop :c do |
version: "3" | |
services: | |
sonarqube: | |
image: sonarqube | |
expose: | |
- 9000 | |
ports: | |
- "127.0.0.1:9000:9000" | |
networks: |
# Install dependencies
brew install cmake enchant gstreamermm gtk+3 libnotify libsecret libsoup webp
git clone git@github.com:hunspell/hyphen.git
cd hyphen
autoreconf -fvi
./configure
make
make install
/* | |
Solar Flare | |
Jacob Joaquin | |
Find me: | |
https://github.com/jacobjoaquin/ | |
https://hackaday.io/jacobjoaquin | |
https://twitter.com/JacobJoaquin | |
http://jacobjoaquin.tumblr.com/ | |
https://www.instagram.com/jacobjoaquin/ |
-
First, install the cpptools extension in studio code
-
Then add the include paths in the c_cpp_properties.json file.
If a small light bulb icon (💡) appears near the include statements on any of your source file, just click it in order to access the c_c_pp_properties.json file.
If there's no 💡 icon, then in the project directory create a hidden folder called vscode:
If you want a run-down of the 1.3 changes and the design decisions behidn those changes, check out the LonestarElixir Phoenix 1.3 keynote: https://www.youtube.com/watch?v=tMO28ar0lW8
To use the new phx.new
project generator, you can install the archive with the following command:
$ mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez
Phoenix v1.3.0 is a backwards compatible release with v1.2.x. To upgrade your existing 1.2.x project, simply bump your phoenix dependency in mix.exs
:
#!/usr/bin/env python | |
from threading import Thread, Lock | |
import cv2 | |
class WebcamVideoStream : | |
def __init__(self, src = 0, width = 320, height = 240) : | |
self.stream = cv2.VideoCapture(src) | |
self.stream.set(cv2.cv.CV_CAP_PROP_FRAME_WIDTH, width) | |
self.stream.set(cv2.cv.CV_CAP_PROP_FRAME_HEIGHT, height) |
""" | |
Implements a simple HTTP/1.0 Server | |
""" | |
import socket | |
def handle_request(request): | |
"""Handles the HTTP request.""" |
# AWS S3 bucket for static hosting | |
resource "aws_s3_bucket" "website" { | |
bucket = "${var.website_bucket_name}" | |
acl = "public-read" | |
tags { | |
Name = "Website" | |
Environment = "production" | |
} |