(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
SUBSYSTEM!="sound", GOTO="pulseaudio_end" | |
ACTION!="change", GOTO="pulseaudio_end" | |
KERNEL!="card*", GOTO="pulseaudio_end" | |
SUBSYSTEMS=="pci", ATTRS{vendor}=="0x106b", ATTRS{device}=="0x1803", ENV{PULSE_PROFILE_SET}="apple-t2.conf" | |
LABEL="pulseaudio_end" |
This simply requires you to install the boto3
package and set the DOCKER_BUCKET
variable to point at the bucket you would like to clean up, and the rest should be handled automatically. That's is presuming you have credentials to manage the S3 bucket in one of the default locations where Boto go to look for them.
Since the script more or less traverses through your entire S3 bucket, it probably makes sense to only run it infrequently, like daily or weekly, depending on the amount of repositories and layers you have and the amount of updates on the registry in total.
define(['lib/Scene'], function(Scene){ | |
describe("Scene", function() { | |
var scene; | |
beforeEach(function() { | |
scene = new Scene(); | |
}); | |
it("should instantiate ok", function() { |
I was searching for a best way to define a javascript class, and then, I found this: | |
http://www.phpied.com/3-ways-to-define-a-javascript-class/ | |
So, it describes three ways: | |
1. using a function | |
2. using JSON | |
3. singleton (combination of 1. and 2.) | |
I couldn't find any article which describes what is the best way, in matter of compression, so I decided to test it by myself. | |
So I made three versions of my navigation system (I already had it in 2. way before I read that article), and I compressed them using google closure compiler, and these are result: |