Techy Things

Qt5Network.lib(Qt5Network.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' 0

Qt5Network.lib(Qt5Network.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

$> nmake (...) moc_webfile.cpp moc_xmlparser.cpp moc_QBreakpadHandler.cpp moc_QBreakpadHttpUploader.cpp Generating Code... link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:WINDOWS " /MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture ='*'" /VERSION:1.21 /MANIFEST:embed /OUT:"release\Haivision Helper.exe" @C:\Users\Frank\AppData\Local\Temp\nmD970.tmp Qt5Network.lib(Qt5Network.dll) : fatal error LNK1112: module...

Backbone bootstrap model validations 0

Backbone bootstrap model validations

Scenario We have fields that needs to be validated. We already highlight the erroneous field(s) and display a specific message below each erroneous field. Now we want to display a popup notification on the...

Compile ffmpeg on Windows natively with Visual Studio 2013 0

Compile ffmpeg on Windows natively with Visual Studio 2013

Downloads MSYS (Install it) http://www.mingw.org/download/installer Choose at least install options gcc-g++ as below Then click Installation | Apply Changes FFmpeg source code https://github.com/FFmpeg/FFmpeg Visual Studio 2013 Free Community Edition (Install it) https://www.visualstudio.com/en-us/news/releasenotes/vs2013-community-vs YASM http://yasm.tortall.net/Download.html...

npm not found when under sudo 0

npm not found when under sudo

[dev@squarepants www]$ sudo npm install -g bbb sudo: npm: command not found Solution You have probably like me installed node with nvm (node version manager). This installs node locally for the user and root...

jQuery prevent uploading too large file in Frontend 0

jQuery prevent uploading too large file in Frontend

afterRender:       // Only works on HTML5       $('#file').on('change', function() {         $("#upload-package").prop("disabled",  false);         var sizeLimit = 90;         if (this.files && this.files.length && this.files[0].size > sizeLimit*1024*1024) {           notifier.error_x("File size exceeds limit...

Mousewheel prevent body scroll on modal 0

Mousewheel prevent body scroll on modal

Solution #1   // prevent background of modal from scrolling   // DOMMouseScroll for Firefox equivalent   $(document).on("mousewheel DOMMouseScroll", ".modal-backdrop, .modal-body", function(event) {     event.stopPropagation();     event.preventDefault();   });   // prevent background of...