I had some trouble installation Windows Server 2012 in Virtual Box. The fix for enabling some CPU option using VBoxManager.exe didn’t work.
Instead, you need to enable the “No-Memory Execute” Protection option in your motherboard’s BIOS. This seems to apply especially to people using ASRock motherboards.
ffmpeg -i videoin.mpg output.mp4
ffmpeg -i testing.m4v -b:a 192K -vn testing.mp3
Or.. modify the VLC batch script
FOR /R %%G IN (*.m4a) DO (CALL :SUB_VLC "%%G")
FOR /R %%G IN (*.m4a.mp*) DO (CALL :SUB_RENAME "%%G")
CALL SET _newnm=%%_firstbit:%_qt%=%%
REM echo %_commanm%
CALL "D:\Program Files (x86)\FFmpeg\bin\ffmpeg.exe" -i %1 -b:a 320K -vn "%_commanm%.mp3
CALL SET _newfilenm=%%_origfnm:.m4a%_endbit%=.mp3%%
COPY %1 %_newfilenm%
Change the command:
"D:\Program Files (x86)\FFmpeg\bin\ffmpeg.exe"
to the path where ffmpeg is located. Place the ‘.bat’ file in the directory where you want to convert files and run.
For those tasked with integrating an API from a company that starts with an R and ends with a one. Here are some links that may prove useful:
Digitally Signing an XML Document and Verifying the Signature
Here’s a PDF of the article, in case it ever get’s taken down.
I didn’t use C# to create the XML document. Instead, I used a Razor template to generate the XML.
How did I sign an XML document with an XML prefix?
Reference this Stack Overflow thread. Check the answer submitted by George Dima. [Thank you George.] Reference in case it ever gets taken down.
I didn’t realize that you can’t sign an XML document with a prefix in .NET using the objects provided as is. It took me awhile to figure out that this was causing a validation issue with the XML signature.
How do I Http Post in C#?
Reference the code here or just download it here.
There’s an easier way using the WebClient object, but if you can’t use the latest version of the .NET framework, the above will work fine in all cases.
Ctrl+Shift+Delete to bring up the cache options.
Ctrl+ F5 will clear the cache for the current page being viewed.
Run the following command:
openssl req -new -x509 -days 365 -nodes -out /etc/apache2/ssl/apache.pem -keyout /etc/apache2/ssl/apache.key
First archive the directory using 7zip.
7z a filename.7z targetdirectory
Next, encrypt the file using OpenSSL. Executing the command will ask the user for a password
openssl aes-256-cbc -in filename.7z -out file.enc
You can decrypt the file using the following command. Executing the command will ask the user for a password.
openssl aes-256-cbc -d -in file.enc -out filename.7z
To open the start menu folder in Explorer, right click on ‘All Programs’ and select ‘Open‘. You can now copy and paste shorts into your ‘All Programs’ menu.
It’s suggested you use SQL Profiler trace data ove layed against system information found in the performance monitor. However, to get a quick look at what queries may be slowing down performance , run the following –
, sum(s.execution_count) sum_execution_count
, sum(s.total_elapsed_time) sum_total_elapsed_time
, sum(s.total_worker_time) sum_total_worker_time
, sum(s.total_logical_reads) sum_total_logical_reads
, sum(s.total_logical_writes) sum_total_logical_writes
from sys.dm_exec_query_stats s
group by s.plan_handle
) as ss
cross apply sys.dm_exec_sql_text(ss.plan_handle) t
order by sum_total_logical_reads DESC