This file contains 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
if (this.drm) { | |
if ($Player.isHbbTv() && -1 === navigator.userAgent.indexOf("SmartTV_2019_1")) | |
for (var b = g.getProtectionController().getKeySystems(), a = 0; a < b.length; a++) | |
if ("urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" === b[a].schemeIdURI) { | |
b[a].setPlayReadyMessageFormat("utf-8"); | |
break | |
} b = "PLAYREADY" === $DEVICE.preferredDRM ? { | |
"com.microsoft.playready": { | |
serverURL: this.drm.url | |
} |
This file contains 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 setup> | |
import { | |
defineProps, | |
onMounted, | |
ref, | |
computed | |
} from 'vue'; | |
import axios from 'axios' | |
const props = defineProps({ |
This file contains 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 axios from 'axios' | |
const API_URL = 'http://localhost:3000' | |
const securedAxiosInstance = axios.create({ | |
baseURL: API_URL, | |
withCredentials: true, | |
headers: { | |
'Content-Type': 'application/json' | |
} |
This file contains 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
[ | |
{ | |
"name": "Display", | |
"data": { | |
"id": 34566, | |
"category_id": 2647, | |
"feature_group_id": 5 | |
}, | |
"features": [ | |
{ |
This file contains 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
SPLENDORI E MISERIE DI MADAME ROYALE | |
GENERALE DORME IN PIEDI, IL | |
QUEL MALEDETTO TRENO BLINDATO | |
RAGAZZA CON LA PISTOLA, LA | |
VEDOVO, IL | |
ACCATTONE | |
ANNI RUGGENTI, GLI | |
BANDA DEGLI ONESTI, LA | |
VOGLIA MATTA, LA | |
ACHTUNG! BANDITI! |
This file contains 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/dist/vue.esm' | |
import ImageUpload from '../../../admin/components/commons/imageUpload.vue' | |
import AjaxSelect from '../../../admin/components/commons/AjaxSelect.vue' | |
import AjaxMultiSelect from '../../../admin/components/commons/AjaxMultiSelect.vue' | |
import MultiUpload from '../../../admin/components/commons/MultiUpload.vue' | |
import AssetList from '../../../admin/components/contents/AssetList.vue' | |
import Elements from '../../../admin/components/contents/Elements.vue' | |
import VueClipboard from 'vue-clipboard2' | |
Vue.use(VueClipboard) |
This file contains 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
class Admin::ContentsController < AdminController | |
expose(:contents) | |
expose(:content) | |
def new | |
content = Content.create(author: current_user) | |
redirect_to edit_admin_content_path(content) | |
end | |
def edit |
This file contains 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 { environment } = require('@rails/webpacker') | |
const erb = require('./loaders/erb') | |
const { VueLoaderPlugin } = require('vue-loader') | |
const vue = require('./loaders/vue') | |
const datatables = require('./loaders/datatables') | |
const webpack = require('webpack') | |
const CKEditorWebpackPlugin = require( '@ckeditor/ckeditor5-dev-webpack-plugin' ); | |
const { styles } = require( '@ckeditor/ckeditor5-dev-utils' ); | |
environment.loaders.append('datatables', datatables) |
This file contains 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
scriptamanent@next:~$ systemctl status next-dday-staging.service | |
● next-dday-staging.service - Puma HTTP Forking Server - Day staging app | |
Loaded: loaded (/etc/systemd/system/next-dday-staging.service; enabled; vendor preset: enabled) | |
Active: active (running) since ven 2018-03-23 17:35:27 CET; 31min ago | |
Process: 788 ExecStart=/home/scriptamanent/.rbenv/bin/rbenv exec bundle exec puma -C /home/scriptamanent/dday/dday.it/shared/config/puma.rb --daemon (code=exited, status=0/SUCCESS) | |
Main PID: 1046 (ruby) | |
CGroup: /system.slice/next-dday-staging.service | |
└─1046 puma 3.8.1 (unix:///home/scriptamanent/dday/dday.it/shared/tmp/sockets/dday.it-puma.sock) | |
mar 23 17:34:30 next systemd[1]: Starting Puma HTTP Forking Server - Day staging app... |
This file contains 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
class RatesController < ApplicationController | |
def show | |
present Rate::Update # or your normal controller code here if you don't want to use Trailblazer Operations | |
respond_with op do |format| | |
format.html{ render text: cell(:rate, @model,current_user: user), layout: false, status: status} | |
end | |
end | |
end |
NewerOlder