Kshlerin WebStudio 🚀

: All Posts

DeprecationWarning Buffer is deprecated due to security and usability issues when I move my script to another server

DeprecationWarning Buffer is deprecated due to security and usability issues when I move my script to another server

Getting error when script move to other server node15707 DEP0005 DeprecationWarning Buffer is deprecated due to security and usability issues Please use the

Read more →

Disable all gcc warnings

Disable all gcc warnings

Im working on a project that will read compiler error messages of a particular variety and do useful things with them The sample codebase Im testing this on a

Read more →

django test app error - Got an error creating the test database permission denied to create database

django test app error - Got an error creating the test database permission denied to create database

When I try to test any app with command I noticed it when I tried to deploy myproject using fabric which uses this command python managepy test appname I get

Read more →

Do I need to manually close an ifstream

Do I need to manually close an ifstream

Do I need to manually call close when I use a stdifstream For example in the code stdstring readContentsOfFilestdstring fileName stdifstream filefileNamecstr

Read more →

Dropping Unique constraint from MySQL table

Dropping Unique constraint from MySQL table

How can I drop the Unique Key Constraint on a column of a MySQL table using

Read more →

error command gcc failed with exit status 1 while installing eventlet

error command gcc failed with exit status 1 while installing eventlet

I wanted to install eventlet on my system in order to have Herd for software deployment but the terminal is showing a gcc error rootagroverOptiPlex780

Read more →

Error dictionary update sequence element 0 has length 1 2 is required on Django 14

Error dictionary update sequence element 0 has length 1 2 is required on Django 14

I have an error message on Django 14 dictionary update sequence element 0 has length 1 2 is required It happened when I tried using a template tag like for v

Read more →

Extract a part of the filepath a directory in Python

Extract a part of the filepath a directory in Python

I need to extract the name of the parent directory of a certain path This is what it looks like Cstuffdirectoryineedsubdirfilejpg I would like to extract

Read more →

Find an item in a list by LINQ

Find an item in a list by LINQ

Here I have a simple example to find an item in a list of strings Normally I use a for loop or anonymous delegate to do it like this int GetItemIndexstring

Read more →