I hereby claim:
- I am alx on github.
- I am alxgirard (https://keybase.io/alxgirard) on keybase.
- I have a public key whose fingerprint is B670 AE8A 90AE 2345 2126 1686 DB21 3723 D0B0 8480
To claim this, I am signing this object:
#!/bin/bash | |
adduser webui | |
apt update && apt install wget git python3 python3-venv ffmpeg libsm6 libxext6 -y | |
su webui | |
cd /home/webui/ | |
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git | |
cd stable-diffusion-webui/models/Stable-diffusion | |
wget https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/resolve/main/sd-v1-4.ckpt | |
cd ../../ | |
sed -i "s/#export COMMANDLINE_ARGS=\"\"/export COMMANDLINE_ARGS=\"--listen --skip-torch-cuda-test --share\"/g" webui-user.sh |
import feedparser | |
from datetime import datetime, timedelta, timezone | |
from dateutil import parser | |
import requests | |
from bs4 import BeautifulSoup | |
import re | |
import urllib.parse |
// ==UserScript== | |
// @name OpenAI GPT-2 Detector | |
// @namespace https://www.jolibrain.com/demo/openai-gpt2-detector-userscript | |
// @description Paragraph of text reports the GPT-2 log prob of that text | |
// @author Alexandre Girard <[email protected]> | |
// @version 1.2 | |
// @grant none | |
// @include https://en.wikipedia.org/wiki/* | |
// ==/UserScript== |
arxiv | |
from requests import sessions | |
from pprint import pprint | |
from rocketchat_API.rocketchat import RocketChat | |
import arxiv | |
import re | |
regex = r"^https://arxiv\.org\/.*\/(\d+\.\d+(?:v1)?).*$" | |
login = "" |
var fs = require('fs'); | |
var moment = require('moment'); | |
var DD = require('deepdetect-js'); | |
const dd = new DD({ | |
host: 'localhost', | |
port: 18104, | |
path: '/api/private/predict' | |
}) |
/* The API controller | |
Exports 3 methods: | |
* post - Creates a new thread | |
* list - Returns a list of threads | |
* show - Displays a thread and its posts | |
*/ | |
var Thread = require('../models/thread.js'); | |
var Post = require('../models/post.js'); |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# chkconfig: 35 90 12 | |
# description: Videoprojector start/stop | |
# | |
# Get function from functions library | |
. /etc/init.d/functions | |
# Start the videoprojector | |
start() { | |
initlog -c "echo -n Starting videoprojector: " |
Depends on:
Fill in the variables appropriately and copy to hooks/post-receive in your bare git repo