- make dockerfile
services:
mongo:
image: mongodb/atlas
privileged: true
command: |
/bin/bash -c "atlas deployments setup --type local --port 27778 --bindIpAll --username root --password root --force && tail -f /dev/null"| import AudioRecorder from 'audio-recorder-polyfill'; | |
| import * as lamejs from '@breezystack/lamejs'; | |
| let mediaRecorder: MediaRecorder | null = null; | |
| let recordedChunks: Blob[] = []; | |
| let startTime: number; | |
| let stopTime: number | |
| export const startRecording = async (): Promise<void> => { |
services:
mongo:
image: mongodb/atlas
privileged: true
command: |
/bin/bash -c "atlas deployments setup --type local --port 27778 --bindIpAll --username root --password root --force && tail -f /dev/null"| <script lang="ts"> | |
| import Client from "@onelogin/sdk"; | |
| import { Route } from 'svelte-routing'; | |
| import { accessToken } from './stores'; | |
| import Login from '../pages/Login.svelte'; | |
| export let path: string; | |
| export let component: any; |
| <!-- App.svelte --> | |
| <script lang="ts"> | |
| import { Router, Link, Route } from "svelte-routing"; | |
| import ProtectedRoute from './concerns/ProtectedRoute.svelte'; | |
| import Home from "./pages/Home.svelte"; | |
| import SecretStuff from "./pages/SecretStuff.svelte"; | |
| </script> |
| package user | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "log" | |
| "strings" | |
| "github.com/onelogin/onelogin-go-sdk/pkg/services/users" |
| package user | |
| import ( | |
| "errors" | |
| "io/ioutil" | |
| "net/http" | |
| ) | |
| type UserHandler struct { | |
| Controller UserController |
| package email | |
| import ( | |
| "fmt" | |
| "net/smtp" | |
| ) | |
| type Emailer interface { | |
| Send(to []string, msg string) error | |
| } |
| package cache | |
| import ( | |
| "context" | |
| "log" | |
| "time" | |
| "github.com/go-redis/redis/v8" | |
| ) |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "github.com/onelogin/onelogin-go-sdk/pkg/client" |
homebrew-tap-your_appgit init and put the empty repository in Githubbrew create --tap=USER/REPO --go https://github.com/user/repo/archive/vA.I.P.tar.gz (where A is Major, I is Minor and P is Patch version... obviously 😜) to create a new pre-gen formula in your empty project.url in the pre-gen formula looks like https://github.com/user/repo/archive/refs/tags/vA.I.P.tar.gzbrew create doesn't already, copy the sha256 that gets stuck in your terminal output in the field for sha256pr-pull label and wait for that action to run - this will add the bottles specified in the test-bot action in tests.yml (you don't have to update those SHAs on your own... dont panic)