Any topics/comments welcome for upcoming meeting
Time/Date: TBA
Any topics/comments welcome for upcoming meeting
Time/Date: TBA
| textFragment("foo bar hello spatial world flop flap", '#:~:text=hello,world') | |
| // hello spatial world | |
| textFragment("foo bar hello spatial world flop flap", '#:~:text=hello spatial,flap') | |
| // hello spatial world flop flap | |
| // naive implementation: this only supports the main usecase: begin/end | |
| var textFragment = function(text, fragment) { | |
| if (!fragment.match(/^#:~:text=/)) return text; | |
| fragment = fragment.replace(/^#:~:text=/, ''); // remove prefix |
| #!/bin/sh | |
| test -n "$1" || { echo "Usage: ./janusxr_linkcheck.sh <url>"; exit 0; } | |
| agent=$(basename $(which curl || which wget)) | |
| if test $agent = curl; then $agent "$1" -s > /tmp/out.html; fi | |
| if test $agent = wget; then $agent "$1" -O /tmp/out.html; fi | |
| for attr in src url; do | |
| grep -E ${attr}= /tmp/out.html | sed 's|.*'$attr'="||g;s|".*||g'; | |
| done | while read url; do |
| # | |
| # autoenv alias for 'cd' (basically conda/nix-shell/virtual-env triggered by cd) | |
| # | |
| # usage: put this in your .bashrc and see magic happening when 'cd'-ing to directories | |
| # | |
| cd(){ | |
| if [[ ! "$(readlink -f "$1")" =~ ^"$(pwd)" ]]; then # if not cd'ing to a subdir | |
| test -f .env.leave && source .env.leave # cleanup environment | |
| fi |
| bl_info = { | |
| "name": "Environmake", | |
| "author": "Albert Bozesan and GPT-4", | |
| "version": (0, 2), | |
| "blender": (4, 0, 0), | |
| "location": "View3D > N Panel > Environmake", | |
| "description": "Generate a 360 sphere with displacement from equirectangular textures!", | |
| "warning": "", | |
| "doc_url": "", | |
| "category": "3D View", |
TAPO camera's are pretty neat for hasslefree filming of events (splashproof, wide angle, scheduled recording, great auto-exposure-sharpening). However, due to limited memory/cpu you'll end up with segmented mp4 files on your SD-card. The app does not help either (*)
Solution with the shellscript below you can combine all separate TAPO videofiles to one file:
$ cd /run/media/yourTAPOSDcard
$ find $(pwd)/*tp000{41..70}.mp4 | ffmpeg.concat /tmp/merged.mp4| #!/bin/sh | |
| # | |
| # usage: | |
| # | |
| # [code]$ midimonitor $(aseqdump -l | awk '/MYCONTROLLER/ { print $1 }') | |
| # 32:0 Control change 0, controller 72, value 112, CCEEXXYY = C8007000 | |
| # 32:0 Control change 4, controller 72, value 112, CCEEXXYY = C8007000 | |
| # 32:0 Control change 0, controller 0, value 120, CCEEXXYY = 80007800 | |
| # 32:0 Control change 0, controller 32, value 64, CCEEXXYY = A0004000 | |
| # --- Bank: 15424 |
attempt to compile PlayerPro on Linux:
$ git clone https://git.code.sf.net/p/playerpro/gitcode
$ cd playerpro-gitcode
$ git reset 6e755d24 --hard # optional, but this is the latest commit afaik
$ git apply diff.patch
$ mkdir build
$ cd build
$ cmake ..
| #!/bin/sh | |
| echo ' | |
| <h1>/tmp watcher</h1> | |
| <pre> | |
| try: $ touch /tmp/FOO | |
| $ chmod +x /tmp/FOO | |
| $ xattr -s foo -V bar /tmp/FOO | |
| </pre> |
| diff --git a/src/milkyplay/PlayerBase.h b/src/milkyplay/PlayerBase.h | |
| index 5f48517..b14013b 100644 | |
| --- a/src/milkyplay/PlayerBase.h | |
| +++ b/src/milkyplay/PlayerBase.h | |
| @@ -196,7 +196,9 @@ public: | |
| virtual mp_sint32 adjustFrequency(mp_uint32 frequency); | |
| virtual mp_sint32 setBufferSize(mp_uint32 bufferSize); | |
| - | |
| + |