Convert mac-os-el-capitan-pkg-to-iso.sh from using hdiutil and asr to using Linux utilities.
Important: You will need about 30GB of free disk space.
Convert mac-os-el-capitan-pkg-to-iso.sh from using hdiutil and asr to using Linux utilities.
Important: You will need about 30GB of free disk space.
| # lsb_release -a | |
| No LSB modules are available. | |
| Distributor ID: Debian | |
| Description: Debian GNU/Linux 8.2 (jessie) | |
| Release: 8.2 | |
| Codename: jessie | |
| # dpkg -i graylog-1.2-repository-debian8_1.2.0-4_all.deb | |
| Selecting previously unselected package graylog-1.2-repository-debian8. | |
| (Reading database ... 11779 files and directories currently installed.) |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
I hereby claim:
To claim this, I am signing this object:
| # In Chef, when a resource is defined all its variables are evaluated during | |
| # compile time and the execution of the resource takes place in converge phase. | |
| # So if the value of a particular attribute is changed in converge | |
| # (and not in compile) the resource will be executed with the old value. | |
| # Example problem: | |
| # Let's consider this situation where there are two steps involved in a recipe | |
| # Step 1 is a Ruby block that changes a node attribute. Rubyblocks get executed | |
| # in converge phase | |
| # Step 2 is a Chef resource that makes use of the node attribute that was |
| [url "https://github.com/"] | |
| insteadOf = git://github.com/ | |
| insteadOf = [email protected]: | |
| insteadOf = gh: | |
| insteadOf = github: | |
| [url "https://github.com/standard-analytics/"] | |
| insteadOf = sa: | |
| [url "https://git.apache.org/repos/asf/"] | |
| insteadOf = apache: | |
| [url "https://github.com/strmpnk/"] |
| Acquire::https::localhost { | |
| Verify-Peer "false"; | |
| Verify-Host "false"; | |
| CaInfo "/etc/ssl/certs/ca-certificates.crt"; | |
| SslCert "/etc/ssl/certs/ssl-cert-snakeoil.pem"; | |
| SslKey "/etc/ssl/private/ssl-cert-snakeoil.key"; | |
| SslForceVersion "SSLv3"; | |
| }; |
$ dpkg --compare-versions "1.0-4.1" gt "1.0-4joe5" && echo "NMU version -4.1 greater than -4joe5"
| sudo apt-get install python-software-properties software-properties-common -y | |
| sudo add-apt-repository ppa:webupd8team/java | |
| sudo apt-get update | |
| echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections | |
| echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections | |
| sudo apt-get -q -y install oracle-java7-installer |