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
server { | |
{% if item.value.ssl is defined and item.value.ssl.enabled | default(false) -%} | |
listen 443 ssl http2; | |
{% else -%} | |
listen 80; | |
{% endif %} | |
server_name {% for host in item.value.site_hosts %} {{ host | reverse_www(append=false) }} {% if item.value.multisite.subdomains | default(false) %} *.{{ host }} {% endif %} {% endfor %}; | |
access_log {{ www_root }}/{{ item.key }}/logs/access.log; | |
error_log {{ www_root }}/{{ item.key }}/logs/error.log; |
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
RubyGems Environment: | |
- RUBYGEMS VERSION: 2.7.6 | |
- RUBY VERSION: 2.4.4 (2018-03-28 patchlevel 296) [x86_64-darwin17] | |
- INSTALLATION DIRECTORY: /Users/alexandrecote/.gem/ruby/2.4.4 | |
- USER INSTALLATION DIRECTORY: /Users/alexandrecote/.gem/ruby/2.4.0 | |
- RUBY EXECUTABLE: /opt/rubies/2.4.4/bin/ruby | |
- EXECUTABLE DIRECTORY: /Users/alexandrecote/.gem/ruby/2.4.4/bin | |
- SPEC CACHE DIRECTORY: /Users/alexandrecote/.gem/specs | |
- SYSTEM CONFIGURATION DIRECTORY: /opt/rubies/2.4.4/etc | |
- RUBYGEMS PLATFORMS: |
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
iFrameBuffer | |
Loading* | |
loaded -> InjectBridgeBundle | |
cancel -> Loading | |
InjectBridgeBundle | |
injected -> SyncScroll | |
cancel -> Loading | |
SyncScroll |
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
// Global payload | |
interface Global { | |
myGlobal: string; | |
myOtherGlobal: string; | |
} | |
// Type with all global keys | |
interface Schema1 { | |
schemaId: 'schema1'; | |
payload: { |
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 | |
if [[ "$OSTYPE" == "linux-gnu"* ]]; then | |
os=linux | |
elif [[ "$OSTYPE" == "darwin"* ]]; then | |
os=macos | |
else | |
echo "OS not supported" | |
exit 1 | |
fi |