Skip to content

Instantly share code, notes, and snippets.

View AlexOverbeck's full-sized avatar

Alex Overbeck AlexOverbeck

View GitHub Profile
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
# Use local changes or ActiveAdmin master.
if ENV["ACTIVE_ADMIN_PATH"]
gem "activeadmin", path: ENV["ACTIVE_ADMIN_PATH"], require: false
else

What do you think are some of the challenges of working remotely, and how would you address them?

Communication seems to be a common weak link when working remotely. Being diligent with documentation helps get thoughts in a place where others can consume them. Speaking concisely and directly helps avoid miscommunications. I think it's also essential to know when asynchronous communication starts to break down or be less effective than a video or phone call.

<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<title>RandoRaptor</title>
<meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0' />
<style>
:root {
--color1: #253b76;
--color2: #24366c;
function factorial(factor) {
let currentResult = factor;
// Start at 1 loop to 3
for (let index = 1; index < factor; index++) {
let previousValue = currentResult;
currentResult = previousValue * (factor - index);
}

Mobile uses a service called Smartling to handle most of the translating.

https://www.smartling.com/why-smartling/

We organize all of our english based text into yaml files. Smartling takes those english files and produces more files that correspond to each of the languages that we support.

import { Pipe, PipeTransform } from '@angular/core';
import { TranslationService } from './shared/services/translation.service';
@Pipe({
name: 'translate'
})
export class TranslationPipe implements PipeTransform {
constructor(
private translationService: TranslationService
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { environment } from 'src/environments/environment';
import { RuntimeService } from './runtime.service';
@Injectable({
providedIn: 'root'
})
export class TranslationService {
private data: Map<string, string>;
def build_hash(a, b)
h = {}
h[:a] = a
h[:b] = b
h
end
def build_hash(a, b)
{}.tap.do |h|
h[:a] = a