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
| enable | |
| configure terminal | |
| hostname R1 | |
| no ip domain-lookup | |
| ip cef | |
| ! | |
| interface ethernet0/0 | |
| description LINK-DEBIAN | |
| ip address 191.168.0.2 255.255.255.252 | |
| ip nat outside |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 { NextApiRequest, NextApiResponse } from 'next'; | |
| import ical, { ICalEventStatus } from 'ical-generator'; | |
| const iCal = async (req: NextApiRequest, res: NextApiResponse) => { | |
| const calendar = ical({ | |
| name: 'my first iCal', | |
| prodId: '//cia//inc//EN', | |
| url: 'site.com' | |
| }); |
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 sklearn.model_selection import train_test_split | |
| from sklearn.metrics import roc_curve, roc_auc_score | |
| import matplotlib.pyplot as plt | |
| from sklearn.preprocessing import StandardScaler | |
| from sklearn.tree import DecisionTreeClassifier | |
| from sklearn.linear_model import LogisticRegression | |
| from sklearn.ensemble import (RandomForestClassifier) | |
| training = [ | |
| [10, 10, 21, 3, 4, 1, 1, 0, 1, 0, 1], |
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 sklearn.tree import DecisionTreeClassifier | |
| from sklearn.linear_model import LogisticRegression | |
| from sklearn.ensemble import ( | |
| RandomForestClassifier, | |
| AdaBoostClassifier, | |
| GradientBoostingClassifier, | |
| ) | |
| from sklearn.preprocessing import StandardScaler | |
| from sklearn.naive_bayes import GaussianNB | |
| from sklearn.neighbors import KNeighborsClassifier |
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 debian:latest | |
| RUN apt update -y | |
| RUN apt install net-tools curl -y |
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
| //pegar apenas o id do caparelho | |
| this.oneSignal.startInit('one signal id', 'google id').endInit(); | |
| const { userId } = await this.oneSignal.getIds() | |
| //fazer algo quando o push é recebido e quando é aberto | |
| this.oneSignal.startInit('', '') | |
| .handleNotificationReceived(() => {}) | |
| .handleNotificationOpened(() => {}) | |
| .endInit(); |
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
| diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null | |
| to | |
| diff "${SRCROOT}/Podfile.lock" "${SRCROOT}/Pods/Manifest.lock" > /dev/null |
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
| <ion-searchbar placeholder="Pesquisar..." showCancelButton="focus" [(ngModel)]="filterHouse"></ion-searchbar> | |
| <ion-item *ngFor="let h of houses | filter:filterHouse"> |
NewerOlder