1. Screens
- Decide what matters.
- Make that pop out.
- Make everything else fade back.
A clear and well structured layout is also beautiful.
bash:~$ cat /proc/acpi/ibm/hotkey | |
status: enabled | |
mask: 0x008c7fff | |
commands: enable, disable, reset, <mask> | |
0x008c7fff means that in the mask there are only certain buttons. | |
Change the mask to 0x00ffffff and volume works fine (must be root). | |
echo 0x00ffffff >/proc/acpi/ibm/hotkey |
go to "System-Preferences-Appearance". In the "Theme" tab click on "New Wave". This will change everything to the new wave style. | |
Since this is causing trouble in Notes, click the "customize" button and select a different theme for your "Controls". For example "Dust", which is also a dark theme with black panels. | |
This will cause Notes 8.5 not to use 100% CPU anymore. |
ENABLE | |
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true | |
DISABLE | |
defaults write com.apple.Safari TargetedClicksCreateTabs -bool false |
<script type="text/javascript"> | |
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | |
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | |
</script> | |
<script type="text/javascript"> | |
try { | |
var pageTracker = _gat._getTracker("UA-9572333-1"); | |
pageTracker._trackPageview(); | |
} catch(err) {}</script> |
<script type="text/javascript"> | |
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | |
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | |
</script> | |
<script type="text/javascript"> | |
try { | |
var pageTracker = _gat._getTracker("UA-9572333-1"); | |
pageTracker._trackPageview(); | |
} catch(err) {}</script> |
1. Screens
A clear and well structured layout is also beautiful.
1. Don’t fail often
If you learn only from mistakes, then you learn what not to do and you don’t learn what to do. Keep an eye on your successes. Entrepreneurs who failed are not more likely to succeed like anyone else who didn’t try in the first place. Like in evolution emphasize what really works.
2. Planning is overrated
Plans are guesses. You can’t predict what’s going to happen. Rough ideas are enough [a vision?]. You know more when you did something. Figure out things as you go along. Be aware what is going on, every day.
// http://hostname.com:80/mywebapp/servlet/MyServlet/a/b;c=123?d=789 | |
public static String getUrl3(HttpServletRequest req) { | |
String scheme = req.getScheme(); // http | |
String serverName = req.getServerName(); // hostname.com | |
int serverPort = req.getServerPort(); // 80 | |
String contextPath = req.getContextPath(); // /mywebapp | |
String servletPath = req.getServletPath(); // /servlet/MyServlet | |
String pathInfo = req.getPathInfo(); // /a/b;c=123 | |
String queryString = req.getQueryString(); // d=789 | |
if not done, then install seahorse first | |
Applications -> Accessories -> Passwords and Encryption Keys | |
select Passwords tab | |
in the treeview, right click on "Passwords: login" and select "Change Password" | |