A growing list of technology companies in NZ.
- SubQuery: crypto
- StockTrim: fintech
- WellRevolution: health
- Datch: voice ai
- LandlordStudio: property management
- Re-Leased: property management
- Joyous: hr software
[ | |
{ | |
"name": "Software Advice", | |
"url": "https://www.softwareadvice.com/" | |
}, | |
{ | |
"name": "Product Hunt", | |
"url": "https://www.producthunt.com/" | |
}, | |
{ |
A growing list of technology companies in NZ.
/** | |
* Flatten a map of arrays or array of arrays to a single array | |
* @param t | |
*/ | |
export function flatten<T>(t: Array<Array<T>> | { [p: string]: Array<T> }): Array<T> { | |
return Object.values(t).reduce((mem, val) => [...mem, ...val], []) | |
} |
<?php | |
require_once(__DIR__ . '/vendor/autoload.php'); | |
use PHPUnit\Framework\TestCase; | |
/** | |
* This testsuite demonstrates how to use MailSlurp Email API Client in PHP | |
* | |
* MailSlurp let's you create real email addresses in PHP. You can then send and receive emails | |
* and attachments in PHP applications and tests. |
// inside config.js extend webpack so that `__var_name__` is replaced with value of `config[var_name]` | |
// relies on npm install string-replace-loader | |
{ | |
configureWebpack(config) { | |
config.resolve.alias["@"] = path.join(__dirname, "/theme"); | |
config.resolve.alias["~"] = path.join(__dirname, "/public"); | |
if (process.env.NODE_ENV === "production") { | |
const mappings = Object.keys(config).map(key => { | |
return { search: `__${key}__`, replace: config[key] } | |
}) |
/* | |
ecs cluster and service definitions | |
*/ | |
resource "aws_ecs_cluster" "ecs" { | |
name = "${var.name}-ecs" | |
} | |
/* | |
define ecs task for this app | |
*/ |
// import an apiKey and the official js client | |
const apiKey = require("./config.json").apiKey; | |
const MailSlurpClient = require("mailslurp-client"); | |
// instantiate a client for the inbox endpoints | |
const api = new MailSlurpClient.InboxcontrollerApi(); | |
// test the authentication flow on www.mailslurp.com | |
// using Cypress test runenr | |
describe("Emaile2e.com user signup", () => { |
// execute in chrome snippets section on a page such as http://digitalagencynetwork.com/agencies/melbourne/ | |
// copy result into a csv file an voila | |
var $ = jQuery; | |
var results = []; | |
$('.entry .threecol-two.last').each(function(){ | |
var title = $(this).find('h3').text(); | |
var address = $(this).find('a').attr('href'); | |
var emailMatch = $(this).first('h6').text().match(/[\w\.]+@[\w\.]+/); | |
var email = emailMatch ? emailMatch[0] : 'unknown'; | |
results.push([title,address,email].join(',')); |
In build.sbt
add the following lines:
Keys.fork in Test := false
parallelExecution in Test := false
$ play debug
.#!/bin/bash | |
#script takes a video and converts it to frames | |
#it then slices the frames and uploads them to an eyeem album | |
#when you scroll the album fast enough it turns back into a video | |
output_dir=./output/ | |
#convert video to frames, dump in output dir | |
ffmpeg -i $1 "$output_dir"image-%d.jpg |