This file contains 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
version: "2.0" | |
services: | |
image: | |
image: fusion/mac020 | |
build: | |
context: "." | |
dockerfile: ./docker/Dockerfile | |
box: |
This file contains 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
resource-types: | |
- name: samba-resource | |
type: docker-image | |
source: | |
repository: airtonix/concourse-resource-samba | |
resources: | |
- name: source | |
type: git | |
source: |
This file contains 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
/** | |
* Checks ABN for validity using the published ABN checksum algorithm. | |
* @author Guy Carpenter | |
* @license http://www.clearwater.com.au/code None | |
* @param {String|Number} value abn to validate | |
* @return {Boolean} Is ABN Valid | |
*/ | |
function validateABN (value) { | |
var weights = [10, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19], |
This file contains 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
<template> | |
<div v-on:click="click">Click Me!</div> | |
</template> | |
<script> | |
export default { | |
data () { | |
return { | |
foo: 'bar' | |
} |
This file contains 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
// api/index.js | |
import Request from 'superagent' | |
export const getUser (userId) { | |
return Request | |
.get('/api/user/:userId'); | |
} |
This file contains 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 | |
# Creates a bootable ISO from CoreOS' PXE images. | |
# Also adds a run script to the OEM partition and converts the ISO so it can boot from USB media. | |
# Based heavily off https://github.com/nyarla/coreos-live-iso - Thanks Naoki! | |
set -e | |
# Default configurations | |
SYSLINUX_VERSION="6.02" |