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
version: '3' | |
services: | |
connexion: | |
build: | |
context: ./backend | |
dockerfile: Dockerfile | |
container_name: backend-app | |
image: app_backend | |
restart: unless-stopped |
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
import { Component, OnInit, OnDestroy, AfterViewInit, ViewChild } from '@angular/core'; | |
import { MatSidenav, MatSidenavContainer } from '@angular/material/sidenav'; | |
import { MediaObserver, MediaChange } from '@angular/flex-layout'; | |
import { Subscription } from 'rxjs'; | |
@Component({ | |
selector: 'app-root', | |
templateUrl: './app.component.html', | |
styleUrls: ['./app.component.scss'] | |
}) |
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 - disabling hostname verification | |
import json | |
import urllib3 | |
from urllib3.util import parse_url | |
from urllib3.util.retry import Retry | |
def post(): | |
try: | |
url = "https://gorest.co.in/public/v2/users" |
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
# get - disabling hostname verification | |
from urllib3.util import parse_url | |
from urllib3.util.retry import Retry | |
import json | |
def get(): | |
try: | |
url = "https://gorest.co.in/public/v2/users" | |
url_output = parse_url(url) |
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
.setting-btton { | |
opacity: 0.5; | |
} | |
.setting-button-container { | |
top: 80px; | |
background-color: rgba(0, 0, 0, 0.3); | |
width: 48px; | |
right: 0; |
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
<div class="layout-container font-regular" mat-app-background> | |
<app-top-nav (sideNavToggled)="onToolbarMenuToggle()"></app-top-nav> | |
<div class="setting-button-container"> | |
<button class="setting-btton" color="primary" mat-mini-fab (click)="rightSidenav.toggle()"> | |
<mat-icon>settings</mat-icon> | |
</button> | |
</div> | |
<mat-sidenav-container class="sidenav-container" [style.marginTop.px]="toolBarHeight" [hasBackdrop]="hasBackdrop"> | |
<mat-sidenav #snav position="start" disableClose="true" role="navigation" class="sidenav mat-elevation-z10" | |
[mode]="sideNavMode" [opened]="sideNavDefaultOpened" |
NewerOlder