To install a custom package or modify an existing docker image we need to
- run a docker a container from the image we wish to modify
- modify the docker container
- commit the changes to the container as a docker image
- test changes made to image
To install a custom package or modify an existing docker image we need to
$ ruby template_engine_shootout.rb | |
Fetching gem metadata from https://rubygems.org/.... | |
Fetching version metadata from https://rubygems.org/.. | |
Resolving dependencies... | |
Using benchmark-ips 2.3.0 | |
Using erubis 2.7.0 | |
Using tilt 2.0.1 | |
Using haml 4.0.7 | |
Using temple 0.7.6 | |
Using slim 3.0.6 |
/** | |
* version1: convert online image | |
* @param {String} url | |
* @param {Function} callback | |
* @param {String} [outputFormat='image/png'] | |
* @author HaNdTriX | |
* @example | |
convertImgToBase64('http://goo.gl/AOxHAL', function(base64Img){ | |
console.log('IMAGE:',base64Img); | |
}) |
console.log(1); | |
(_ => console.log(2))(); | |
eval('console.log(3);'); | |
console.log.call(null, 4); | |
console.log.apply(null, [5]); | |
new Function('console.log(6)')(); | |
Reflect.apply(console.log, null, [7]) | |
Reflect.construct(function(){console.log(8)}, []); | |
Function.prototype.apply.call(console.log, null, [9]); | |
Function.prototype.call.call(console.log, null, 10); |
# (c) 2018 Marcelo Novaes | |
# License - MIT | |
# Enable AptX and AAC codecs on bluetooth connections on macOS | |
sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true | |
sudo defaults write bluetoothaudiod "Enable AAC code" -bool true | |
# Reads set values, should return something like: | |
# { |
These are the current alternatives (with links when possible):