- 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"
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 React, { Component } from 'react'; | |
import axios from 'axios'; | |
import qs from "qs"; | |
import * as base64 from 'base64-js' | |
import SubmitButton from '../../ui_components/buttons/submit_button'; | |
import AppWrapper from '../../ui_components/app_wrapper/app_wrapper' | |
import Popup from '../../ui_components/popup/popup'; | |
class LoginOIDCPage extends Component { |
terraform { | |
required_providers { | |
onelogin = { | |
source = "onelogin/onelogin" | |
version = "0.1.6" | |
} | |
} | |
} | |
resource onelogin_oidc_apps my_app { |
homebrew-tap-your_app
git 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.gz
brew create
doesn't already, copy the sha256
that gets stuck in your terminal output in the field for sha256
pr-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)<!-- 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> |
<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; |
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" | |
) |