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
| const { Builder, By, ChromiumWebDriver } = require("selenium-webdriver"); | |
| const chrome = require("selenium-webdriver/chrome"); | |
| async function DynamicTableLocallyExample() { | |
| // launch the browser | |
| let driver = await new Builder().forBrowser("chrome").build(); |
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.5" | |
| services: | |
| api: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| args: | |
| PACKAGE_PATH: api | |
| WORKING_DIR: /usr/src/ |
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
| const puppeteer = require("puppeteer"); | |
| const jobUrl = process.env.JOB_URL; | |
| let page; | |
| let browser; | |
| let cardArr = []; | |
| class Jobs { | |
| static async init() { | |
| // console.log('Loading Page ...') |
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 React from 'react'; | |
| import { | |
| SafeAreaView, | |
| StyleSheet, | |
| ScrollView, | |
| View, | |
| Text, | |
| StatusBar, | |
| } from 'react-native'; |
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
| <script> | |
| import { mapGetters } from "vuex"; | |
| import ErrorService from "../Services/ErrorService"; | |
| export default { | |
| name: "HelloWorld", | |
| props: { | |
| todo: Object, | |
| }, |
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
| <script> | |
| import { mapGetters } from "vuex"; | |
| import ErrorService from "../Services/ErrorService"; | |
| export default { | |
| name: "HelloWorld", | |
| props: { | |
| todo: Object, | |
| }, |
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 Vue from "vue"; | |
| import Vuex from "vuex"; | |
| import { ErrorService } from "./Services/ErrorService"; | |
| import axios from "axios"; | |
| Vue.use(Vuex); | |
| const store = new Vuex.Store({ | |
| state: { | |
| todos: [], |
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 Vue from "vue"; | |
| import App from "./App.vue"; | |
| import { ErrorService } from "./Services/ErrorService"; | |
| import store from "./store"; | |
| Vue.config.productionTip = false; | |
| // Handle all Vue errors | |
| Vue.config.errorHandler = (error) => ErrorService.onError(error); |
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 Swal from "sweetalert2"; | |
| import "sweetalert2/dist/sweetalert2.min.css"; | |
| export default class ErrorService { | |
| constructor() { | |
| // this.initHandler(); | |
| } | |
| static onError(error) { | |
| const response = error.response; |
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
| <template> | |
| <div class="container-fluid"> | |
| <div class="p-4 justify-content-center"> | |
| <logo /> | |
| </div> | |
| <div class="row"> | |
| <post v-for="(post, i) in posts" :key="i" :post="post" /> | |
| </div> | |
| </div> | |
| </template> |
NewerOlder