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
require 'fileutils' | |
require 'optimist' | |
require 'plist' | |
def run(path, source_path) | |
process(path, source_path, '**/*.app', true) | |
process(path, source_path, '**/*.dylib', false) | |
end | |
def process(path, source_path, search_pattern, is_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
<?xml version="1.0" encoding="ISO-8859-1" ?> | |
<PtsSubscriberDataFormat> | |
<OldFile>Teleop_changes_20141104.xml</OldFile> | |
<NewFile>Teleop_changes_20141105.xml</NewFile> | |
<Subscription Teladdress="075-1621000" Type="Mob" TransactionType="NYAB" Updated=”20141105” | |
Subscriberchoice=”yes”> | |
<OwnerData Id="5568466154" Type="org"> | |
<Company>VIQ Sweden AB</Company> | |
<Addresses> | |
<Address TelSite="yes"> |
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 | |
$permissions = ACLField::hasAccess($field, $module, $GLOBALS['current_user']->id, $is_owner); | |
switch ( $permissions ) { | |
case 0: | |
echo "No access to this field"; | |
break; | |
case 1: | |
echo "Read-only access to this field"; | |
break; |
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 | |
# Add Vagrant's NFS setup commands to sudoers, for `vagrant up` without a password | |
# Updated to work with Vagrant 1.3.x | |
# Stage updated sudoers in a temporary file for syntax checking | |
TMP=$(mktemp -t vagrant_sudoers) | |
cat /etc/sudoers > $TMP | |
cat >> $TMP <<EOF | |
# Allow passwordless startup of Vagrant when using NFS. |