Question: Can you explain how to use OR, AND and NOT operators in Unix grep command with some examples?
Source: 7 Linux Grep OR, Grep AND, Grep NOT Operator Examples
Posted by jpluimers on 2015/10/31
Question: Can you explain how to use OR, AND and NOT operators in Unix grep command with some examples?
Source: 7 Linux Grep OR, Grep AND, Grep NOT Operator Examples
Posted in *nix, *nix-tools, Power User, RegEx | Leave a Comment »
Posted by jpluimers on 2015/10/31
Interesting: VMware Tools 10.0.0 Release Notes
Source: VMware Front Experience: The great VMware Tools dilemma
–jeroen
Posted in ESXi6, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »
Posted by jpluimers on 2015/10/31
Old but still funny:
RAID666: block-level striping, two parity blocks distributed across a series of undead drives.
–jeroen
via: @sadserver
Posted in Fun, Quotes, T-Shirt quotes | Leave a Comment »
Posted by jpluimers on 2015/10/30
Voedingsmiddelen ontcijferd laat zien wat er in voedingsmiddelen zit, en classificeert zowel de componenten het totaal resultaat in drie groepen:
Daarnaast voegt het soms een opmerking toe (zoals gemodificeerd).
De blog is vrij strict (bijvoorbeeld E251 – natriumnitraat – wordt als onveilig beschouwd), uit het oogpunt “beter voorkomen dan genezen”.
Gezien het grote aantal voedingsmiddelen dat al uitgezocht is kom je toch op een behoorlijke lijst met veilige middelen uit.
Een interessante blog als je meer over je voedsel wil weten.
–jeroen
Posted in LifeHacker, Power User | Leave a Comment »
Posted by jpluimers on 2015/10/29
On a system where I just added a new E: drive, it was indeed available as
wmic logicaldisk where drivetype=3 get caption,filesystem,drivetype,providername,volumename
would output:
Caption DriveType FileSystem ProviderName VolumeName C: 3 NTFS D: 3 NTFS E: 3 NTFS
But it would not list as an administrative share since
net share
would give:
Share name Resource Remark ------------------------------------------------------------------------------- IPC$ Remote IPC ADMIN$ C:\WINDOWS Remote Admin D$ D:\ Default share C$ C:\ Default share The command completed successfully.
I wonder why the E$ drive was not visible. If anyone knows a better solution than a reboot, please let me know.
This was after the reboot:
Share name Resource Remark ------------------------------------------------------------------------------- IPC$ Remote IPC ADMIN$ C:\WINDOWS Remote Admin D$ D:\ Default share E$ E:\ Default share C$ C:\ Default share The command completed successfully.
–jeroen
via:
Posted in Batch-Files, Development, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2015/10/28
Quote of the day: Kristian Köhntopp: Operations exist because one does not simply run an app.
Good night all (:
–jeroen
via: “Docker in Production” Developer Person learns: Production and operations are…
Posted in Uncategorized | Leave a Comment »
Posted by jpluimers on 2015/10/28
Tibco is very powerful and can do all sorts of casting.
For my memory (formatted for readability; there are more details at OpenPGM Concepts : Transport):
The network parameter consists of up to three parts, separated by semicolons—network, multicast groups, send address—as in these examples:
Example Meaning lan0 network only lan0;225.1.1.1 one multicast group lan0;225.1.1.1,225.1.1.5;225.1.1.6 two multicast groups, send address lan0;;225.1.1.6 no multicast group, send address The format is like this:
partOne;partTwo;partThreeand some bits are optional
partOne[;[partTwo][;[partThree]]]Part one identifies the network, which you can specify in several ways: – Host name, Host IP address, Network name, Network IP number, Interface name, Default TRDP daemons use the network interface which corresponds to the hostname of the system as determined by the C function gethostname(). PGM daemons use the default PGM multicast interface, 224.0.1.78.
Part Two—Multicast Groups – Part two is a list of zero or more multicast groups to join, specified as IP addresses, separated by commas. Each address in part two must denote a valid multicast address. Joining a multicast group enables listeners on the resulting transport to receive data sent to that multicast group.
Part Three—Send Address, Part three is a single send address. When a program sends multicast data on the resulting transport, it is sent to this address. (Point-to-point data is not affected.) If present, this item must be an IP address—not a host name or network name. The send address need not be among the list of multicast groups joined in part two. If you join one or more multicast groups in part two, but do not specify a send address in part three, the send address defaults to the first multicast group listed in part two.
Note: I wasn’t aware that for Tibco Rendezvous the default multi-cast network was 225 (often you see 224 here, as that is the starting multi-cast range in the IANA IPv4 Address Space list)
–jeroen
via:
Posted in Communications Development, Development, Internet protocol suite, Network-and-equipment, Software Development, TCP, TIBCO Rendezvous | Leave a Comment »
Posted by jpluimers on 2015/10/27
Today it is about the curse of
ORA-12560: TNS:protocol adapter error
Don’t you love the overly generic error messages you often get, especially from Oracle.
We log the additional information which doesn’t bring much help either:
Errors:Oracle.DataAccess.Client.OracleErrorCollection; Number: 12560
There is so much that can cause the Oracle 12560 error (including spurious SSL things), that it is often like searching for a needle in a haystack.
What in fact happened is that in a few of our .NET config files got empty ConnectionString attributes for Data Source, User Id and Password as this fragment shows:
connectionString=”Data Source=; User Id=; Password=;”
The cause was a parameter substitution step in our build process where we generate each config file based on templates. It failed on some of them as this simple grep query can reveal:
grep -ind connectionstring\=.*\=; *.config
grep -indl connectionstring\=.*\=; *.config
The first one shows the files and lines, the second one only the files.
So we now have some guarding in place that will prevent these attributes to become empty.
–jeroen
Posted in .NET, .NET 4.0, .NET 4.5, C#, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Database Development, Development, OracleDB, Software Development | Leave a Comment »
Posted by jpluimers on 2015/10/26
Need to check which sizes they do deliver, but I got referred by Stefaan Lesage in theTech45 #256: Interfeesje PodCast. Stefaan absolutely loves this:
Makeappicon resizes and optimizes your icon designs into all formats needed for iOS and Android mobile app!
Source: Makeappicon – Generate app icons of all sizes with a click!
–jeroen
Posted in Development, Mobile Development, Software Development, Uncategorized | Leave a Comment »
Posted by jpluimers on 2015/10/26
I just made this little batch file to start the dialog that allows changing the Windows Profile type:
"%windir%\system32\rundll32.exe" sysdm.cpl,EditUserProfiles
–jeroen
Posted in Power User, Windows, Windows 7, Windows 8, Windows 8.1, Windows 9 | Leave a Comment »