All posts by rogerdpack

foundation reveal woe

$(‘#exampleModal3’).foundation(‘reveal’, ‘close’);

foundation.js:5164 Uncaught ReferenceError: We’re sorry, ‘Reveal’ is not an available method for Reveal.
at jQuery.fn.init.foundation (foundation.js:5164)
at <anonymous>:1:21

meant do this

$('#element').foundation('close');
instead it changed in foundation 6...

ubuntu server woe

startx

xinit connection to x server lost

meant “you can’t just install package xinit you need a slew of them, like”

tasksel install ubuntu-mate-core

https://linuxconfig.org/install-gui-on-ubuntu-server-18-04-bionic-beaver

then startx’ll work

link

mingw woe

configure: creating ./config.status
config.status: creating Makefile
config.status: creating crt/_mingw.h
config.status: creating config.h
make install-am
make[1]: Entering directory ‘/root/ffmpeg-windows-build-helpers/sandbox/cross_compilers/build/headers’
make[1]: *** No rule to make target ‘/root/ffmpeg-windows-build-helpers/sandbox/cross_compilers/source/mingw-w64-5.0.4/mingw-w64-headers/include/*.h16’, needed by ‘all-am’. Stop.
make[1]: Leaving directory ‘/root/ffmpeg-windows-build-helpers/sandbox/cross_compilers/build/headers’
Makefile:1015: recipe for target ‘install’ failed
make: *** [install] Error 2
error

 

meant “nuke it, try it again, it’ll work the third time of doing that” LOL possibly multi-threading issue of some kind…

crystal copy earlier older version from other box

  333  ls

  334  exit

  335  cd

  336  ls

  337  rm -rf *

  338  exit

  339  crystal -v

  340  which crystal

  341  scp /usr/bin/crystal packrd@inet2.org:~

  342  scp /usr/bin/crystal rdp@inet2.org:~

  343  du -h /usr/lib

  344  scp -r /usr/lib rdp@inet2.org:~

  345  du -h /usr/lib

  346  fg

  347  find /usr/lib -name crystal

  348  scp -r /usr/lib/crystal  rdp@inet2.org:~/lib

  349  find / -name prelude.cr

  350  scp -r root@canarybignow20180917-s-1vcpu-2gb-sfo1-01:~# find / -name prelude.cr

  351  scp -r /usr/share/crystal/src rdp@inet2.org:~/me

  352  history

then run with CRYSTAL PATH setup for the copied lib

https://stackoverflow.com/questions/52125950/crystal-lang-how-to-indicate-require-path-for-crystal-compiler