Skip to content

Instantly share code, notes, and snippets.

diff --git a/docs/admin/external-auth.md b/docs/admin/external-auth.md
index f06267cb2..f281afe0d 100644
--- a/docs/admin/external-auth.md
+++ b/docs/admin/external-auth.md
@@ -25,7 +25,8 @@ application. The following providers are supported:
- [Azure DevOps](https://learn.microsoft.com/en-us/azure/devops/integrate/get-started/authentication/oauth?view=azure-devops)
- [Azure DevOps (via Entra ID)](https://learn.microsoft.com/en-us/entra/architecture/auth-oauth2)
-The next step is to [configure the Coder server](./configure.md) to use the OAuth application by setting the following environment variables:
+The next step is to [configure the Coder server](./configure.md) to use the
@kylecarbs
kylecarbs / client.js
Created May 31, 2023 17:31
Failure case of Electron running a client as Node with a custom certificate
const tls = require("tls")
const cert = `-----BEGIN CERTIFICATE-----
MIIDGjCCAgKgAwIBAgIQWRK256qtZINE+pTbJNsmEzANBgkqhkiG9w0BAQsFADAU
MRIwEAYDVQQDDAlsb2NhbGhvc3QwIBcNMjMwNTMwMTY0MDExWhgPMjEyMzA1MzAx
NjUwMTJaMBQxEjAQBgNVBAMMCWxvY2FsaG9zdDCCASIwDQYJKoZIhvcNAQEBBQAD
ggEPADCCAQoCggEBAMrjcEx16w9OgjNIpB8Zr8gjf3PvREgmm2TKqDgqfOLKsYfi
xDgied2HuF0xEvGmqbf/3jim1RKMwuZ/MO2sIUBQHk+2zMnsmGpS6g8/wD0FypHu
TeO4d/m1Sq4LDX4cgH342H8lhM3Tt6EYhIhEwMS9PCq16bQvrrOoEFAgRgfrT0Fk
wfw67qFx3HMFVVwAassLY9mQ3da75uo4gr5Q/8xhDx8ZlVK2rTved3Sw8qP77y55
2022-02-20T18:04:41.8612360Z === Failed
2022-02-20T18:04:41.8679910Z === FAIL: coderd/coderdtest (0.00s)
2022-02-20T18:04:41.8737230Z PASS
2022-02-20T18:04:41.8774030Z coverage: 81.6% of statements
2022-02-20T18:04:41.8812590Z goleak: Errors on successful test run: found unexpected goroutines:
2022-02-20T18:04:41.8845300Z [Goroutine 4593 in state select, with nhooyr.io/websocket.(*Conn).timeoutLoop on top of the stack:
2022-02-20T18:04:41.8879150Z goroutine 4593 [select]:
2022-02-20T18:04:41.8929780Z nhooyr.io/websocket.(*Conn).timeoutLoop(0xc000912000)
2022-02-20T18:04:41.8958150Z /Users/runner/go/pkg/mod/nhooyr.io/websocket@v1.8.7/conn_notjs.go:153 +0x23d
2022-02-20T18:04:41.9005830Z created by nhooyr.io/websocket.newConn
2022-02-17T22:19:39.0280276Z goleak: Errors on successful test run: found unexpected goroutines:
2022-02-17T22:19:39.0280760Z [Goroutine 88026 in state select, with nhooyr.io/websocket.(*Conn).writeFrame.func1 on top of the stack:
2022-02-17T22:19:39.0281172Z goroutine 88026 [select]:
2022-02-17T22:19:39.0281504Z nhooyr.io/websocket.(*Conn).writeFrame.func1()
2022-02-17T22:19:39.0283312Z C:/Users/runneradmin/go/pkg/mod/nhooyr.io/websocket@v1.8.7/write.go:276 +0x129
2022-02-17T22:19:39.0283785Z nhooyr.io/websocket.(*Conn).writeFrame(0xc0025b6000, {0x181dee0, 0xc000873580}, 0x1, 0x0, 0x2, {0xc000a6b000, 0x4, 0x1000})
2022-02-17T22:19:39.0284281Z C:/Users/runneradmin/go/pkg/mod/nhooyr.io/websocket@v1.8.7/write.go:318 +0xb48
2022-02-17T22:19:39.0286105Z nhooyr.io/websocket.(*Conn).write(0xc0025b6000, {0x181dee0, 0xc000873580}, 0x1, {0xc000a6b000, 0x4, 0x1000})
2022-02-17T22:19:39.0286612Z C:/Users/runneradmin/go/pkg/mod/nhooyr.io/websocket@v1.8.7/write.go:129 +0x2d2
2022-02-17T22:19:39.0287080Z nhooyr.io/webso
@kylecarbs
kylecarbs / pick_emoji.sh
Last active November 17, 2023 11:35
Emoji Picker for Linux
# ✨ Emoji Picker for Linux ✨
# Copies emojis to your clipboard on select.
#
# Install the Apple Color Emoji (https://github.com/samuelngs/apple-emoji-linux) font for Linux to get the iconic emoji style.
# Uses rofi as dmenu was unable to render emojis:
# https://gitlab.freedesktop.org/xorg/lib/libxft/-/issues/6
#!/bin/bash
set -e
@kylecarbs
kylecarbs / .bashrc
Created November 27, 2020 20:41
Default bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
{
"$jason": {
"head": {
"title": "Coder",
"actions": {
"visit": [
{
"{{#if /\\/edit/.test($jason.url)}}": {
"type": "$href",
"options": {
sudo apt install git
git clone https://github.com/ammario/dotfiles
cd dotfiles
cp .bash_prompt ~/
cp .fonts ~/ -R
cp .vim* ~/ -R
cp .config ~/ -R
cp .git-prompt.sh ~/
cp .bashrc ~/
cd installers
package org.coder.webapi;
public class Main {
public static void main(String[] args) {
System.out.println("tester");
}
}

Keybase proof

I hereby claim:

  • I am kylecarbs on github.
  • I am kylecarbs (https://keybase.io/kylecarbs) on keybase.
  • I have a public key ASBl3oJV2BJjCyzoGWhAN5s4nhkok7ap_eP3TPFf6Nzhrgo

To claim this, I am signing this object: