Senger CodeLab 🚀

: All Posts

Load a WPF BitmapImage from a SystemDrawingBitmap

Load a WPF BitmapImage from a SystemDrawingBitmap

I have an instance of a SystemDrawingBitmap and would like to make it available to my WPF app in the form of a SystemWindowsMediaImagingBitmapImage What would

Read more →

Local file access with JavaScript

Local file access with JavaScript

Is there local file manipulation thats been done with JavaScript Im looking for a solution that can be accomplished with no install footprint like requiring

Read more →

MacOS Catalinav 10153 Error chromedriver cannot be opened because the developer cannot be verified Unable to launch the chrome browser

MacOS Catalinav 10153 Error chromedriver cannot be opened because the developer cannot be verified Unable to launch the chrome browser

I have recently upgraded my mac machine to OS Catalinav 10153 After this upgrade I am unable to launch the chrome driver using selenium I am facing the below

Read more →

Open directory dialog

Open directory dialog

I want the user to select a directory where a file that I will then generate will be saved I know that in WPF I should use the OpenFileDialog from Win32 but

Read more →

Passing parameters to JavaScript files

Passing parameters to JavaScript files

Often I will have a JavaScript file that I want to use which requires certain variables be defined in my web page So the code is something like this ltscript

Read more →

PHPMailer character encoding issues

PHPMailer character encoding issues

I try to use PHPMailer to send registration activation etc mail to users requireclassphpmailerphp mail gt charSet UTF8 mail new PHPMailer mailgtIsSMTP

Read more →

Postgresql GROUPCONCAT equivalent

Postgresql GROUPCONCAT equivalent

I have a table and Id like to pull one row per id with field values concatenated In my table for example I have this TM67 4 32556 TM67 9 98200 TM67 72 22300

Read more →

Searching word in vim

Searching word in vim

I can search word in vim with word How can I search only for word excluding searches for word1 and

Read more →

Setting DEBUG  False causes 500 Error

Setting DEBUG False causes 500 Error

Once I change the DEBUG False my site will generate 500 using wsgi amp managepy runserver and there is no error info in Apache error log and it will run

Read more →