text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```vue
<template>
<card-page
id="profile-backend"
header-id="hdr_backend"
>
<template #header="{id}">
<h3
:id="id"
class="card-title"
>
{{ $gettext('AutoDJ Service') }}
<running-badge :running="backen... | /content/code_sandbox/frontend/components/Stations/Profile/BackendPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 847 |
```vue
<template>
<card-page header-id="hdr_streamers">
<template #header="{id}">
<h3
:id="id"
class="card-title"
>
{{ $gettext('Streamers/DJs') }}
<enabled-badge :enabled="enableStreamers" />
</h3>
<... | /content/code_sandbox/frontend/components/Stations/Profile/StreamersPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 504 |
```xml
export default {
stationName: {
type: String,
required: true
},
stationDescription: {
type: String,
required: true
},
hasStarted: {
type: Boolean,
required: true
},
}
``` | /content/code_sandbox/frontend/components/Stations/Profile/headerPanelProps.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 56 |
```xml
import {useAxios} from "~/vendor/axios";
import {useSweetAlert} from "~/vendor/sweetalert";
import {useTranslate} from "~/vendor/gettext";
import {getStationApiUrl} from "~/router.ts";
import {useRouter} from "vue-router";
import {set} from "lodash";
import {useNotify} from "~/functions/useNotify";
export defau... | /content/code_sandbox/frontend/components/Stations/Profile/useToggleFeature.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 250 |
```vue
<template>
<card-page
id="profile-nowplaying"
class="nowplaying"
header-id="hdr_now_playing"
>
<template #header="{id}">
<div class="d-flex align-items-center">
<h3
:id="id"
class="flex-shrink card-title m... | /content/code_sandbox/frontend/components/Stations/Profile/NowPlayingPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 2,121 |
```xml
export default {
enableRequests: {
type: Boolean,
required: true
},
}
``` | /content/code_sandbox/frontend/components/Stations/Profile/requestsPanelProps.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 22 |
```vue
<template>
<card-page
header-id="hdr_streams"
:title="$gettext('Streams')"
>
<table class="table table-striped table-responsive mb-0">
<colgroup>
<col style="width: 2%;">
<col style="width: 78%;">
<col style="width: 20%;"... | /content/code_sandbox/frontend/components/Stations/Profile/StreamsPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,144 |
```vue
<template>
<card-page
id="profile-backend"
header-id="hdr_backend_disabled"
:title="$gettext('AutoDJ Disabled')"
>
<div class="card-body">
<p class="card-text">
{{
$gettext('AutoDJ has been disabled for this station. No music... | /content/code_sandbox/frontend/components/Stations/Profile/BackendNonePanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 117 |
```vue
<template>
<card-page
v-if="processedScheduleItems.length > 0"
class="scheduled"
header-id="hdr_scheduled"
:title="$gettext('Scheduled')"
>
<table class="table table-striped mb-0">
<tbody>
<tr
v-for="row in processedS... | /content/code_sandbox/frontend/components/Stations/Profile/SchedulePanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 554 |
```vue
<template>
<card-page header-id="hdr_public_pages">
<template #header="{id}">
<h3
:id="id"
class="card-title"
>
{{ $gettext('Public Pages') }}
<enabled-badge :enabled="enablePublicPage" />
</h3>
... | /content/code_sandbox/frontend/components/Stations/Profile/PublicPagesPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,024 |
```xml
export default {
stationSupportsStreamers: {
type: Boolean,
required: true
},
stationSupportsRequests: {
type: Boolean,
required: true
},
enablePublicPage: {
type: Boolean,
required: true
},
enableStreamers: {
type: Boolean,
... | /content/code_sandbox/frontend/components/Stations/Profile/publicPagesPanelProps.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 209 |
```vue
<template>
<div class="outside-card-header d-flex align-items-center">
<div
v-if="station.listen_url && hasStarted"
class="flex-shrink-0 me-2"
>
<play-button
class="btn-xl"
:url="station.listen_url"
is-stream
... | /content/code_sandbox/frontend/components/Stations/Profile/HeaderPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 349 |
```vue
<template>
<modal
id="update_metadata"
ref="$modal"
centered
:title="$gettext('Update Metadata')"
@hidden="onHidden"
@shown="onShown"
>
<info-card>
{{
$gettext('Use this form to send a manual metadata update. Note that th... | /content/code_sandbox/frontend/components/Stations/Profile/UpdateMetadataModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 708 |
```xml
export default {
numSongs: {
type: Number,
required: true
},
numPlaylists: {
type: Number,
required: true
},
backendType: {
type: String,
required: true
},
hasStarted: {
type: Boolean,
required: true
},
backendRes... | /content/code_sandbox/frontend/components/Stations/Profile/backendPanelProps.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 128 |
```vue
<template>
<div class="outside-card-header d-flex align-items-center">
<div class="flex-fill">
<h2 class="display-6 m-0">
{{ name }}
</h2>
</div>
<div
v-if="userAllowedForStation(StationPermission.Profile)"
class="flex-sh... | /content/code_sandbox/frontend/components/Stations/Profile/StationDisabledPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 334 |
```xml
export default {
enableStreamers: {
type: Boolean,
required: true
}
}
``` | /content/code_sandbox/frontend/components/Stations/Profile/streamersPanelProps.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 23 |
```vue
<template>
<card-page
id="profile-now-playing"
header-id="hdr_now_playing"
:title="$gettext('On the Air')"
>
<div class="card-body">
<p class="card-text">
{{
$gettext('Information about the current playing track will appear h... | /content/code_sandbox/frontend/components/Stations/Profile/NowPlayingNotStartedPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 111 |
```vue
<template>
<modal
id="embed_modal"
ref="$modal"
size="lg"
:title="$gettext('Embed Widgets')"
hide-footer
no-enforce-focus
>
<div class="row">
<div class="col-md-7">
<section
class="card mb-3"
... | /content/code_sandbox/frontend/components/Stations/Profile/EmbedModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,246 |
```vue
<template>
<card-page header-id="hdr_song_requests">
<template #header="{id}">
<h3
:id="id"
class="card-title"
>
{{ $gettext('Song Requests') }}
<enabled-badge :enabled="enableRequests" />
</h3>
... | /content/code_sandbox/frontend/components/Stations/Profile/RequestsPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 493 |
```vue
<template>
<div class="row g-3">
<form-group-field
id="edit_form_username"
class="col-md-6"
:field="v$.username"
>
<template #label>
{{ $gettext('Username') }}
</template>
</form-group-field>
<form-gr... | /content/code_sandbox/frontend/components/Stations/SftpUsers/Form.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 531 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="langTitle"
:error="error"
:disable-save-button="v$.$invalid"
@submit="doSubmit"
@hidden="clearContents"
>
<sftp-users-form
v-model:form="form"
:is-edit-mo... | /content/code_sandbox/frontend/components/Stations/SftpUsers/EditModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 322 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="langTitle"
:error="error"
:disable-save-button="v$.$invalid"
@submit="doSubmit"
@hidden="clearContents"
>
<type-select
v-if="!type"
:type-details="typeDet... | /content/code_sandbox/frontend/components/Stations/Webhooks/EditModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,078 |
```vue
<template>
<tab
:label="title"
:item-header-class="tabClass"
>
<div class="row g-3 mb-3">
<form-group-field
id="form_config_bot_token"
class="col-md-6"
:field="v$.config.bot_token"
:label="$gettext('Bot To... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/Telegram.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 869 |
```vue
<template>
<div class="row g-3">
<div class="col-md-6">
<type-select-section
:title="$gettext('Generic Web Hooks')"
:types="buildTypeInfo([
WebhookType.Generic,
WebhookType.Email
])"
@s... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/TypeSelect.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 411 |
```vue
<template>
<tab
:label="title"
:item-header-class="tabClass"
>
<form-markup id="mastodon_details">
<template #label>
{{ $gettext('Mastodon Account Details') }}
</template>
<p class="card-text">
{{ $gettext('Steps... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/Mastodon.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 885 |
```vue
<template>
<tab
:label="title"
:item-header-class="tabClass"
>
<div class="row g-3">
<form-group-field
id="form_config_webhookurl"
class="col-md-12"
:field="v$.config.webhookurl"
:label="$gettext('RadioReg... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/RadioReg.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 394 |
```vue
<template>
<tab
:label="title"
:item-header-class="tabClass"
>
<div class="row g-3">
<form-group-field
id="form_config_token"
class="col-md-6"
:field="v$.config.token"
:label="$gettext('API Token')"
... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/GetMeRadio.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 373 |
```vue
<template>
<section class="card mb-3">
<div class="card-header text-bg-primary">
<h3 class="card-subtitle">
{{ title }}
</h3>
</div>
<div class="list-group list-group-flush">
<a
v-for="type in types"
... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/TypeSelectSection.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 239 |
```vue
<template>
<tab
:label="title"
:item-header-class="tabClass"
>
<div class="row g-3">
<form-group-field
id="form_config_broadcastsubdomain"
class="col-md-12"
:field="v$.config.broadcastsubdomain"
:label="$g... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/RadioDe.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 348 |
```vue
<template>
<tab
:label="$gettext('Basic Info')"
:item-header-class="tabClass"
>
<div class="row g-3">
<form-group-field
id="form_edit_name"
class="col-md-12"
:field="v$.name"
:label="$gettext('Web Hook Nam... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/BasicInfo.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 472 |
```vue
<template>
<tab
:label="title"
:item-header-class="tabClass"
>
<div class="row g-3">
<form-group-field
id="form_config_station_id"
class="col-md-6"
:field="v$.config.station_id"
:label="$gettext('TuneIn St... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/Tunein.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 425 |
```vue
<template>
<tab
:label="title"
:item-header-class="tabClass"
>
<div class="row g-3">
<form-group-field
id="form_config_api_secret"
class="col-md-6"
:field="v$.config.api_secret"
:label="$gettext('Measureme... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/GoogleAnalyticsV4.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 399 |
```vue
<template>
<tab
:label="title"
:item-header-class="tabClass"
>
<div class="row g-3 mb-3">
<form-group-field
id="form_config_webhook_url"
class="col-md-12"
:field="v$.config.webhook_url"
input-type="url"
... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/Discord.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 797 |
```vue
<template>
<tab
:label="title"
:item-header-class="tabClass"
>
<div class="row g-3 mb-3">
<form-group-field
id="form_config_to"
class="col-md-12"
:field="v$.config.to"
:label="$gettext('Message Recipient(s... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/Email.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 437 |
```vue
<template>
<tab
:label="title"
:item-header-class="tabClass"
>
<div class="row g-3">
<form-group-field
id="form_config_matomo_url"
class="col-md-12"
:field="v$.config.matomo_url"
input-type="url"
... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/MatomoAnalytics.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 456 |
```vue
<template>
<tab
:label="title"
:item-header-class="tabClass"
>
<form-markup id="webhook_details">
<template #label>
{{ $gettext('Web Hook Details') }}
</template>
<p class="card-text">
{{
$get... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/Generic.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 831 |
```vue
<template>
<form-group-select
id="form_config_rate_limit"
class="col-md-12"
:field="v$.config.rate_limit"
:options="rateLimitOptions"
:label="$gettext('Only Post Once Every...')"
/>
</template>
<script setup lang="ts">
import {useTranslate} from "~/vendor/gettext"... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/Common/RateLimitFields.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 604 |
```vue
<template>
<common-formatting-info />
<div class="row g-3">
<form-group-field
v-if="hasTrigger('song_changed')"
id="form_config_message"
class="col-md-12"
:field="v$.config.message"
input-type="textarea"
:label="$gettext('Me... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/Common/SocialPostFields.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,014 |
```vue
<template>
<form-markup id="customization_tips">
<template #label>
{{ $gettext('Message Customization Tips') }}
</template>
<p class="card-text">
{{ $gettext('Variables are in the form of: ') }}
<code v-pre>{{ var.name }}</code>
</p>
... | /content/code_sandbox/frontend/components/Stations/Webhooks/Form/Common/FormattingInfo.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 200 |
```vue
<template>
<svg
class="icon"
xmlns="path_to_url"
:viewBox="icon.viewBox"
fill="currentColor"
focusable="false"
aria-hidden="true"
v-html="icon.contents"
/>
</template>
<script setup lang="ts">
import {Icon} from "~/components/Common/icons.ts";
con... | /content/code_sandbox/frontend/components/Common/Icon.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 91 |
```vue
<template>
<nav class="d-flex">
<ul class="pagination mb-0">
<pagination-item
v-if="hasFirst"
:page="1"
:active="page === 1"
@click="setPage"
/>
<pagination-item
v-if="hasFirstEllipsis... | /content/code_sandbox/frontend/components/Common/Pagination.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 875 |
```vue
<template>
<modal
:id="id"
ref="$modal"
:size="size"
:title="title"
:busy="loading"
@shown="onShown"
@hidden="onHidden"
>
<template #default="slotProps">
<div
v-if="error != null"
class="alert aler... | /content/code_sandbox/frontend/components/Common/ModalForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 647 |
```vue
<template>
<button
type="button"
:title="langTitle"
:aria-label="langTitle"
class="btn p-0"
@click="toggle"
>
<icon
:class="iconClass"
:icon="iconText"
/>
</button>
</template>
<script setup lang="ts">
import Icon from "... | /content/code_sandbox/frontend/components/Common/PlayButton.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 407 |
```vue
<template>
<ul class="navdrawer-nav">
<li
v-for="category in menu"
:key="category.key"
class="nav-item"
>
<router-link
v-if="isRouteLink(category)"
:class="getLinkClass(category)"
:to="category.url... | /content/code_sandbox/frontend/components/Common/SidebarMenu.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 871 |
```vue
<template>
<loading :loading="isLoading">
<form-group-checkbox
id="modal_scroll_to_bottom"
v-model="scrollToBottom"
:label="$gettext('Automatically Scroll to Bottom')"
/>
<textarea
id="log-view-contents"
ref="$textarea"
... | /content/code_sandbox/frontend/components/Common/StreamingLogView.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 514 |
```vue
<template>
<modal
id="logs_modal"
ref="$modal"
size="xl"
:title="$gettext('Log Viewer')"
no-enforce-focus
@hidden="clearContents"
>
<template v-if="logUrl">
<streaming-log-view
v-if="isStreaming"
ref="$log... | /content/code_sandbox/frontend/components/Common/StreamingLogModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 446 |
```vue
<template>
<vue-easy-lightbox
:visible="visible"
:imgs="imgs"
@hide="hide"
/>
</template>
<script setup lang="ts">
import VueEasyLightbox from "vue-easy-lightbox";
import {ref} from "vue";
const visible = ref(false);
const imgs = ref([]);
const show = (imageOrImages) => {
i... | /content/code_sandbox/frontend/components/Common/Lightbox.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 124 |
```vue
<template>
<div
:id="id"
class="datatable-wrapper"
>
<div
v-if="showToolbar"
class="datatable-toolbar-top card-body"
>
<div class="row align-items-center">
<div
v-if="showPagination"
... | /content/code_sandbox/frontend/components/Common/DataTable.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 4,610 |
```vue
<template>
<Teleport to="body">
<div
v-bind="$attrs"
ref="$modal"
class="modal fade"
tabindex="-1"
:aria-label="title"
:class="'modal-'+size"
aria-hidden="true"
>
<div class="modal-dialog">
... | /content/code_sandbox/frontend/components/Common/Modal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 630 |
```vue
<template>
<audio
v-if="isPlaying"
ref="$audio"
:title="title"
/>
</template>
<script setup lang="ts">
import getLogarithmicVolume from '~/functions/getLogarithmicVolume';
import Hls from 'hls.js';
import {computed, nextTick, onMounted, onScopeDispose, ref, toRef, watch} from "vu... | /content/code_sandbox/frontend/components/Common/AudioPlayer.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,182 |
```vue
<template>
<div
v-bind="$attrs"
class="align-items-center justify-content-center p-4"
:class="(loading) ? 'd-flex' : 'd-none'"
>
<div
class="spinner-border me-3"
role="status"
aria-hidden="true"
/>
<strong>Loading...</str... | /content/code_sandbox/frontend/components/Common/Loading.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 175 |
```vue
<template>
<div
class="card-body alert alert-info d-flex flex-md-row flex-column align-items-center"
role="alert"
aria-live="off"
>
<div class="flex-shrink-0 me-2">
<icon :icon="IconInfo" />
</div>
<div class="flex-fill">
<slot />
... | /content/code_sandbox/frontend/components/Common/InfoCard.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 169 |
```vue
<template>
<div
class="toast align-items-center toast-notification mb-3"
:class="'text-bg-'+variant"
role="alert"
aria-live="assertive"
aria-atomic="true"
>
<template v-if="title">
<div
v-if="title"
class="toast-h... | /content/code_sandbox/frontend/components/Common/Toast.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 315 |
```vue
<template>
<button
type="button"
class="btn"
:aria-label="muteLang"
@click="toggleMute"
>
<icon :icon="muteIcon" />
</button>
</template>
<script setup lang="ts">
import Icon from "~/components/Common/Icon.vue";
import {computed, toRef, watch} from "vue";
impo... | /content/code_sandbox/frontend/components/Common/MuteButton.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 325 |
```vue
<template>
<full-calendar
ref="calendar"
:options="calendarOptions"
/>
</template>
<script setup lang="ts">
import FullCalendar from '@fullcalendar/vue3';
import allLocales from '@fullcalendar/core/locales-all';
import luxon3Plugin from '@fullcalendar/luxon3';
import timeGridPlugin from ... | /content/code_sandbox/frontend/components/Common/ScheduleView.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 346 |
```vue
<template>
<li
class="page-item"
:class="[
(active) ? 'active' : '',
(disabled) ? 'disabled' : ''
]"
>
<a
v-if="!disabled"
class="page-link"
href="#"
@click.prevent="onClick"
>
{{ l... | /content/code_sandbox/frontend/components/Common/PaginationItem.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 223 |
```vue
<template>
<div class="waveform-controls">
<div class="row">
<div class="col-md-12">
<div id="waveform_container">
<div id="waveform-timeline" />
<div id="waveform" />
</div>
</div>
</div>
... | /content/code_sandbox/frontend/components/Common/Waveform.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,345 |
```vue
<template>
<div class="list-group list-group-flush">
<a
v-for="log in logs"
:key="log.key"
class="list-group-item list-group-item-action log-item"
href="#"
@click.prevent="viewLog(log.links.self, log.tail)"
>
<span class=... | /content/code_sandbox/frontend/components/Common/LogList.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 235 |
```vue
<template>
<section
class="card"
role="region"
:aria-labelledby="headerId"
>
<div class="card-header text-bg-primary">
<slot
:id="headerId"
name="header"
>
<h2
:id="headerId"
... | /content/code_sandbox/frontend/components/Common/CardPage.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 263 |
```vue
<template>
<nav
class="nav nav-default"
:class="navTabsClass"
role="tablist"
aria-orientation="horizontal"
>
<div
v-for="(childItem) in state.tabs"
:key="childItem.computedId"
class="nav-item"
>
<button
... | /content/code_sandbox/frontend/components/Common/Tabs.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 462 |
```vue
<template>
<a
v-if="src"
v-lightbox
:href="src"
class="album-art"
target="_blank"
data-fancybox="gallery"
:aria-label="$gettext('Enlarge Album Art')"
:title="$gettext('Enlarge Album Art')"
>
<img
class="album_art"
... | /content/code_sandbox/frontend/components/Common/AlbumArt.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 241 |
```vue
<template>
<input
type="submit"
style="position: absolute; left: -9999px; width: 1px; height: 1px;"
tabindex="-1"
aria-hidden="true"
>
</template>
``` | /content/code_sandbox/frontend/components/Common/InvisibleSubmitButton.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 55 |
```vue
<template>
<div
class="card-body alert-danger d-flex align-items-center"
role="alert"
>
<div class="flex-shrink-0 me-2">
<icon :icon="IconError" />
</div>
<div class="flex-fill">
<slot />
</div>
</div>
</template>
<script setup ... | /content/code_sandbox/frontend/components/Common/ErrorCard.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 106 |
```vue
<template>
<button
type="button"
class="btn btn-primary"
@click="emit('click')"
>
<icon :icon="IconAdd" />
<span>{{ text }}</span>
</button>
</template>
<script setup lang="ts">
import Icon from "~/components/Common/Icon.vue";
import {IconAdd} from "~/component... | /content/code_sandbox/frontend/components/Common/AddButton.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 118 |
```vue
<template>
<loading :loading="isLoading">
<div style="height: 300px; resize: vertical; overflow: auto !important;">
<code-mirror
id="log-view-contents"
v-model="logs"
readonly
basic
:dark="isDark"
... | /content/code_sandbox/frontend/components/Common/FixedLogView.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 319 |
```vue
<template>
<input
v-bind="$attrs"
v-model="timeCode"
class="form-control"
type="time"
pattern="[0-9]{2}:[0-9]{2}"
placeholder="13:45"
>
</template>
<script setup lang="ts">
import {computed} from "vue";
import {isEmpty, padStart} from 'lodash';
const prop... | /content/code_sandbox/frontend/components/Common/TimeCode.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 295 |
```vue
<template>
<div
v-if="isActive || !isLazy"
v-show="isActive"
:id="`${computedId}-content`"
>
<slot />
</div>
</template>
<script setup lang="ts">
import {useTabChild} from "~/functions/tabs.ts";
const props = defineProps({
id: {
type: [String, Number],
... | /content/code_sandbox/frontend/components/Common/Tab.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 153 |
```vue
<template>
<a
v-if="'' !== serviceUrl"
:href="serviceUrl"
class="avatar"
target="_blank"
:title="langAvatar"
:aria-label="$gettext('Manage Avatar')"
>
<img
:src="url"
:style="{ width: width+'px', height: 'auto' }"
... | /content/code_sandbox/frontend/components/Common/Avatar.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 256 |
```xml
// This file is generated by genicons.mjs. Do not modify directly.
export interface Icon {
viewBox: string,
contents: string
}
const materialIconsViewBox: string = '0 -960 960 960';
const bootstrapIconsViewBox: string = '0 0 16 16';
export const IconAccountCircle: Icon = {
viewBox: materialIconsViewBox,... | /content/code_sandbox/frontend/components/Common/icons.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 18,766 |
```vue
<template>
<div class="flow-upload">
<div class="upload-progress">
<template
v-for="(file, key) in files.value"
:key="key"
>
<div
v-if="file.isVisible"
:id="'file_upload_' + file.uniqueIden... | /content/code_sandbox/frontend/components/Common/FlowUpload.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,586 |
```vue
<template>
<vue-date-picker
v-model="dateRange"
:dark="isDark"
range
:partial-range="false"
:preset-dates="ranges"
:min-date="minDate"
:max-date="maxDate"
:locale="localeWithDashes"
:select-text="$gettext('Select')"
:cancel-text=... | /content/code_sandbox/frontend/components/Common/DateRangeDropdown.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 988 |
```vue
<template>
<div
:id="id"
class="datatable-wrapper"
>
<div
v-if="showToolbar"
class="datatable-toolbar-top card-body"
>
<pagination
v-model:current-page="currentPage"
:total="totalRows"
:per... | /content/code_sandbox/frontend/components/Common/GridLayout.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,080 |
```vue
<template>
<code-mirror
v-model="textValue"
basic
:lang="lang"
:dark="isDark"
/>
</template>
<script setup lang="ts">
import CodeMirror from "vue-codemirror6";
import {useVModel} from "@vueuse/core";
import {computed} from "vue";
import {css} from "@codemirror/lang-css";
... | /content/code_sandbox/frontend/components/Common/CodemirrorTextarea.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 256 |
```vue
<template>
<button
ref="btn"
type="button"
class="btn btn-copy btn-link btn-xs"
:aria-label="$gettext('Copy to Clipboard')"
@click.prevent="doCopy"
>
<icon
class="sm"
:icon="IconCopy"
/>
<span v-if="!hideText">{{ copy... | /content/code_sandbox/frontend/components/Common/CopyToClipboardButton.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 251 |
```vue
<template>
<template
v-for="(row, index) in alt"
:key="'chart_alt_'+index"
>
<p>{{ row.label }}</p>
<dl>
<template
v-for="(valrow, valindex) in row.values"
:key="'chart_alt_'+index+'_val_'+valindex"
>
... | /content/code_sandbox/frontend/components/Common/Charts/ChartAltValues.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 204 |
```vue
<template>
<canvas ref="$canvas">
<slot>
<chart-alt-values
v-if="alt.length > 0"
:alt="alt"
/>
</slot>
</canvas>
</template>
<script setup lang="ts">
import {useTranslate} from "~/vendor/gettext";
import {ref} from "vue";
import Cha... | /content/code_sandbox/frontend/components/Common/Charts/HourChart.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 273 |
```vue
<template>
<form-group
v-bind="$attrs"
:id="id"
>
<template
v-if="label || slots.label"
#label="slotProps"
>
<form-label
:is-required="isRequired"
:advanced="advanced"
>
<slot
... | /content/code_sandbox/frontend/components/Common/BitrateOptions.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 767 |
```vue
<template>
<canvas ref="$canvas">
<slot>
<chart-alt-values
v-if="alt.length > 0"
:alt="alt"
/>
</slot>
</canvas>
</template>
<script setup lang="ts">
import {ref} from "vue";
import ChartAltValues from "~/components/Common/Charts/Ch... | /content/code_sandbox/frontend/components/Common/Charts/PieChart.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 182 |
```vue
<template>
<small
class="badge rounded-pill ms-2"
:class="badgeClass"
>{{ badgeText }}</small>
</template>
<script setup lang="ts">
import {computed} from "vue";
import {useGettext} from "vue3-gettext";
const props = defineProps({
enabled: {
type: Boolean,
required: ... | /content/code_sandbox/frontend/components/Common/Badges/EnabledBadge.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 156 |
```vue
<template>
<canvas ref="$canvas">
<slot>
<chart-alt-values
v-if="alt.length > 0"
:alt="alt"
/>
</slot>
</canvas>
</template>
<script setup lang="ts">
import {computed, ref} from "vue";
import {useTranslate} from "~/vendor/gettext";
... | /content/code_sandbox/frontend/components/Common/Charts/TimeSeriesChart.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 542 |
```vue
<template>
<small
class="badge rounded-pill ms-2"
:class="badgeClass"
>{{ badgeText }}</small>
</template>
<script setup lang="ts">
import {computed} from "vue";
import {useGettext} from "vue3-gettext";
const props = defineProps({
running: {
type: Boolean,
required: ... | /content/code_sandbox/frontend/components/Common/Badges/RunningBadge.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 157 |
```xml
import {useAzuraCast} from "~/vendor/azuracast";
import {Component, h} from "vue";
import MinimalLayoutComponent from "~/components/MinimalLayout.vue";
export default function useMinimalLayout(component: Component) {
return {
setup() {
const {componentProps} = useAzuraCast();
... | /content/code_sandbox/frontend/layouts/MinimalLayout.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 118 |
```xml
import {useAzuraCast} from "~/vendor/azuracast";
import {Component, h} from "vue";
import PanelLayoutComponent from "~/components/PanelLayout.vue";
export default function usePanelLayout(component: Component) {
return {
setup() {
const {panelProps, componentProps} = useAzuraCast();
... | /content/code_sandbox/frontend/layouts/PanelLayout.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 128 |
```xml
import {DateTime, Duration, Settings} from 'luxon';
import {useAzuraCast} from "~/vendor/azuracast";
interface TimestampToRelative {
(timestamp: number | null | undefined): string;
}
interface UseLuxon {
DateTime: typeof DateTime,
Duration: typeof Duration,
timestampToRelative: TimestampToRelat... | /content/code_sandbox/frontend/vendor/luxon.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 185 |
```xml
import axios, {AxiosStatic} from "axios";
import VueAxios from "vue-axios";
import {App, inject, InjectionKey} from "vue";
import {useTranslate} from "~/vendor/gettext";
import {useNotify} from "~/functions/useNotify";
import {useAzuraCast} from "~/vendor/azuracast.ts";
import {useNProgress} from "~/vendor/nprog... | /content/code_sandbox/frontend/vendor/axios.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 592 |
```xml
/* eslint-disable no-undef */
import {GlobalPermission, StationPermission} from "~/acl.ts";
let globalProps: AzuraCastConstants;
export function setGlobalProps(newGlobalProps: AzuraCastConstants): void {
globalProps = newGlobalProps;
}
export interface AzuraCastStationConstants {
id: number | null,
... | /content/code_sandbox/frontend/vendor/azuracast.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 397 |
```xml
import Swal from 'sweetalert2/dist/sweetalert2';
import {useTranslate} from "~/vendor/gettext";
import {Directive} from "vue";
export function useSweetAlert() {
const {$gettext} = useTranslate();
const swalCustom = Swal.mixin({
confirmButtonText: $gettext('Confirm'),
cancelButtonText: $... | /content/code_sandbox/frontend/vendor/sweetalert.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 312 |
```xml
import NProgress from 'nprogress';
export function useNProgress() {
const showLoading = () => {
NProgress.start();
};
const hideLoading = () => {
NProgress.done();
};
let isAxiosLoading: boolean = false;
let axiosLoadCount: number = 0;
const setLoading = (isLoading... | /content/code_sandbox/frontend/vendor/nprogress.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 207 |
```xml
import {App} from "vue";
export let currentVueInstance: App;
export const installCurrentVueInstance = (vueApp: App): void => {
currentVueInstance = vueApp;
};
``` | /content/code_sandbox/frontend/vendor/vueInstance.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 42 |
```xml
import {createGettext, Language} from "vue3-gettext";
import {App} from "vue";
import {useAzuraCast} from "~/vendor/azuracast.ts";
let gettext;
export function useTranslate(): Language {
return gettext;
}
export async function installTranslate(vueApp: App): Promise<void> {
const {locale} = useAzuraCas... | /content/code_sandbox/frontend/vendor/gettext.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 169 |
```xml
import Lightbox from "~/components/Common/Lightbox.vue";
import {Directive, inject, InjectionKey, provide, Ref} from "vue";
export type LightboxTemplateRef = InstanceType<typeof Lightbox> | null;
const provideKey: InjectionKey<Ref<LightboxTemplateRef>> = Symbol() as InjectionKey<Ref<LightboxTemplateRef>>;
exp... | /content/code_sandbox/frontend/vendor/lightbox.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 207 |
```xml
import {Router} from "vue-router";
import {App} from "vue";
import {useAxios} from "~/vendor/axios.ts";
import NProgress from 'nprogress';
export function installRouter(router: Router, vueApp: App): void {
// Add remote prop loading support
router.beforeEach(async (to, _, next) => {
if (to.meta.... | /content/code_sandbox/frontend/vendor/router.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 181 |
```php
<?php
declare(strict_types=1);
use App\AppFactory;
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
ini_set('display_errors', '1');
require dirname(__DIR__) . '/vendor/autoload.php';
$app = AppFactory::createApp();
$app->run();
``` | /content/code_sandbox/web/index.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 61 |
```xml
/*
* Color Scheme Plugin
*/
import {forEach} from "lodash";
import colorLib from "@kurkle/color";
const scheme: string[] = ['#4E79A7', '#A0CBE8', '#F28E2B', '#FFBE7D', '#59A14F', '#8CD17D', '#B6992D', '#F1CE63', '#499894', '#86BCB6', '#E15759', '#FF9D9A', '#79706E', '#BAB0AC', '#D37295', '#FABFD2', '#B07AA1'... | /content/code_sandbox/frontend/vendor/chartjs_colorschemes.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 867 |
```yaml
openapi: 3.0.0
info:
title: AzuraCast
description: 'AzuraCast is a standalone, turnkey web radio management tool. Radio stations hosted by AzuraCast expose a public API for viewing now playing data, making requests and more.'
license:
name: 'Apache 2.0'
url: 'path_to_url
version: 0.20.2
servers:... | /content/code_sandbox/web/static/openapi.yml | yaml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 32,909 |
```unknown
<?php
namespace Psr\Container;
interface ContainerInterface
{
/**
* Finds an entry of the container by its identifier and returns it.
*
* @template T
* @param class-string<T> $id Identifier of the entry to look for.
* @return T Entry.
*/
public function get(string $id)... | /content/code_sandbox/util/phpstan_di.stub | unknown | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 74 |
```unknown
input = once(single("fallback.flac"));
clock.assign_new(sync="none",[input])
output.file(%mp3(samplerate=44100, stereo=true, bitrate=32, id3v2=true), "fallback-[32].mp3", input, fallible=true)
output.file(%mp3(samplerate=44100, stereo=true, bitrate=48, id3v2=true), "fallback-[48].mp3", input, fallible=true... | /content/code_sandbox/util/generate_fallback_files.liq | unknown | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,469 |
```php
<?php
/**
* PHPStan Bootstrap File
*/
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
ini_set('display_errors', 1);
require dirname(__DIR__) . '/vendor/autoload.php';
$tempDir = sys_get_temp_dir();
$app = App\AppFactory::createApp([
App\Environment::TEMP_DIR => $tempDir,
App\Environment::UPLOADS_DI... | /content/code_sandbox/util/phpstan-doctrine.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 111 |
```shell
#!/usr/bin/env bash
# Ensure we're in the same directory as this script.
cd "$( dirname "${BASH_SOURCE[0]}" )" || exit
cd ..
COMMIT_LONG=$(git log --pretty=%H -n1 HEAD)
COMMIT_DATE=$(git log -n1 --pretty=%ci HEAD)
BRANCH=$(git rev-parse --abbrev-ref HEAD | head -n 1)
printf "COMMIT_LONG=\"%s\"\n" "$COMMIT... | /content/code_sandbox/util/write_git_info.sh | shell | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 139 |
```php
<?php
/*
* Install unused checker with:
* composer global require insolita/unused-scanner
*
* Invoke with:
* php ~/.composer/vendor/bin/unused_scanner util/unused.php
*/
/**
* Set $projectPath = getcwd(); if your put it under project root
**/
$projectPath = dirname(__DIR__);
/**
* Array of full direc... | /content/code_sandbox/util/unused.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 624 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.