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
brew tap homebrew/php | |
brew install homebrew/php/composer |
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 | |
use Drupal\file\Entity\File; | |
// public://images/blah.jpg | |
$drupal_file_uri = File::load($fid)->getFileUri(); | |
// /sites/default/files/images/blah.jpg | |
$image_path = file_url_transform_relative(file_create_url($drupal_file_uri)); |
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
langcode: en | |
status: true | |
dependencies: { } | |
id: upgrade_d6_taxonomy_term_classes | |
migration_tags: | |
- 'Drupal 6' | |
migration_group: migrate_drupal_6 | |
label: 'Taxonomy terms for WoW character classes ' | |
source: | |
plugin: embedded_data |
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 bash | |
# Authorize to GitHub to get the latest release tar.gz | |
# Requires: oauth token, https://help.github.com/articles/creating-an-access-token-for-command-line-use/ | |
# Requires: jq package to parse json | |
# Your oauth token goes here, see link above | |
OAUTH_TOKEN="34k234lk234lk2j3lk4j2l3k4j2kj3lk" | |
# Repo owner (user id) | |
OWNER="your-user-name" |
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
--- | |
# `vagrant_box` can also be set to geerlingguy/centos6, geerlingguy/centos7, | |
# geerlingguy/ubuntu1204, parallels/ubuntu-14.04, etc. | |
vagrant_box: geerlingguy/centos7 | |
vagrant_user: vagrant | |
vagrant_synced_folder_default_type: nfs | |
# If you need to run multiple instances of Drupal VM, set a unique hostname, | |
# machine name, and IP address for each instance. | |
vagrant_hostname: downfall.dev |
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
--- | |
# `vagrant_box` can also be set to geerlingguy/centos6, geerlingguy/centos7, | |
# geerlingguy/ubuntu1204, parallels/ubuntu-14.04, etc. | |
vagrant_box: geerlingguy/centos7 | |
vagrant_user: vagrant | |
vagrant_synced_folder_default_type: smb | |
# If you need to run multiple instances of Drupal VM, set a unique hostname, | |
# machine name, and IP address for each instance. | |
vagrant_hostname: downfall.dev |
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
F:\dev\puphpet-shit\UNzZYB | |
λ vagrant up --debug | |
INFO global: Vagrant version: 1.8.1 | |
INFO global: Ruby version: 2.2.3 | |
INFO global: RubyGems version: 2.4.5.1 | |
INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-1.8.1\\bin\\vagrant" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1" |
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
INFO interface: info: Booting VM... | |
INFO interface: info: ==> drupalvm: Booting VM... | |
==> drupalvm: Booting VM... | |
INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "startvm", "5862800b-831e-4fc1-81b3-a934404e25b8", "--type", "headless"] | |
INFO subprocess: Command not in installer, restoring original environment... | |
DEBUG subprocess: Selecting on IO | |
DEBUG subprocess: stdout: Waiting for VM "5862800b-831e-4fc1-81b3-a934404e25b8" to power on... | |
VM "5862800b-831e-4fc1-81b3-a934404e25b8" has been successfully started. | |
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31998 | |
DEBUG subprocess: Exit status: 1 |
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
var Model = (function() { | |
console.log('model'); | |
})(); | |
var View = (function() { | |
console.log("I am module 1"); | |
})(); | |
var AuthCheck = (function() { | |
return { |
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
files_match: | |
avdfm_upfg216ln0n9: | |
path: \.php$ | |
sethandler: 'proxy:fcgi://127.0.0.1:9000' | |
custom_fragment: '' | |
provider: filesmatch | |
php: | |
install: '1' | |
settings: |