This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_binary") | |
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") | |
########## | |
# Common # | |
########## | |
proto_library( | |
name = "project_proto", | |
srcs = [ | |
"project.proto", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# best-mirror.sh | |
# | |
# Domesticaed for FreeBSD by Babak Farrokhi (farrokhi@FreeBSD.org) | |
# | |
# This script finds the fastest freebsd-update mirror based on | |
# data transfer rates from cURL. | |
# | |
# Note: I used a static list of mirrors, which is not the best way to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.keycloak.authentication.authenticators.browser; | |
import org.keycloak.authentication.AuthenticationFlowContext; | |
import org.keycloak.models.RoleModel; | |
import org.keycloak.models.UserModel; | |
import javax.ws.rs.core.MultivaluedMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.regex.Pattern; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <gtk/gtk.h> | |
void hello(GtkWidget* widget, gpointer data) | |
{ | |
printf("Hello World!\n"); | |
} | |
int main(int argc, char* argv[]) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Prerequisites: | |
- keyring ( optional ) | |
- argh | |
- beautifulsoup4 | |
- requests-ntlm | |
This scripts authenticates you to your SAML provider and writes the |