Skip to content

Instantly share code, notes, and snippets.

View Qxe8's full-sized avatar
🎯
Focusing

Qxe8 Qxe8

🎯
Focusing
View GitHub Profile
@Qxe8
Qxe8 / hubot-on-msteams.md
Created January 15, 2024 18:31 — forked from ojacques/hubot-on-msteams.md
Hubot on MS Teams

A bot in Microsoft Teams is managed through the Bot Framework.

  1. Navigate to https://dev.botframework.com/bots/new.
  2. Fill in the blanks.
  3. Click on Create Microsoft App ID and password.
  4. Save the AppId and the Password, you will need it later.

Create your hubot bot

Use a Dockerfile to create the bot instance. Create the bot

@Qxe8
Qxe8 / azure-devops-agent-deploy.yaml
Created February 27, 2022 18:26 — forked from kasunsjc/azure-devops-agent-deploy.yaml
Azure DevOps agent deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: azdevops-deployment
namespace: azure-devops-agents
labels:
app: azdevops-agent
spec:
replicas: 3 #here is the configuration for the actual agent always running
selector:
apiVersion: v1
kind: ConfigMap
metadata:
labels:
app: prometheus-blackbox-exporter
name: prometheus-blackbox-exporter
namespace: prometheus
data:
blackbox.yml: |-
modules:
@Qxe8
Qxe8 / ohmyzsh.md
Created July 9, 2021 18:30 — forked from yovko/ohmyzsh.md
ZSH (using Oh My ZSH) on Manjaro Linux

ZSH (using Oh My ZSH) on Manjaro Linux

0. If ZSH is not already installed on your Manjaro system you can do it with the command:

sudo pacman -Syu zsh

You do not need to install manjaro-zsh-config and all the other related packages like zsh-syntax-highlighting, zsh-history-substring-search, zsh-autosuggestions, etc., as we will use Oh My Zsh.

@Qxe8
Qxe8 / machine.js
Created August 21, 2019 14:18
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
$ nano ~/.bashrc

PS1='\[\033[0;32m\]\[\033[0m\033[0;32m\]\u\[\033[0;36m\] @ \[\033[0;36m\]\h \w\[\033[0;32m\]$(__git_ps1)\n\[\033[0;32m\]└─\[\033[0m\033[0;32m\] \$\[\033[0m\033[0;32m\] ▶\[\033[0m\] '

$ source ~/.bashrc
@Qxe8
Qxe8 / Angular 7 開發環境說明.md
Created February 12, 2019 15:17 — forked from doggy8088/Angular 18 Dev Setup.md
Angular 7 開發環境說明

Angular 7 開發環境說明

為了能讓大家能夠順利的建立起 Angular 7 開發環境,以下是需要安裝的相關軟體與安裝步驟與說明。

[ 作業系統 ]

  • Windows 7 以上版本 (更新到最新 Service Pack 版本)
  • Mac OS X 10.6 以上版本

[ 套件管理器 ( Mac OS X Only ) ]

@Qxe8
Qxe8 / WiFiConnector.java
Created August 24, 2018 15:43 — forked from crearo/WiFiConnector.java
Android code to connect to a WiFi network programatically.
package com.tonbo.streamer.network;
import android.content.Context;
import android.content.IntentFilter;
import android.net.NetworkInfo;
import android.net.wifi.ScanResult;
import android.net.wifi.WifiConfiguration;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.support.annotation.CheckResult;
@Qxe8
Qxe8 / ActivityInference.java
Last active September 10, 2017 08:50
Tutorial: Build Your First Tensorflow Android App
package io.github.aqibsaeed.activityrecognition;
import android.content.Context;
import android.content.res.AssetManager;
import android.util.Log;
import org.tensorflow.Graph;
import org.tensorflow.contrib.android.TensorFlowInferenceInterface;