- http://onhub.here/api/v1/diagnostic-report
- http://onhub.here/api/v1/get-attestation-information
- http://onhub.here/api/v1/get-endorsement-information
- http://onhub.here/api/v1/get-shmac
- http://onhub.here/api/v1/join-group
- http://onhub.here/api/v1/prove-identity
- http://onhub.here/api/v1/register-device
- http://onhub.here/api/v1/prepare-for-setup
Discover gists
This file contains 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/bash | |
# Requirements: linux, docker, grep, awk | |
# This script removes all "Down" (off) nodes from Docker Swarm | |
# Useful to clean stuff from time to time, if you have auto-joining nodes for example | |
sudo docker node rm $(sudo docker node ls | grep Down | awk -F" " '{ print $1 }') |
Get pretrained weights:
wget https://dl.fbaipublicfiles.com/detr/detr-r50-e632da11.pth
Remove class weights
checkpoint = torch.load("detr-r50-e632da11.pth", map_location='cpu')
del checkpoint["model"]["class_embed.weight"]
del checkpoint["model"]["class_embed.bias"]
torch.save(checkpoint,"detr-r50_no-class-head.pth")
This file contains 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
Install VMWare Workstation PRO 17 (Read it right. PRO!) | |
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it. | |
Sub to me on youtube pls - PurpleVibe32 | |
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me. | |
--- | |
This gist can get off at any time. | |
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT. | |
*If you have a problem comment and people will try to help you! | |
*No virus |
Have you ever wanted to use LaTeX with matplotlib? You are definitely not alone. There are many tutorials out there that can guide you through the installation process. Then we can just follow the official documentation to make plots by activating plt.rcParams['text.usetex'] = True
.
What we need to do is just installing typical latex
by
sudo apt update
sudo apt install texlive # for minimum latex build
sudo apt install dvipng texlive-latex-extra texlive-fonts-recommended # required by matplotlib
This file contains 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
const openssl = require('openssl-wrapper'); | |
const axios = require('axios'); | |
const config = { | |
region: 'us-east-1', | |
userPoolId: 'your-user-pool-id' | |
}; | |
getThumbprint() | |
.then(console.log) |
This file contains 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
version: '3.0' | |
services: | |
logstash: | |
image: docker.elastic.co/logstash/logstash:6.3.2 | |
restart: always | |
container_name: logstash | |
networks: | |
- elastic-stack | |
elasticsearch: |
This file contains 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/python | |
from xml.dom import minidom | |
import csv, os, re, string, subprocess | |
from argparse import ArgumentParser | |
import tempfile | |
# Create a SVG file with nodes having at least one of: | |
# name_black | |
# name_white |
This file contains 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
$powershellDir = "~\.config\powershell" | |
New-Item -ItemType Directory -Force -Path $powershellDir | |
cd $powershellDir | |
Invoke-WebRequest -Uri 'https://gist.githubusercontent.com/kensleDev/13f9290876e782b2e67aab8b463e55f7/raw/66cdc60aa61da8a88a480c14b5fe817beba7dab9/profile.ps1' -OutFile 'profile.ps1' | |
Invoke-WebRequest -Uri 'https://gist.githubusercontent.com/kensleDev/13f9290876e782b2e67aab8b463e55f7/raw/cda7a409a315bf767f830897b0b8f53611e11f1e/Install.ps1' -OutFile 'Install.ps1' | |
Invoke-WebRequest -Uri 'https://gist.githubusercontent.com/kensleDev/13f9290876e782b2e67aab8b463e55f7/raw/13c1f7eb8ffa50e385c3b960c76ded9389bdaf3e/takuya.omp.json' -OutFile 'takuya.omp.json' |
NewerOlder