Skip to content

Instantly share code, notes, and snippets.

View JackBoyle1's full-sized avatar

Jack JackBoyle1

View GitHub Profile
<template>
<section>
<div v-if="$apollo.loading" class="d-flex justify-content-around p-5 mt-5">
<b-spinner />
</div>
<b-container v-else fluid class="split__pane--main">
<nuxt-child :listing="listing" @entity-updated="entityUpdated" />
<b-row class="mb-2">
<b-col class="text-right">
<template>
<div>
<GqlMutationForm v-bind="$attrs" @done="done">
<template v-slot:form>
<slot name="form" />
<OperatorNote :note="note" @note-update="noteUpdate" />
</template>
<slot v-for="(_, name) in $slots" :slot="name" :name="name" />
<template>
<div>
<GqlMutationForm v-bind="$attrs">
<!-- <template v-slot="form">
<slot name="form" />
<OperatorNote />
</template>
</GqlMutationForm> -->
<slot v-for="(_, name) in $slots" :slot="name" :name="name" />
from selenium import webdriver
from selenium.webdriver.common.proxy import ProxyType, Proxy
import random
#from settings import settings
#username = 'settings.proxy.username'
#password = 'settings.proxy.password'
port = 22225
session_id = random.random()
super_proxy_url = ('http://%s-session-%s:%s@zproxy.luminati.io:%d' % (username, session_id, password, port))
<template>
<div>
<AttributesEdit ref="attributes"
v-model="editAttributes"
:industry="industry"
@input="emitInput" />
</div>
</template>
<script>
<template>
<div>
{{initialEditAttributes}}
<AttributesEdit ref="attributes"
v-model="editAttributes"
:initial-edit-attributes="initialEditAttributes"
:industry="industry"
@input="emitInput" />
</div>
</template>
<template>
<section>
<div v-if="!retailer" class="d-flex justify-content-around p-5">
<b-spinner />
</div>
<ListTable
v-else
:rows="filteredRetailerFacings"
:fields="facingsFields"
:is-expandable="false"
defmodule DataStoreClient.Model.Organisation do
use Ecto.Schema
import Ecto.{Changeset, Query}
alias DataStoreClient.Model
alias Model.Utils
@accepted_params ~w(name)a
schema "organisations" do
defmodule ProductColossusWeb.Schema.Organisation do
use Absinthe.Schema.Notation
alias ProductColossusWeb.Resolver
alias DataStoreClient.Model
import Absinthe.Resolution.Helpers, only: [dataloader: 1]
import Resolver.CRUDResolver
object :organisation do
field(:id, non_null(:id))
defmodule ProductColossusWeb.Schema.ProductAttributeValue do
use Absinthe.Schema.Notation
alias ProductColossusWeb.Resolver
alias DataStoreClient.Model
import Absinthe.Resolution.Helpers, only: [dataloader: 1]
import Resolver.CRUDResolver
object :product_attribute_value do