find . -name "FILE-TO-FIND" -exec rm -rf {} \;
EbMajor - Nocturne
stonyslp.blogspot.com
Thursday, August 5, 2021
Tuesday, December 15, 2020
compiling on macbook - xcrun error
error:
xcrun: error: invalid active developer path
solution:
1. install xcode
2. xcode-select --install
Thursday, November 19, 2020
Thursday, October 29, 2020
Adding a dummy monitor
sudo apt-get install xserver-xorg-video-dummy
sudo vi /etc/X11/xorg.conf
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x800"
EndSubSection
EndSection
Tuesday, October 20, 2020
Disabling DHCP and DNS role - OpenWrt
uci set dhcp.lan.ignore="1"
uci set dhcp.@dnsmasq[0].port="0"
uci commit dhcp
/etc/init.d/dnsmasq restart
/etc/init.d/odhcpd restart
Thursday, July 30, 2020
Thursday, April 16, 2020
ifdef if defined if !defined
#if !defined(MANUF) || !defined(SERIAL) || !defined(MODEL)
#if defined(LINUX) && !defined(MODEL)
#endif