nmap -v -sn -n 192.168.5.0/24 -oG - | awk '/Status: Down/{print $2}'
Month: May 2024
build barrier on macports for macos el capitan
For all lines with “modifiers |=” , change to “modifiers =” in the function below
macbookpro:~ root# vi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_barrier/barrier/work/barrier-2.4.0/src/lib/platform/OSXKeyState.cpp
347 CGEventFlags
348 OSXKeyState::getModifierStateAsOSXFlags()
349 {
350 CGEventFlags modifiers = CGEventFlags(0);
351
352 if (m_shiftPressed) {
353 modifiers = CGEventFlags(kCGEventFlagMaskShift);
354 }
355
356 if (m_controlPressed) {
357 modifiers = CGEventFlags(kCGEventFlagMaskControl);
358 }
359
360 if (m_altPressed) {
361 modifiers = CGEventFlags(kCGEventFlagMaskAlternate);
362 }
363
364 if (m_superPressed) {
365 modifiers = CGEventFlags(kCGEventFlagMaskCommand);
366 }
367
368 if (m_capsPressed) {
369 modifiers = CGEventFlags(kCGEventFlagMaskAlphaShift);
370 }
371
372 return modifiers;
373 }