-
A quick review of How Cookie Work
-
Site like
SimilarWebcan track every website you visit, how?- They somehow can install
spywarein your browsers through the browser tool you use, say Chrome Extension - ...
- They somehow can install
-
Basically, they know all the URL your browser send, they gather these URLS and save in their DB.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from PyQt5.QtCore import * | |
| from maia.views.dialog_train_ui import Ui_dialogTrain | |
| from PyQt5.QtGui import * | |
| from PyQt5.QtWidgets import * | |
| import numpy as np | |
| import os | |
| import csv | |
| #from gpuinfo import GPUInfo | |
| import psutil | |
| import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <mat-paginator #paginator | |
| [length]="totalCount" | |
| [pageIndex]="0" | |
| [pageSize]="10" | |
| [pageSizeOptions]="[5, 10, 15]"> | |
| </mat-paginator> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ngAfterViewInit() { | |
| this.httpClient.get<any>('<https://api.github.com/search/issues?q=repo:angular/material2&page=1>').subscribe(data => { | |
| this.totalCount = data.items.length; | |
| this.emailsDataSource.data = data.items; | |
| this.emailsDataSource.paginator = this.paginator; | |
| }); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ngAfterViewInit() { | |
| this.httpClient.get<any>(`https://api.github.com/search/issues?q=repo:angular/material2&page=${this | |
| .currentPage.pageIndex + 1}`).subscribe(data => { | |
| this.totalCount = data.items.length; | |
| this.emailsDataSource.data = data.items; | |
| // no need below line anymore | |
| // this.emailsDataSource.paginator = this.paginator; | |
| }); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| year | avgStockPrice | |
|---|---|---|
| 1991 | 65 | |
| 1992 | 58.7 | |
| 1993 | 48.6 | |
| 1994 | 82.4 | |
| 1995 | 94.1 | |
| 1996 | 68.8 | |
| 1997 | 179 | |
| 1998 | 183 | |
| 1999 | 202 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // POST reqest to add the first post | |
| curl --header "Content-Type: application/json" \ | |
| --request POST \ | |
| --data "{\"id\":\"1\",\"title\":\"this title\",\"text\":\"this is text\",\"categories\":\"cat\"}" \ | |
| http://localhost:3000/posts | |
| // POST reqest to add the second post | |
| curl --header "Content-Type: application/json" \ | |
| --request POST \ | |
| --data "{\"id\":\"2\",\"title\":\"this second title\",\"text\":\"this is second text\",\"categories\":\"dog\"}" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // create database | |
| create database mydb1; | |
| // show databse | |
| show databases; | |
| // delete dn | |
| drop databasae mydb1 | |
| // create database again |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <body> | |
| <form> | |
| <input type="button" value="Run" onClick="timedCount()"> | |
| <input type="text" id="txt"> | |
| <input type="button" value="Stop" onClick="stopCount()"> | |
| </form> | |
| </body> |