- Install target mingw-w64:
brew install mingw-w64 - Add target to rustup:
rustup target add x86_64-pc-windows-gnu - Create
.cargo/config - Add the instructions below to
.cargo/config
[target.x86_64-pc-windows-gnu]
| import { | |
| ActivityIndicator, | |
| Button, | |
| ScrollView, | |
| Text, | |
| View, | |
| } from "react-native"; | |
| import * as AuthSession from "expo-auth-session"; | |
| import * as WebBrowser from "expo-web-browser"; | |
| import { useEffect, useState } from "react"; |
| ARG KEYCLOAK_VERSION=26.2.0 | |
| # -------------------------------------------------------- | |
| # Get some utils from Ubuntu | |
| # -------------------------------------------------------- | |
| FROM ubuntu:20.04 AS ubuntu-micro-build | |
| RUN apt-get update && apt-get install -y apt-utils binutils curl jq sed wget figlet procps | |
| # -------------------------------------------------------- | |
| # Plugin build |
brew install mingw-w64rustup target add x86_64-pc-windows-gnu.cargo/config.cargo/config[target.x86_64-pc-windows-gnu]
| // see: http://blog.sahal.info/post/58278726443/chromebook-socks-proxies-and-ssh-tunnels | |
| function FindProxyForURL(url, host) | |
| { | |
| // On my Chromebook, I've found that "Secure Shell" or Chrome itself doesn't close ports after a session timesout | |
| // so I have to switch the local proxy listen address to 8081. Now, I don't have to use two proxy.pac files. | |
| // See Simple PAC Load Balancing on proxypacfiles.com | |
| // http://www.proxypacfiles.com/proxypac/index.php?option=com_content&view=article&id=63&Itemid=104 | |
| // https://web.archive.org/web/20131011081101/http://www.proxypacfiles.com/proxypac/index.php?option=com_content&view=article&id=63&Itemid=104 | |
| return "SOCKS5 localhost:8080; SOCKS5 localhost:8081"; | |
| } |
| import requests | |
| import sys | |
| import json | |
| def waybackurls(host, with_subs): | |
| if with_subs: | |
| url = 'http://web.archive.org/cdx/search/cdx?url=*.%s/*&output=json&fl=original&collapse=urlkey' % host | |
| else: | |
| url = 'http://web.archive.org/cdx/search/cdx?url=%s/*&output=json&fl=original&collapse=urlkey' % host |
Setup One: Buy a Mac if you don't have one.
Setup Two: Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Setup Three:
* This method is tested on Chrome Version 61.0.3163.100, chromedriver Version 2.33.506106
So for some reason, chrome keeps download items in the shadow-root of tag .
This makes me so confused when I am trying to automate chrome to download files.
Keycloak 10.0.1 is based on Wildfly 19 which comes with support for OpenTracing. However the OpenTracing support in Keycloak is not active by default. This small example demonstrates how to enable OpenTracing in the latest Keycloak version based on the article Micro_Profile_OpenTracing_Comes_To_WildFly
This example tries to explore a solution for KEYCLOAK-8288.
| /* | |
| * Adrian Statescu <[email protected] | |
| * Natural Logarithm in Golang. | |
| * ln(1) = 0 | |
| */ | |
| package main | |
| import ("fmt" | |
| "os" | |
| "strconv" |
| # Install the gRPC PHP plugin on Mac | |
| # | |
| # See: http://www.grpc.io/docs/quickstart/php.html#install-protobuf-plugin | |
| # Source: https://gist.github.com/johndpope/503029706ed56d5375d1e9469f0135d4 | |
| # Install build dependencies | |
| brew install automake libtool | |
| ## Clone gRPC repo | |
| git clone --recursive -b v1.4.x https://github.com/grpc/grpc |