All Google URLs you will ever need in one handy place: How To Work with Google Reference List I. by Dennis Labelle.
–jeroen
Posted by jpluimers on 2015/11/30
On Mac OS X, bare route and ifconfig give way too much information to view the most important things at once.
So I used an alias for this:
route -n get default | grep 'gateway' && echo && ifconfig | grep '\: flags\|inet\|inet6'
Later I needed IPv6 support, so I changed it to:
netstat -nr | grep 'Internet\|Gateway\|default' && echo && ifconfig | grep '\: flags\|inet\|inet6'
So you get something like this:
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.178.1 UGSc 23 0 en4
default 192.168.71.1 UGScI 7 0 en0
Internet6:
Destination Gateway Flags Netif Expire
default fe80::3631:c4ff:fe47:13f1%en0 UGc en0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::6203:8ff:fea2:4814%en0 prefixlen 64 scopeid 0x4
inet 192.168.71.40 netmask 0xffffff00 broadcast 192.168.71.255
inet6 2001:982:2345:1:6203:8ff:fea2:4814 prefixlen 64 autoconf
inet6 2001:982:2345:1:4011:119a:e527:e021 prefixlen 64 autoconf temporary
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
en4: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::426c:8fff:fe44:95ea%en4 prefixlen 64 scopeid 0xb
inet6 fd00::426c:8fff:fe44:95ea prefixlen 64 detached autoconf
inet6 fd00::74a7:8f26:cd22:20b7 prefixlen 64 detached autoconf temporary
inet 192.168.178.22 netmask 0xffffff00 broadcast 192.168.178.255
–jeroen
via:
Posted in Apple, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »
Posted by jpluimers on 2015/11/28
Old but still funny:
say -v Zarvox "i am gonna get you, motherfucker
Defcon 18 Pwned By the owner What happens when you steal a hackers computer – This is why I Code – Google+
Source: Defcon 18 Pwned By the owner What happens when you steal a hackers computer…
Posted in Uncategorized | Leave a Comment »
Posted by jpluimers on 2015/11/27
It feels like yesterday, but haxpo2015ams was already six months ago!
Session materials index:
–jeroen
Posted in *nix, *nix-tools, Encryption, Hashing, https, LifeHacker, OpenSSL, PKI, Power User, Public Key Cryptography, Security, Signing | Leave a Comment »
Posted by jpluimers on 2015/11/27
Via G+ Paul Braren:
Great new video by Alex López (VCA6, and moderator at http://tonymacx86.com), all kinds of great info in this video, check it out!
Create a Custom ESXi Image with ESXi-Customizer-PS Script – YouTube
–jeroen
Posted in ESXi6, Power User, VMware, VMware ESXi | Leave a Comment »
Posted by jpluimers on 2015/11/27
Posted in LifeHacker, Power User | Leave a Comment »
Posted by jpluimers on 2015/11/26
As a reminder to self: Settings are nice (too bad they advertise them as Windows Forms Application Settings, as they are just as useful for other assemblies), but be aware…
When using Settings.Default, it will get the values to the state of the app.config (or defaults if there is no app.config) of the assembly that defined the settings, not the app.config of the starting process.
This is unless your settings are merged into the app.config of the starting process.
–jeroen
Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2015/11/25
I had this a while ago on one of my Android devices: an error 926 while downloading apps from the Play Store.
After searching, the only relevant solution I could find is in the below youtube video. These are the steps to resolve the problem:
For some users, just resetting the “Download Manager” might fix the 926 problem. I had to reset “Google Services Framework” as well. Others had to reset the “Google Play Store” app.
These were the circumstances I encountered the 926 problem:
After fixing the 926 error, I installed all apps using the Google Play app which then went fine.
–jeroen
Posted in Android Devices, Power User | Leave a Comment »
Posted by jpluimers on 2015/11/25
Code Analysis in Visual Studio objects against using very generic exception types:
CA2201 Do not raise reserved exception types
‘BusinessClass<T>.StopProcessing()’ creates an exception of type ‘ApplicationException’, an exception type that is not sufficiently specific and should never be raised by user code. If this exception instance might be thrown, use a different exception type.
Company.Departement.Functionality BusinessClass.cs 157
Indeed ApplicationException and SystemException are bad (both mapping to also very generic COM HRESULT values COR_E_APPLICATION / -2146232832 / 0x80131600 and COR_E_SYSTEM / -2146233087 / 0x80131501).
Using InvalidOperationException is much nicer in this case. It still maps to a COM exception (in this case COR_E_INVALIDOPERATION / -2146233079 / 0x80131509).
–jeroen
Posted in .NET, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Development, Software Development | Leave a Comment »
Posted by jpluimers on 2015/11/24
Applying security hardening standards and generally securing Ubuntu has been a challenge.
Tell me about it (:
–jeroen
Posted in *nix, *nix-tools, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »