This document describes how to set up Windows 10 for cross-platform development (Go, NodeJS, etc) with Windows Subsystem for Linux (WSL).
Most of the information here is collected from
This document describes how to set up Windows 10 for cross-platform development (Go, NodeJS, etc) with Windows Subsystem for Linux (WSL).
Most of the information here is collected from
| MIT License | |
| Copyright (c) 2018 Noel Bundick | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| #!/bin/bash | |
| # Ver 2.1, By Reza Hashemi | |
| # Automate EC2 instance setup and Install latest Ansible and its dependencies via pip (recommended method) | |
| # The cloud init script detects the EC2 instance platform at launch and uses preferred package manager | |
| # AWS cloud init script to install ansible on startup, autodetects required package manager | |
| # Add as user data inside advanced details at AWS EC2 configure instance details (step 3) | |
| # Changes: | |
| # Ver 2.1 Tested on Centos 6 | |
| # No issues with pynacl and cryptography | |
| # Ver 2 Tested on RHEL, Centos 7, Ubuntu, SUSE, Fedora 23-25, Debian |
| #!/bin/sh | |
| gem source -r https://production.s3.rubygems.org | |
| gem source -a https://rubygems.org |
| # Below are the dependencies required for installing the common combination of numpy, scipy, pandas and matplotlib | |
| # in an Alpine based Docker image. | |
| FROM alpine:3.4 | |
| RUN echo "http://dl-8.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories | |
| RUN apk --no-cache --update-cache add gcc gfortran python python-dev py-pip build-base wget freetype-dev libpng-dev openblas-dev | |
| RUN ln -s /usr/include/locale.h /usr/include/xlocale.h | |
| RUN pip install numpy scipy pandas matplotlib | |
| #!/bin/bash | |
| /usr/sbin/usermod -aG docker <user> |
| #define _GNU_SOURCE | |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <stdlib.h> | |
| #include <fcntl.h> | |
| #include <signal.h> | |
| #include <elf.h> | |
| #include <err.h> | |
| #include <syslog.h> | |
| #include <sched.h> |
I recently had the following problem:
We didn't want to open the MySQL port to the network, but it's possible to SSH from the Jenkins machine to the MySQL machine. So, basically you would do something like
ssh -L 3306:localhost:3306 remotehost