amazonのページにサクラチェッカーを埋め込む
かなり雑に作ったので、iframe内表示領域とか異常系を特に意識していない
#!/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")
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
const openssl = require('openssl-wrapper'); | |
const axios = require('axios'); | |
const config = { | |
region: 'us-east-1', | |
userPoolId: 'your-user-pool-id' | |
}; | |
getThumbprint() | |
.then(console.log) |
version: '3.0' | |
services: | |
logstash: | |
image: docker.elastic.co/logstash/logstash:6.3.2 | |
restart: always | |
container_name: logstash | |
networks: | |
- elastic-stack | |
elasticsearch: |
#!/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 |