Skip to content

Instantly share code, notes, and snippets.

wordpress_sites:
roots-example-project.com:
site_hosts:
- roots-example-project.dev
local_path: roots-example-project.dev # path targeting local Bedrock site directory (relative to Ansible root)
site_install: true
site_title: Example Site
admin_user: admin
# admin_password: (defined in group_vars/development/vault.yml)
admin_email: admin@roots-example-project.dev
---
- include: "{{ deploy_build_before | default('../hooks/example.yml') }}"
tags: deploy-build-before
- name: Copy project templates
template:
src: "{{ item.src }}"
dest: "{{ deploy_helper.new_release_path }}/{{ item.dest }}"
mode: "{{ item.mode | default('0644') }}"
with_items: project_templates
- name: Run npm install - for sage
command: npm install
connection: local
args:
chdir: "/vagrant-nfs-workspace/{{ project.local_path }}/web/app/themes/sage"
with_dict: "{{ wordpress_sites }}"
when: item.value.sage_template | default(false)
- name: Run bower install -for sage
command: bower install
common/
composer/
deploy/
fail2ban/
ferm/
hhvm/
mariadb/
memcached/
nginx/
php/
---
- include: variable-check.yml
vars:
playbook: deploy.yml
- name: Deploy WP site
hosts: web:&{{ env }}
remote_user: "{{ web_user }}"
vars:
wordpress_sites:
example.com:
site_hosts:
- staging-roots-example.adamklein.io
local_path: roots-example-project.dev # path targeting local Bedrock site directory (relative to Ansible root)
repo: git@bitbucket.org:cmosguy/roots-example-project.dev.git
branch: master
#repo_subtree_path: # relative path to your Bedrock/WP directory in your repo
sage_template: true
multisite:
package require csv
package require struct::matrix
proc parseCsv {csvFile} {
catch {
#doing a lot of reloading on the data matrix
#need to delete the data command before issuing the
#struct command again
rename data {}
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 68 columns, instead of 46. in line 1.
,,Template and Instance Setup,,,,,,,,,,Chunk Mapping,,,,,Analog Mapping,,,,Read Device,,,,,,,,,,,,,,,,,,Capacitor Device,,,,,,,,,,,,,Tunnel Device,,,,,,,,,,,,,,,
MC,Variant Number,Variant Prefix,Variant Postfix,Final Variant cell name,Read device instance name,Capacitor device instance name,FN tunneling device instance name,Memcell template source,Cellblock template source,chunk template source,,Gate Contacted (next to ptap) (foo_bar_chunk_*_gc),FG Middle of array (foo_bar_chunk),Edge Row next to ptap ((foo_bar_chunk_*_edge),No ptap in page break (foo_bar_chunk_*_notap),,VCAP,VFN,VIA,,Read L,Read W,Dogbone (calc),PW enc Diff Read,PW Width (calc),PW enc Dev Read (Poly + Diff only need if dog bone) (calc),Rotation, LVNLDD_enc_Read_Min (Top), LVNLDD_enc_Read_Min (Bottom),Diff to Diff Space,Diff enc Cont (calc),Poly Endcap,Read BL Implant,Read WL Implant,LDD hand drawn OPC,P Drift enc Read Diff,LVPW (core NMOS) enc Read Diff,,Cap Area,Cap Perimeter,Diff enc Cap,Psub enc Cap,Poly Space Cap,Poly endcap,HVNLDD_enc_C
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 68 columns, instead of 7. in line 9.
TITLE,AEON5 Bitcells for TSMC 130nm 1.5V/5V,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,Required fields,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,Layout instructions,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,Top Level Array Parameters,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
TLAP,# columns,# rows,Array top name,Shift Register Name Row,Shift Register Name Col,Corner Cell,Destination Prefix,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,5,6,b5ev_ao_a_array_top,b5ev_shift_reg_unit_row,b5ev_shift_reg_unit_col,b5ev_corner_cell,b5ev,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,Chunk Variant mapping,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
CVM,Chunk postfix,Table mapping name,Top Level Pin,Cell pin,Instance Connection,Skip Connectio
let g:lightline = {
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ],
\ [ 'fugitive', 'readonly', 'filename', 'modified' ] ]
\ },
\ 'component': {
\ 'readonly': '%{&filetype=="help"?"":&readonly?"?":""}',
\ 'modified': '%{&filetype=="help"?"":&modified?"+":&modifiable?"":"-"}',
\ 'fugitive': '%{exists("*fugitive#head")?fugitive#head():""}'
\ },