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
server { | |
listen 80 default_server; | |
index index.html; | |
root /var/www/frontend/dist; | |
charset utf-8; | |
rewrite_log on; | |
access_log off; | |
error_log /var/log/nginx/error.log error; | |
sendfile off; | |
client_max_body_size 100m; |
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
<?php | |
namespace Acted\LegalDocsBundle\Entity; | |
use Symfony\Component\Security\Core\User\UserInterface; | |
use Doctrine\Common\Collections\Collection; | |
use Doctrine\Common\Collections\ArrayCollection; | |
use Acted\LegalDocsBundle\Entity\Profile; | |
use Acted\LegalDocsBundle\Entity\Artist; | |
use Acted\LegalDocsBundle\Entity\PaymentSetting; |
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
<IfModule mod_ssl.c> | |
<VirtualHost *:443> | |
ServerName offers.no | |
SSLEngine on | |
SSLProtocol all -SSLv2 | |
SSLCertificateFile "/etc/letsencrypt/live/offers.no/fullchain.pem" | |
SSLCertificateKeyFile "/etc/letsencrypt/live/offers.no/privkey.pem" | |
DocumentRoot /var/offers/web |
This file has been truncated, but you can view the full file.
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
'use strict'; | |
(function(b, a) { | |
function f(b, c) { | |
g.addType(b, function(d, f, k) { | |
var p, s = f, | |
t = (new Date).getTime(); | |
if (!d) { | |
s = {}; | |
k = []; | |
f = 0; |
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
{ | |
"categories": { | |
"Electronics": [ | |
{ | |
"id": 4, | |
"name": "Alex-test" | |
}, | |
{ | |
"id": 5, | |
"name": "Axiom Telecom" |
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
<?php | |
DB::table('psa_users')->insert([ | |
//Create admin | |
[ | |
'id' => 1, | |
'identity' => 'f8a7b94a-6c56-4bc5-94bf-d5efd921a26c', | |
'email' => '[email protected]', | |
'password' => bcrypt('12345678'), | |
'role' => 'admin', |
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
######################################################### | |
# Vastree | |
######################################################### | |
server { | |
listen 80; | |
server_name vastree.loc www.vastree.loc; | |
root /home/user6/www/vastree-admin/admin-app; | |
index index.php index.html index.htm; |
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
<?php | |
$southEast = new RefRegion(); | |
$southEast->setName('South East'); | |
$southEast->setCountry($uk); | |
$southEast->setLatitude('51.081785'); | |
$southEast->setLongitude('0.597509'); | |
$southWest = new RefRegion(); | |
$southWest->setName('South West'); | |
$southWest->setCountry($uk); |
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
<?php | |
public function getCostsBasesData(array $criteria) | |
{ | |
$qb = $this->createQueryBuilder('l') | |
->select('SUM(f.publicationPrice)/1000 as zakupki, | |
SUM(f.contractPrice)/1000 as contract, | |
SUM(f.factPrice)/1000 as cassa, | |
SUM(f.planPrice)/1000 as plan') | |
->leftJoin('l.plan', 'p') |
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
{ | |
"stateContract": { | |
"id": "df928de4-d992-4292-a6c4-eabb2d0c14dd", | |
"fullName": "123 123", | |
"statute": "123 123", | |
"approvedBY": "123 123", | |
"supplierName": "123333 123", | |
"supplierFullName": "123", | |
"supplierAuthority": "1123 123", | |
"nds": true, |