[ macOS ] Cisco AnyConnect


brew install openconnect

No additional Driver needed


sudo openconnect -u USERNAME https://YOUR_VPN_SERVER

password : your local machine root password

then your remote machine password





  An HTTP request has been made that VCR does not know how to handle:
    GET https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest

  There is currently no cassette in use. There are a few ways
  you can configure VCR to handle this request:

    * If you're surprised VCR is raising this error
      and want insight about how VCR attempted to handle the request,
      you can use the debug_logger configuration option to log more details [1].
    * If you want VCR to record this request and play it back during future test
      runs, you should wrap your test (or this portion of your test) in a
      `VCR.use_cassette` block [2].
    * If you only want VCR to handle requests made while a cassette is in use,
      configure `allow_http_connections_when_no_cassette = true`. VCR will
      ignore this request since it is made when there is no cassette [3].
    * If you want VCR to ignore this request (and others like it), you can
      set an `ignore_request` callback [4].

  [1] https://www.relishapp.com/vcr/vcr/v/2-9-3/docs/configuration/debug-logging
  [2] https://www.relishapp.com/vcr/vcr/v/2-9-3/docs/getting-started
  [3] https://www.relishapp.com/vcr/vcr/v/2-9-3/docs/configuration/allow-http-connections-when-no-cassette
  [4] https://www.relishapp.com/vcr/vcr/v/2-9-3/docs/configuration/ignore-request


NOTE : The VCR configuration may not be loaded!!!!!!!!

Example : for me this require database_test to be created


more info by logging using debug_logger configuration

Example inside the log

[webmock] Identified request type (unhandled) for [get https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest]

Allow http_connection with no cassette

c.allow_http_connections_when_no_cassette = true

ref : https://www.relishapp.com/vcr/vcr/v/2-9-3/docs/configuration/allow-http-connections-when-no-cassette

[ VirtualBox ] npm read-only file system, symlink


  • VirtualBox on windows
  • The box contains linux inside
  • mount Share Folder
  • Inside the box run npm install


EROFS: read-only file system,

npm read-only file system, symlink '' -> ''


C:\Program Files\Oracle\VirtualBox> VBoxManage.exe setextradata VM_NAME VBoxInternal2/SharedFoldersEnableSymlinksCreate/SHARE_NAME 1

NOTE : replace VM_NAME and SHARE_NAME with yours


C:\Program Files\Oracle\VirtualBox> VBoxManage setextradata Ubuntu VBoxInternal2/
SharedFoldersEnableSymlinksCreate/test_mount_folder 1


To delete extradata, Run the same command without the delimiter. (no value).

C:\Program Files\Oracle\VirtualBox>VBoxManage setextradata Ubuntu VBoxInternal2/SharedFoldersEnableSymlinksCreate/test_mount_folder


List Virtualbox extradata command

C:\Program Files\Oracle\VirtualBox>VBoxManage getextradata Ubuntu enumerate
Key: GUI/LastCloseAction, Value: PowerOff
Key: GUI/LastGuestSizeHint, Value: 1920,1020
Key: GUI/LastNormalWindowPosition, Value: 1860,244,640,522
Key: GUI/LastScaleWindowPosition, Value: 2355,159,861,619
Key: GUI/RestrictedRuntimeDevicesMenuActions, Value: HardDrives
Key: GUI/RestrictedRuntimeMachineMenuActions, Value: SaveState,PowerOff
Key: GUI/StatusBar/IndicatorOrder, Value: HardDisks,OpticalDisks,FloppyDisks,Net
Key: VBoxInternal2/SharedFoldersEnableSymlinksCreate/test_mount_folder, Value: 1


ref : https://serverfault.com/questions/345341/cant-create-symlinks-in-virtualbox-shared-folders,




[ karma ] do not close browser / do not clear console

Do not close browser

--single-run false

ref: https://stackoverflow.com/questions/42563991/how-do-you-tell-karma-to-keep-browser-window-open-if-tests-fail

Do not clear console


module.exports = function (config) {
  /* ... */
  client: {
    clearContext: false
  /* ... */

ref : https://stackoverflow.com/questions/45509381/karma-test-running-after-executing-tests-screen-goes-blank


[ bundle : nokogiri ] zlib is missing; necessary for building libxml2


Gem::Ext::BuildError: ERROR: Failed to build gem native extension.Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/pong/.rvm/gems/ruby-2.1.2/gems/nokogiri-1.8.2/ext/nokogiri/home/pong/.rvm/rubies/ruby-2.1.2/bin/ruby -r ./siteconf20180322-15316-13hdj8h.rb extconf.rbchecking if the C compiler accepts ... yesBuilding nokogiri using packaged libraries.Using mini_portile version 2.3.0checking for gzdopen() in -lz... nozlib is missing; necessary for building libxml2*** extconf.rb failed ***Could not create Makefile due to some reason, probably lack of necessarylibraries and/or headers.  Check the mkmf.log file for more details.  You mayneed configuration options.
Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/home/pong/.rvm/rubies/ruby-2.1.2/bin/ruby --help --clean --use-system-libraries --enable-static --disable-static --with-zlib-dir --without-zlib-dir --with-zlib-include --without-zlib-include=${zlib-dir}/include --with-zlib-lib --without-zlib-lib=${zlib-dir}/lib --enable-cross-build --disable-cross-build
To see why this extension failed to compile, please check the mkmf.log which can be found here:
extconf failed, exit code 1
Gem files will remain installed in /home/pong/.rvm/gems/ruby-2.1.2/gems/nokogiri-1.8.2 for inspection.Results logged to /home/pong/.rvm/gems/ruby-2.1.2/extensions/x86_64-linux/2.1.0/nokogiri-1.8.2/gem_make.out


sudo apt-get install zlib1g-dev

ref : https://github.com/flapjack/omnibus-flapjack/issues/72