Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

gedit

Creating executable files in Linux

June 12, 2023 by Tarik

Make file executable: chmod +x file Find location of perl: which perl This should return something like /bin/perl sometimes /usr/local/bin Then in the first line of your script add: #!”path”/perl with path from above e.g. #!/bin/perl Then you can execute the file ./file There may be some issues with the PATH, so you may want … Read more

Categories linux Tags chmod, executable, file-permissions, gedit, linux Leave a comment

What are those vertical lines in Notepad++ called? The ones that light up for matching brackets or tags, etc

May 26, 2023 by Tarik

What you are probably looking for is called the “Indent Guide”. In Notepad++ 5.9.8 on Windows, it is found under View/Show Symbol/Show Indent Guide.

Categories notepad++ Tags gedit, notepad++ Leave a comment

How to get gedit to auto-indent code

April 16, 2023 by Tarik

gedit has an auto indentation feature, go to Edit -> Preferences -> Editor -> 3rd line

Categories gedit Tags auto-indent, gedit Leave a comment

Block commenting in Gedit?

March 22, 2023 by Tarik

1.Install gedit plugins sudo apt-get install gedit-plugins 2.Go to Edit->Preference->Plugins-> and enable Code Comment 3.Ctl+m to comment block of codes 4.Ctl+Shift+m to uncomment block of codes

Categories ruby-on-rails Tags gedit, ruby-on-rails, ruby-on-rails-3 Leave a comment

Option to display control characters in gedit

March 5, 2023 by Tarik

There is a gedit-plugins package available for Ubuntu. Install that and take a look at the Draw Spaces section in the gedit preferences. You can configure it to show spaces, tabs, line feeds etc. You can use this command in a terminal: sudo apt-get install gedit-plugins

Categories linux Tags gedit, linux Leave a comment

Math in reStructuredText with LaTeX

February 2, 2023 by Tarik

Since version 0.8 it is supported natively: You shouldn’t use any workaround anymore. The syntax is also very simple. It is the same as latex math, but without the enclosing $$ So you can simply write the following for a math block .. math:: \frac{ \sum_{t=0}^{N}f(t,k) }{N} Or if you want to write inline you … Read more

Categories math Tags gedit, latex, markdown, math, restructuredtext Leave a comment

Does “\d” in regex mean a digit?

October 16, 2022 by Tarik

[0-9] is not always equivalent to \d. In python3, [0-9] matches only 0123456789 characters, while \d matches [0-9] and other digit characters, for example Eastern Arabic numerals ٠١٢٣٤٥٦٧٨٩.

Categories python Tags encoding, gedit, python, regex Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa