Mindblown: a blog about philosophy.
-
Updating Local Host Entries and Web Server Caching
If you edit a hosts entry on your server, you win, and if windows, you need not restart IIS as ASP.NET does not cache this resolution, PHP run as an apache module DOES require a restart of apache. Idk about other languages just yet, nor services tied to them.
-
SQL Server FAQ
I wanted a place to throw a lot of the high level SQL FAQ and answers for issues I come to. v=sql.70 7 v=sql.80 2000 v=sql.90 2005 v=sql.100 2008 v=sql.105 2008R2 v=sql.110 2012 v=sql.120 2014 v=sql.130 2016 This site lists build versions, this is really useful for matching version to version by running the updates…
-
Solved: Java method security exception.A security exception occurred while invoking Java method on a “”java.lang.Class”” object. MethodName is getName. Possible cause: Either the createobject function and cfobject tag are disabled in the security sandbox or you are trying to create a class in the ColdFusion package and that is disabled.
I was getting this error in the exception log: “Error”,”ajp-bio-8012-exec-37″,”04/12/13″,”11:51:15″,”mgtemplate”,”Java method security exception.A security exception occurred while invoking Java method on a “”java.lang.Class”” object. MethodName is getName. Possible cause: Either the createobject function and cfobject tag are disabled in the security sandbox or you are trying to create a class in the ColdFusion package and…
-
Easily test connectivity to MSSQL Server
I have run into a number of cases where I want to test a connection to a SQL (MSSQL) Server without having to resort to code. To do so is rather straight forward: Create a new file, a simple txt file is fine, and rename the document to “TestDBConnection.udl” sans quotes and spaces. Be sure…
-
Obtaining Usage Information on *nix Systems
When obtaining usage information, there are primarily 3 details you want to look at (for my needs, yours may vary) being CPU, RAM, Hard Disk. On many systems you can use the below commands: cat /proc/cpuinfo | grep processor | wc -l free df -h On newer machines ( I think RHEL 6 and newer)…
-
Faulting application name: cygrunsrv.exe, version: 0.0.0.0, time stamp: 0x40826252 Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f
Okay, ran into this issue and had errors in numerous places, errors consisted of 2 Information items in the event viewer: Faulting application name: cygrunsrv.exe, version: 0.0.0.0, time stamp: 0x40826252 Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f Exception code: 0xc0000005 Fault offset: 0x00033de8 Faulting process id: 0x1864 Faulting application start time: 0x01ce3154ee337ce8 Faulting…
-
Adding the Administrators group within SQL Server
If you want to add the group Administrators to SQL so that any user of the Administrators Group can use SQL server, the below code, once executed, will perform this for you: CREATE LOGIN [BUILTIN\Administrators] FROM WINDOWS WITH DEFAULT_DATABASE=[master] GO EXEC master..sp_addsrvrolemember @loginame = N’BUILTIN\Administrators’, @rolename = N’sysadmin’ GO
-
Testing dotDefender using URL String
Okay, I keep ‘forgetting’ how to test if dotDefender is in place and able to block requests. Long story short, a URL can be fashioned as such: http://example.com/?id=variable’or1=1 in order to be able to trip the expected response:
-
Determining Microsoft SQL Server Version
Open up SQL Server Management Studio and connect to the Database Engine (connection not pictured) Right click on the instance and choose Properties from the menu. Here you can see the Product and the Version, as both are important details. If you are noting this for future reference I recommend noting the entire line of each.…
-
Checking current CPU and RAM (Memory) usage on Windows 2008
If you need to check the current CPU and RAM usage on Windows 2008, Windows 2008 R2 as well, it is a matter of right clicking on the Task Bar (Usually found on the bottom of the display) and selecting ‘Start Task Manager’: Here on the Windows Task Manager you can see current CPU usage,…
Got any book recommendations?