-
Ubuntu 16.04 – system boot waits saying “Raise network interfaces” – Ask Ubuntu
“Edit this file /etc/dhcp/dhclient.conf and set timeout to a reasonable value, like
timeout 15
The default value of 300 seconds is way too high”
-
How can I deactivate Bluetooth on system startup? – Ask Ubuntu
“Run sudoedit /etc/rc.local and add this before line with exit 0:
rfkill block bluetooth”
Mês: maio 2018
Update (weekly)
-
How to download Udemy Videos? – Stack Overflow
” git clone https://github.com/r0oth3x49/udemy-dl.git
pip install -r requirements.txt
4) Download as you would normally do (from virtual box):python udemy-dl.py -u user@domain.com -p p4ssw0rd COURSE_URL”
-
windows – Clock time is off on dual boot – Ask Ubuntu
“Make Linux use ‘Local’ time
To tell your Ubuntu system that the hardware clock is set to ‘local’ time:
Pre-Ubuntu 15.04 systems (e.g. Ubuntu 14.04 LTS):
edit /etc/default/rcS
add or change the following section
# Set UTC=yes if your hardware clock is set to UTC (GMT)
UTC=noUbuntu 15.04 systems and above (e.g. Ubuntu 16.04 LTS):
open a terminal and execute the following command
timedatectl set-local-rtc 1
”
Update (weekly)
-
Change default code page of Windows console to UTF-8 – Super User
“To change the codepage for the console only, do the following:
Start -> Run -> regedit
Go to [HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\Autorun]
Change the value to chcp 65001″ -
java – Hibernate @ManyToOne “Target Entity is not defined” – Stack Overflow
“This error has nothing to do with your application. It works fine but the error is in Eclipse.
To remove this (and other JPA) error message simply disable the JPA validation under Window -> Preferences -> Validation and here remove the checks from JPA Validator.
Generally most applications can be developed without any validators because bigger projects’ validation slows down compiling in eclipse way too much. In this case click Disable all in the same window below the table of validators.”
-
“You are attempting to update the UI from a background thread. Either move the toast to onPostExecute, which executes on the UI thread (recommended), or call runOnUiThread.”
-
Developing Android Apps – Udacity
“padding and layout_margin are two very similar attributes. Both determine the space around a View. The difference is that padding determines space within the boundaries of the view, and layout_margin determines the space outside the boundaries of the view”