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
#!/usr/bin/env node | |
'use strict'; | |
// THIS HOOK WILL ADD THE NEEDED HEADER SEARCH PATHS FOR THE BRANCH SDK (avoids error: 'Branch.h' file not found) | |
// Reference in config.xml in platform IOS: <hook type="after_plugin_install" src="hooks/AfterPluginInstall_BRANCHSDK.js" /> | |
let cwd = process.cwd(); | |
let fs = require('fs'); | |
let path = require('path'); |
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
/** | |
* Author: Sam Roose | |
*/ | |
import { Directive, ElementRef } from '@angular/core'; | |
@Directive({ | |
selector: '[appNoArrow]' | |
}) | |
export class NoArrowDirective { |
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
<?php | |
/** | |
* Based on https://stackoverflow.com/a/20983340 and improved | |
*/ | |
namespace OpenAPIServer\ValidationRules; | |
use Respect\Validation\Rules\AbstractRule; |
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
#!/bin/bash | |
echo "CLEANING TEMPORARY PLESK UPDATE FILES" | |
echo "-------------------------------------" | |
echo | |
diskfree=`df / | awk '{ print $5 }' | tail -n 1` | |
echo "Current diskusage: " $diskfree | |
echo | |
echo "checking if plesk updater is not running.." | |
running=`ps aux | grep autoinstaller | grep -v "grep" | wc -l` | |
if [[ $running -gt 0 ]];then |