- Create a file to store our credentials:
sudo vim /etc/postfix/sasl_passwd
New-Item -ItemType Directory -Force -Path C:\Path\To\Directory | |
$path = "C:\Path\To\Directory" | |
$Acl = (Get-Item $path).GetAccessControl('Access') | |
$Ar = New-Object System.Security.AccessControl.FileSystemAccessRule("NT SERVICE\MSSQLSERVER", "FullControl", "ContainerInherit,ObjectInherit", "None", "Allow") | |
$Acl.SetAccessRule($Ar) | |
Set-Acl $path $Acl |
curl -sS https://gist.githubusercontent.com/bobey/2b09d2cc72fbcc8cf551/raw/get-gitlab-projets.php | \ | |
php -- http://gitlab.com YOUR-PRIVATE-TOKEN your-namespace | \ | |
xargs -n 1 git clone |
sudo vim /etc/postfix/sasl_passwd
# | |
# Build configuration for Circle CI | |
# | |
general: | |
artifacts: | |
- /home/ubuntu/your-app-name/app/build/outputs/apk/ | |
machine: | |
environment: |
To remove a submodule you need to:
def command = 'ls | grep foo' | |
def output = ['bash', '-c', command].execute().in.text |
(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.
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545
wget http://stedolan.github.io/jq/download/linux64/jq | |
aws ec2 describe-instances --filters "Name=tag:Name,Values=$NAME" \ | |
"Name=instance-state-name,Values=running" \ | |
| jq -r \ | |
".Reservations[] | .Instances[] | .InstanceId" \ | |
aws ec2 describe-volumes --filters \ | |
"Name=status,Values=available" \ | |
| jq -r ".Volumes[] | .VolumeId" \ |
encfs is not available on the default yum repository (I run a micro instance), but it's in the Extra Packages for Enterprise Linux (EPEL) repository. See Amazon's own FAQ on enabling that repository, then all you need is to run yum
:
sudo yum install fuse-encfs
As of writing this installs encfs 1.7.4 for you. It's hassle-free, and so it's good.