Skip to content

Instantly share code, notes, and snippets.

@adamf321
adamf321 / .happo.js
Last active September 11, 2020 14:40
const { RemoteBrowserTarget } = require('happo.io');
module.exports = {
apiKey: process.env.HAPPO_API_KEY,
apiSecret: process.env.HAPPO_API_SECRET,
project: '[Your Happo Project Name]',
targets: {
'safari-mobile': new RemoteBrowserTarget('ios-safari', {
viewport: '375x667',
}),
@adamf321
adamf321 / BigQuery.php
Last active May 29, 2020 14:41
Building a Simple Data Pipeline with Google App Engine
<?php
namespace Nolte\Metrics\DataPipeline;
use Google\Cloud\BigQuery\BigQueryClient;
use Google\Cloud\Core\ExponentialBackoff;
/**
* Represents a BigQuery connection.
*/
<?php
function lean_column_props( string $block_content, array $block ) : string {
$width = $block['attrs']['width'] ?? false;
$class_pos = strpos( $block_content, 'wp-block-column' );
$column_class = 'w-full px-1';
$column_class .= ( $width ? ' md:w-' . round( 12 * $width / 100 ) . '/12 ' : '' );
// Add to the existing classes if there are some already.
$class_pos = strpos( $block_content, 'class="' );

Moxie QA Lead Test Project

Hi there, thanks for your interest in working with Moxie! We have devised the following test to give you the opportunity to show us what you can do.

Overview

Take the following mobile design: https://invis.io/AX6SXHN2F

Devise a test plan and workflow for this website. Take into account the following:

angular
.module('app')
.factory('paginationService', paginationService);
paginationService.$inject = ['lnCmsClientService', '$state'];
function paginationService(lnCmsClientService, $state){
var current = 1;
var total = 1;
@adamf321
adamf321 / Readme.md
Last active April 8, 2016 00:08
Moxie UI Dev Test Project

Moxie UI Dev Test Project

Hi there, Thanks for your interest in working with Moxie! We have devised the following test to give you the opportunity to show us what you can do.

Overview

Take the following mobile design: