ᴉʞɐsɐW oƃɐᴉɥ┴ x Thiago Masaki

Este é um blog onde anoto dicas técnicas de informática e computação. This is a blog where I write down technical tips on computing. Be aware that some resources used in this blog may use cookies to collect information used by Ads and Google Analytics. I do not monetize from this website, neither require or use personal information.

Saturday, December 2, 2023

Vim Quickfix list example

›
 file1.txt Hello word
Friday, November 10, 2023

Vim search for the escaped string of a line

›
command! -nargs=1 SH let @/ = '\V'.escape(<q-args>, '\')|set hlsearch nnoremap <C-y> _vg_y<Esc>:SH <C-r...
Saturday, August 26, 2023

Fuzzy Finder FZF with Syntax Highlight Preview

›
FZF is nice cli program that allow quick file navigation that find files as you type. BAT is nice replacement for cat with highlight feature...
Monday, October 17, 2022

Show a vertical column markers in vim (very usefull to check identation)

›
To show a background line in the whole column 9 and 17 :set colorcolumn=9,17 or short :set cc=9,17 To change the color to blue :highlight Co...
Friday, July 1, 2022

Vim find and repeat search

›
 For example, use f<space>  to go to the next space ; to repeat search and go to the othe next space; f(  find next ( ;;;  go to the f...

XPRA

›
 https://xpra.org/ XPRA is a screen for graphical x window apps.
Friday, September 3, 2021

Create diagram images from text commands

›
https://plantuml.com/ + https://pandoc.org/ (other similar tools)  https://graphviz.org/doc/info/command.html Ex:  echo 'digraph { a -...
Saturday, August 28, 2021

Linux command line navigation

›
Ctrl + a     Go to the beginning of the line Ctrl + e Go to the end of the line Ctrl + f     Move cursor on character forward  Ctrl + b Move...
Saturday, August 14, 2021

Learning about how to build a computer

›
 https://nandgame.com/ https://www.nand2tetris.org/
Saturday, June 19, 2021

Editor Latex Online - Overleaf

›
  https://pt.overleaf.com/
Saturday, May 29, 2021

XV6 - Very Simple Unix implementation for educational purposes from MIT

›
In linux terminal 1 $ sudo apt-get install qemu-kvm qemu virt-manager virt-viewer $ git clone git@github.com:mit-pdos/xv6-public.git $ cd xv...
Thursday, May 27, 2021

Copy and paste Shortcuts

›
Linux COPY To copy you may have different scenarios Mode 1 In graphical applications you may use Ctrl + C In terminal you may use Ctr + Shif...
Monday, May 17, 2021

Gerar gráfico atualizado da cotação do dólar turismo no Google Sheets.

›
Importar tabela de variação em Real do Dólar Turismo de diversas casas de Cambio em São Paulo Por exemplo na célula A1 colocar a fórmula (is...
Wednesday, March 31, 2021

C/C++ manpages quick access from VIM

›
Vim has by default a helpful shortcut to open the man page of the word under cursor, Shift + k , (or captital K), but very frequently we hav...
Tuesday, March 30, 2021

Test Regex Online

›
  https://regex101.com/
Wednesday, March 10, 2021

gdb print wchar_t *

›
wchar.gdb define wchar_print          echo "           set $i = 0           while (1 == 1)                set $c = (cha...
Monday, March 1, 2021

(Debug) GDB with full colored dashboard

›
$ pip install pygments $ wget -P ~ https://git.io/.gdbinit If gdb version prior to 7.7 and python prior to 2.7 execute this $ mkdir -p ~/.gd...
Wednesday, February 24, 2021

Testing keyboard keys

›
Online in browser https://keycode.info/ On Windows install https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/  ...
Tuesday, February 9, 2021

Open an Online Development Enviroment in a container with the git repository code

›
https://www.gitpod.io/ Open your browser with addres like this gitpod.io/#type_here_the_git(hub/lab/bitbucket)url .............................
Tuesday, January 26, 2021

Vagrant - Start a VirtualBox Machine as easy as using a docker image

›
In this example we will download a Windows VM image from Peru repository and run it in the Virtual Box on Linux host machine Download vagran...
Friday, October 30, 2020

Change command prompt color on windows

›
 color /? color a    - changes the color to green

Draw diagrams online for free

›
Draw.io online  https://app.diagrams.net/
Sunday, October 4, 2020

Convert PNG Images into the formats required for my UTFT libraries for Arduino

›
 http://rinkydinkelectronics.com/t_imageconverter565.php
Sunday, September 27, 2020

Coin Change Problem

›
 #include <bits/stdc++.h> using namespace std; vector<string> split_string(string); // recursive int count(vector<int> ...
Wednesday, September 23, 2020

Subset of non-adjacent elements with the maximum sum

›
int maxSubsetSum(vector<int> arr) {      int cmax = 0, curr_plus_previous_not_adj;      int previous_not_adj = arr[0]...
Monday, September 21, 2020

Fibonacci - Dynamic Programming + Optmized versions

›
f (1) = 1 f (2) = 1 f (3) =  f(1) + f (2) f (4) =  f(2) + f (3) f (n) =  f(n-2) + f(n-1)          f(1)        f(2)             \         /  ...
Saturday, August 8, 2020

Online Clipboard

›
  sprunge " target"_blank">Sprunge Form

Floating Point Converter Online

›
  https://www.h-schmidt.net/FloatConverter/IEEE754.html https://www.binaryconvert.com/convert_float.html
Sunday, July 26, 2020

Listen the world - Websites to listen to radio around the world with a diferent interface

›
Watch a video from a car riding in the city you choose and listen to a local radio https://driveandlisten.herokuapp.com/ Point to  a plac...
Friday, July 17, 2020

Well Done Explanation of XSS (Cross-site-scripting)

›
Recommended reading about how XSS works, how to avoid this kind of attack. https://excess-xss.com/
Tuesday, July 14, 2020

2 Excellent online tools to use as Electronics Simulator

›
https://www.multisim.com/create/ https://www.tinkercad.com/dashboard?type=circuits&collection=designs
›
Home
View web version
Powered by Blogger.