Tag Archives: tool

Google Chrome – enable Strict Site Isolation .

This feature of Google Chrome browser solve this issue:
Highly experimental security mode that ensures each renderer process contains pages from at most one site. In this mode, out-of-process iframes will be used whenever an iframe is cross-site. Mac, Windows, Linux, Chrome OS, Android
To enable this feature use this steps:

  1. Open Chrome.
  2. Type in the address bar this: chrome://flags , then use the Enter key.
  3. Press Ctrl+F and look for Strict Site Isolation.
  4. To enable this feature you need to use Enable button.
  5. As you click Enable, a Relaunch Now button will appear to relaunch the Google Chrome browser.
Posted in All, web. Tagged with , , , , , .

News: New released Calibre version 3.15 .

Wonderful news for those who love reading books.
This software named Calibre is a powerful and easy to use e-book manager and come with this new features:

  • Browser viewer: Allow customizing what information is displayed in the header and footer areas. Access Preferences from the viewer controls to change.
  • Add support for MTP devices on FreeBSD
  • ToC editor: Add more case changing operations to the right click menu
  • Content server: Redirect pre 2.x book URLs to new 3.x URLs via a JavaScript redirect
  • Content server: Allow opening entries in the book list in a new tab via middle click/right click
  • Add a tweak in Preferences->Tweaks to exclude some fields when using the Edit metadata->Copy/paste actions
  • Linux: Allow using calibre-tray.png in the calibre resources folder to override the system tray icon.

Note:
One good reason I put this news is one special feature conversion formats:
… calibre supports the conversion of many input formats to many output formats. It can convert every input format in the following list, to every output format.
Input Formats: AZW, AZW3, AZW4, CBZ, CBR, CBC, CHM, DJVU, DOCX, EPUB, FB2, HTML, HTMLZ, LIT, LRF, MOBI, ODT, PDF, PRC, PDB, PML, RB, RTF, SNB, TCR, TXT, TXTZ
Output Formats: AZW3, EPUB, DOCX, FB2, HTMLZ, OEB, LIT, LRF, MOBI, PDB, PMLZ, RB, PDF, RTF, SNB, TCR, TXT, TXTZ, ZIP

Posted in news. Tagged with , , , , .

Security – ESET SysRescue Live distribution .

The development team come with this intro :
Linux distribution that can scan for malware and clean infected files. It runs from a CD/DVD or a USB device, independently of the host operating system, but has direct access to the disk and file system. This makes it possible to remove threats that under normal operating conditions might be impossible to delete.
I used Virtual Box – version 5.2.4 r119785 (Qt5.6.2) to test it.
The result of running this iso image come with this tools:

Posted in All, Linux, Windows 10. Tagged with , , , , .

Go – About goimport tool .

A Go developer know the code must be formatted with standard gofmt tool.
While gofmt attracks much attention, goimport is overlooked despite often being more useful.
Basically, goimport does everything that gofmt do.
First, you need to install into go using:

This will auto import Go packages using goimports tool.
While correcting, goimports removes unused imports and adds missing ones.
Additionally it groups and corrects imported packages.
You can used with vim and atom editors.
To setup vim editor to auto run goimports on save using vim-go, use this :

If you want to use the atom editor then you need to install the atom package named go-imports from abiosoft.
Use command palette cmd-shift-p, search for Go Imports: Process or using keybinding ctrl-shift-i.

Posted in All, Commands, Go. Tagged with , , , , .

Go – Using the go command .

After install go programming language from here, you will need to deal with the go command.
I’m not very good with golang , but I found some interesting issues for those who want to use go command with golang.
About go command can you read here and the go help output come with this help:

There are a few things you should know:

  • don’t use go list to see packages , use this command:go list all
  • take a look at install go on environment: go env
  • use help argument to get more help, like: go help gopath , go help env
  • see your go version  for  debug issues: go version
  • you can build your file (here called term_size.go) passing some gcflags : go build -gcflags=-m term_size.go
    # command-line-arguments
    .\term_size.go:13:25: inlining call to termbox.Size
    .\term_size.go:15:16: w escapes to heap
    .\term_size.go:15:16: h escapes to heap
    .\term_size.go:15:16: main ... argument does not escape
  • do not try this on Windows OS : go build -ldflags , first read more about: C:\Go\pkg\tool\windows_amd64\link.exe: -X flag requires argument of the form importpath.name=value
  • the Windows shell doesn’t have single quoted strings:
    go list -f "{{ .TestGoFiles }}" archive/tar
    [reader_test.go strconv_test.go tar_test.go writer_test.go]
Posted in All, Commands, Go, Windows 10. Tagged with , , , , , .