Install tcpkill
yum -y install dsniff --enablerepo=epel
View connections
netstat -tnpa | grep ESTABLISHED.*sshd.
Block with ip tables
iptables -A INPUT -s IP-ADDRESS -j DROP
Kill connection
| <ngx-charts-line-chart | |
| [scheme]="colorScheme" | |
| [results]="single" | |
| [gradient]="gradient" | |
| [xAxis]="showXAxis" | |
| [yAxis]="showYAxis" | |
| [legend]="showLegend" | |
| [showXAxisLabel]="showXAxisLabel" | |
| [showYAxisLabel]="showYAxisLabel" | |
| [xAxisLabel]="xAxisLabel" |
| import { Component } from '@angular/core'; | |
| import { StockDataService } from '../stock-data.service'; | |
| import { HistoricalData } from '../models'; | |
| import { Observable} from 'rxjs'; | |
| @Component({ | |
| selector: 'app-chart', | |
| templateUrl: './chart.component.html', | |
| styleUrls: ['./chart.component.css'] | |
| }) |
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { NgModule } from '@angular/core'; | |
| import { AppComponent } from './app.component'; | |
| import { NgxChartsModule } from '@swimlane/ngx-charts'; | |
| import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | |
| @NgModule({ | |
| declarations: [ |
| ng new stock-app | |
| # ? Would you like to add Angular routing? No | |
| # ? Which stylesheet format would you like to use? CSS | |
| cd stock-app | |
| npm install --save bootstrap@4 @ng-bootstrap/ng-bootstrap @swimlane/ngx-charts | |
| #npm WARN @swimlane/[email protected] requires a peer of @angular/[email protected] || 8.x but none is installed. You must install peer dependencies yourself. | |
| # | |
| #+ @ng-bootstrap/[email protected] |
| # install node.js if you haven't done it | |
| brew install node | |
| # install angular cli | |
| npm install -g @angular/cli |
| https://chartio.com/resources/tutorials/how-to-write-to-a-csv-file-using-oracle-sql-plus/ | |
| How to Write to a CSV File Using Oracle SQL*Plus | |
| DATA TUTORIAL | |
| laptop with example chartio dashboard | |
| Working with Redshift, BigQuery, MySQL, MongoDB, Postgres, IBM DB2, Oracle? | |
| Easily connect your databases and create powerful visualizations and interactive dashboards in minutes. |
| on server: tcpdump -c 100 -i any udp and port 33001 | |
| on client: nc -u <IP> 33001 |
Install tcpkill
yum -y install dsniff --enablerepo=epel
View connections
netstat -tnpa | grep ESTABLISHED.*sshd.
Block with ip tables
iptables -A INPUT -s IP-ADDRESS -j DROP
Kill connection