boot2docker init
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Add to userDefineLang.xml --> | |
| <NotepadPlus> | |
| <UserLang name="CLP" ext="clp clle"> | |
| <Settings> | |
| <Global caseIgnored="no" /> | |
| <TreatAsSymbol comment="no" commentLine="no" /> | |
| <Prefix words1="yes" words2="yes" words3="no" words4="no" /> | |
| </Settings> | |
| <KeywordLists> | |
| <Keywords name="Delimiters">'00'00</Keywords> |
The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
sudo docker pull mysql:latest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'ipaddr' | |
| class IPAddrWithMask < IPAddr | |
| def mask() | |
| ## use _to_string private method from IPAddr class | |
| _to_string(@mask_addr) | |
| end ### def | |
| end ### class | |
| net = IPAddrWithMask.new("172.23.0.0/24") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| def factorial(i) | |
| if (i > 0) then | |
| print i | |
| return i = i * factorial(i - 1) | |
| end ### if | |
| return 1 | |
| end ### def |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Tested on MacOS X 10.5 for PowerPC (powerpc-apple-darwin9.8.0) | |
| # Using Xcode 3 (powerpc-apple-darwin9-gcc-4.0.1) | |
| # /Developer/usr/bin/xcodebuild -version | |
| # Component versions: DevToolsCore-921.0; DevToolsSupport-893.0 | |
| # Compile Bash 4.3 | |
| # bash-4.3.tar.gz 26-Feb-2014 09:25 |
NewerOlder