Skip to content

Instantly share code, notes, and snippets.

View rin9424's full-sized avatar
🎯
redefining how we visualize network capture data

Rinkesh rin9424

🎯
redefining how we visualize network capture data
  • Melbourne, Australia
View GitHub Profile
export type BoxPlotConfig = {
figure_id: string;
domain_lower_limit: number;
domain_upper_limit: number;
dot_color:string;
feature_name: AllFeatures
}
export type AllFeatures = 'danceability' |
'energy' |
import { Component, OnInit, OnDestroy } from '@angular/core';
import { FormBuilder, Validators } from '@angular/forms';
import { get, ready } from 'scriptjs';
import { AuthService } from '../core/services/auth.service';
import { SpotifyService } from '../core/services/spotify.service';
declare var Spotify:any;
@Component({
selector: 'app-player',
templateUrl: './player.component.html',
@rin9424
rin9424 / command.md
Last active March 27, 2021 09:27
Useful commands for installing Xdebug inside a docker container with Linux Alpine, Nginx, and PHP
  • To dowload Xdebug source code: curl <link-of-the-tarball>  -- outout <filename>
  • To reload Nginx config: nginx -s reload
  • To find the Process ID(PID) of the php-fpm master process: ps aux
  • To reload php-fpm without using init script: kill -USR2 <PID-of-php-fpm-master-process>
  • To find the default extension directory for php: php-config  -- extension-dir
  • To find the php.ini files being used for the PHP: php  --ini
  • To check if XDebug is installed or not: php -v
  • To check all extensions installed by php: php -m
  • To get all information about a package in Alpine Linux: apk info -a package-name
  • To check if Internet access is available inside the container: ping -c 2 8.8.8.8