Search

notatki

kasiakepka

Container IP

use: docker inspect or docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' name

Apache .htaccess

http://magazynt3.pl/htaccess-bez-tajemnic-sztuczki-z-serwerem-Apache/

SNI

Server Name Indication (SNI) is an extension to the TLS computer networking protocol[1] by which a client indicates which hostname it is attempting to connect to at the start of the handshaking process. This allows a server to present multiple... Continue Reading →

Python boto ? AWS bucket?   -a - module arguments -m - module -i inventory name (ec2.py is a dynamic inventory script that retrieves all EC2 hosts from your amazon) -u - user s3- AWS module   force=yes - given... Continue Reading →

Docker notes

Login/ssh to container: docker exec -t -i mycontainer /bin/bash Docker exec - run a command in a running container Options: -d, --detach Detached mode: run command in the background --detach-keys string Override the key sequence for detaching a container -e,... Continue Reading →

Lucene Search Operation

The process of searching is one of the core functionalities provided by Lucene. Following diagram illustrates the process and its use. IndexSearcher is one of the core components of the searching process. We first create Directory(s) containing indexes and then... Continue Reading →

mac OS vs Linux

  Mac OS is based on a BSD code base, while Linux is an independent development of a unix-like system. This means that these systems are similar, but not binary compatible. Furthermore, Mac OS has lots of applications that are... Continue Reading →

BogoMips

BogoMips to jednostka testu wydajności procesora, wykonywanego przez jądro systemu operacyjnego Linux podczas jego startu, używany do kalibracji wewnętrznej pętli opóźniającej (ang. busy-loop). Nazwa powstała ze złączenia ang. słowa bogus ("nieprawdziwy") i skrótu MIPS (prawdopodobnie jej autorem jest Linus Torvalds).... Continue Reading →

VM stats: RSS HWM…

* VmPeak: Peak virtual memory size. * VmSize: Virtual memory size. * VmLck: Locked memory size (see mlock(3)). * VmHWM: Peak resident set size ("high water mark"). * VmRSS: Resident set size. * VmData, VmStk, VmExe: Size of data, stack,... Continue Reading →

Create a free website or blog at WordPress.com.

Up ↑