Skip to main content

Window OS

Here is a list of tools I have used in the Window OS
  1. Window Environment
  2. Window Command Line
  3. Window gflags.exe
  4. EmacsW32
  5. TortoiseSVN
  6. Microsoft Visual Studio 2008
  7. Incredibuild
  8. WinMerge
  9. Notepad++
  10. Miktex(Protext)
  11. Jabref
  12. Bibtex4Word - to use bibTeX in Microsoft Word
  13. Cygwin
TODO:
  1. Opening a huge text file in window
  2. Splitting a huge text file into multiple small files


Window Environment
  1. My Computer > Properties > Advanced > Environment Variables > PATH
  2. To maximize a window, use the Alt-Space-x
  3. Window-E --> To lunch explorer
  4. Window-L --> To lock the screen
  5. Window-R --> To open up the run window
  6. Window-D --> To minimize all the window
Window Command Lines
  1. proxycfg --> To find out the proxy server
  2. xcopy

Tortoise SVN
  1. TSVNcache.exe is used by Tortoise SVN to continously check the status of sandboxes. This process requires a lot of resources. To disable the TSVNcache.exe, go to > All Program > Tortoise SVN > Settings > Icon Overlays > Status Cache > None



Emacs
  1. Instal EmacsW32 instead of GNUEmacs
  2. Add the path to basic GNU utilities, i.e., add to the path


Visual Studio 2008
  1. F5
  2. Shift F5
  3. Ctrl F5

Visual Studio 6
  1. To incur a break point when a variable changes, one needs to find out the address of the variable. So the debugger has to start and stop somewhere to find out the address of the variable. Then go to Edit>Debug>Data

Cygwin
  1. In initial installation of Cygwin, the emacs editor cannot quit. If one does a 'M-x describe-key' for C-x C-c, one will see that the key combination is mapped to 'C-x C-g', which means go to line. To fix this, one may edit the batch file used to lunch cygwin from the desktop. Add 'set CYGWIN=tty' right before the call to bash. Example:
  2. @echo off
  3. C:
    chdir C:\cygwin\bin
    set CYGWIN=tty
    bash --login -i


Comments

Popular posts from this blog

Web App Scaling with Flask Blueprint and Namespaces

A real-world Flask-RESTX-based API  may have multiple namespaces. The best practice for scaling a web application is to use a blueprint along with multiple namespace. The namespace is used to group a set of CRUD operations for a specific resource.  Blueprint can be used to combine (mixing) multiple namespaces. Here’s an example directory structure: project\ ├── app.py # Application file ├── apis #    ├── v20 # API directory    │   ├── __init__.py    │   ├── specs.py # API namespaces and REST methods    │   ├── steps.py # API namespaces and REST methods    └── v20bp.py # API blueprint file Here is an example app.py. Using a blue print allow you to mount your API on any url prefix. from flask import Flask from apis.v20bp import blueprint as api app = ...

Documenting REST API with Flask-Restx

This tutorial aims to use the Flask-restx library to implement and to document the REST API. Other similar libraries in the Flask framework include the   flask_resful and  Flask-restplus libraries.  The generated document is shown below.  All the operations are group into a default namespace. All the CRUD operations get, create, and update (except for the the delete operation) are displayed  below.  References -  https://flask-restx.readthedocs.io/en/latest/ -  https://preslav.me/2018/12/02/designing-well-structured-rest-apis-with-flask-restplus-part-1/ -  https://www.freecodecamp.org/news/structuring-a-flask-restplus-web-service-for-production-builds-c2ec676de563/ -  https://github.com/cosmic-byte/flask-restplus-boilerplate

Display and Print Source Codes

One can use either "a2ps" or "trueprint" to print source codes. Today, I am going to experiment with "trueprint". A decent source code printing program should have the following requirements: Indentation is done correctly. Smart Spacing to avoid leaving out one-two lines of codes in previous page. Be able to convert to pdf or ps Be able to print two pages on one side The following are several examples of using the "trueprint" function: bash >> trueprint --portrait --language=cxx --intelligent-line-wrap --four-up --page-break-after-function --no-cover-sheet --output=EMMUtil_cpp.ps EMMUtil.cpp bash >> ps2pdf EMMUtil_cpp.ps EMMUtil_cpp.pdf bash >> rm EMMUtil_cpp.ps Please read the man page for further explanations. good day !!!