Archive for November, 2013

sed: How can I replace a newline (\n)?

Posted: 27th November 2013 by admin in all

sed ':a;N;$!ba;s/\n/ /g' This will read the whole file in a loop, then replaces the newline(s) with a space. Update: explanation. create a label via :a append the current and next line to the pattern space via N if we are before the last line, branch to the created label $!ba ($! means not to […]

Nginx Error – 413 Request Entity Too Large

Posted: 17th November 2013 by admin in all
Tags: , , ,

If you’re getting 413 Request Entity Too Large errors trying to upload with nginx.net/, you need to increase the size limit in nginx.conf . Add ‘client_max_body_size xxM’ inside the server section, where xx is the size (in megabytes) that you want to allow. http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; server { […]

CyanogenMod today announced its one-click installer app has been finally published to Android’s app store; you can download it now directly from Google Play. At the same time, CyanogenMod has released its PC companion app, available on its freshly redesigned download site: download.cyanogenmod.org. “Our goal for the installer has always been to allow more users to experience the benefits […]

It is an assignment from a recent interview that I got when trying to get new job The task was do to below things: Install an EC2 instance  *   AWS has a free usage tier – http://aws.amazon.com/free/ *   Instantiate an EC2 micro instance  *   the instance creation should be done using the AWS developer tools http://aws.amazon.com/developertools *   […]

Occasionally, there are hotfixes or updates that Microsoft does not provide direct download links for. Instead, end-users who require the hotfix to fix or resolve the problem or issue are asked to contact Microsoft Customer Support Services to obtain the hotfix, where a complete list of Microsoft Customer Support Services telephone numbers and information about […]