Skip to content

Instantly share code, notes, and snippets.

@fuho
fuho / OWON HDS200 README.md
Last active December 9, 2023 18:36
OWON HDS200 Series Handheld Oscilloscope Info Doc 2022-05-29
@fuho
fuho / ds_rq_logs_long.txt
Created May 27, 2022 14:57
Dynoscale debug logs
~/w/m/d/e/flask_rq ❯❯❯ heroku logs -a ds-flask-rq --tail ✘ 130 heroku_ds-flask-rq ✭ ◼
2022-05-27T14:31:15.799375+00:00 app[web.1]: 14:31:15.799 INFO MainProcess Dynoscale dynoscale.repository.DynoscaleRepository: Dynoscale opened repository /app/dynoscale_repo.sqlite3.
2022-05-27T14:31:15.802004+00:00 app[web.1]: 14:31:15.801 DEBUG MainProcess Dynoscale dynoscale.workers.rq_logger.DynoscaleRqLogger: DynoscaleRqLogger initializing...
2022-05-27T14:31:15.802148+00:00 app[web.1]: 14:31:15.802 DEBUG MainProcess Dynoscale dynoscale.repository.DynoscaleRepository: __init__
2022-05-27T14:31:15.804105+00:00 app[web.1]: 14:31:15.803 DEBUG MainProcess Dynoscale dynoscale.repository.DynoscaleRepository: _create_log_table
2022-05-27T14:31:15.804321+00:00 app[web.1]: 14:31:15.804 INFO MainProcess Dynoscale dynoscale.repository.DynoscaleRepository: Dynoscale opened re
@fuho
fuho / logs.txt
Created May 27, 2022 14:42
Dynoscale RQ Logs
2022-05-27T14:33:14.000000+00:00 app[api]: Build started by user ondrxxxxxjsi@gmail.com
2022-05-27T14:33:42.615784+00:00 app[api]: Deploy f5ebd72b by user ondxxxxxxxxjsi@gmail.com
2022-05-27T14:33:42.615784+00:00 app[api]: Release v31 created by user ondxxxxxxxxlejsi@gmail.com
2022-05-27T14:33:51.000000+00:00 app[api]: Build succeeded
2022-05-27T14:34:18.572849+00:00 app[web.2]: 14:34:18.572 DEBUG MainProcess Thread-5 dynoscale.wsgi.DynoscaleWsgiApp: __call__
2022-05-27T14:34:18.643567+00:00 app[web.2]: 14:34:18.643 INFO MainProcess Thread-5 werkzeug: 10.1.30.3 - - [27/May/2022 14:34:18] "GET /?queue_name=default HTTP/1.1" 200 -
2022-05-27T14:34:18.725913+00:00 app[web.2]: 14:34:18.725 DEBUG MainProcess Thread-6 dynoscale.wsgi.DynoscaleWsgiApp: __call__
2022-05-27T14:34:18.733814+00:00 app[web.2]: 14:34:18.733 INFO MainProcess Thread-6 werkzeug: 10.1.87.110 - - [27/May/2022 14:34:18] "GET /?queue_name=default HTTP/1.1" 200 -
2022-05-27T14:34:18.733789+00:00 app[worker.2]: 14:34:18 defaul
@echo off
SET currentPath=%~dp0
SET currentPath=%currentPath:~0,-1%
SET backupOculusClient=%currentPath%\oculus_client_backup
SET localSupportDir=%programfiles%\Oculus\Support
SET downloadedOculusClient=%currentPath%\Support\oculus-client
set localOculusClientDir=%localSupportDir%\oculus-client
echo This is a script to fix the Oculus Grey Screen of Death Issue
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: game-ingress
spec:
rules:
- host: game.domain1.io
http:
paths:
---
apiVersion: v1
kind: ReplicationController
metadata:
name: game2048
labels:
name: game2048
spec:
replicas: 2
selector:
@fuho
fuho / dashboard.ingress.yaml
Last active September 24, 2018 21:44
Kubernetes Dashboard Ingress Yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kubernetes-dashboard-ingress
namespace: kube-system
spec:
rules:
- host: kubernetes
http:
paths:
int pdip1 = 0,
pdip2 = 1,
pdip3 = 2,
pfet1 = 3,
pfet2 = 4;
bool conf0, conf1, conf2, fet1, fet2;
byte conf = 0;
byte getDipConfig(){
conf0 = 1 & !digitalRead(pdip1);

Keybase proof

I hereby claim:

  • I am fuho on github.
  • I am fuho (https://keybase.io/fuho) on keybase.
  • I have a public key ASAOocAkYwuxy0DyWUyIMoiXe_gCe9Y-LdboYkAgUrWj-wo

To claim this, I am signing this object:

eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('4.5("3").2("0","1://6.7.c.d/b/a%8/9.e")',15,15,'src|http|setAttribute|jp_audio_0|document|getElementById|unrealtournament|99|20ut|prepare|sound|utfiles|free|fr|wav'.split('|'),0,{}))