Skip to content

Instantly share code, notes, and snippets.

View build-before.yml
#- name: Run npm install
# command: npm install
# connection: local
# args:
# chdir: "{{ project.local_path }}/web/app/themes/sage"
#
#- name: Run bower install
# command: bower install
# connection: local
# args:
View main.yml
---
# - name: Add Composer PPA
# apt_repository: repo="ppa:duggan/composer" update_cache=yes
# - name: Install Composer
# apt: name=php5-composer state=present
# with_items:
# - php5-cli
- name: install composer
View perforce.txt
*perforce.txt* A feature Rich Perforce SCM Integration for Vim.
Requires Vim 6.0
Last Change: 01-Sep-2006 @ 16:54
Since Version: 1.4
Revision: 1.3.0
Plugin Version: 4.1
Author: Hari Krishna Dara (hari_vim at yahoo dot com)
*perforce-introduction*
*perforce-plugin*
View vimrc.vim
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():""}'
\ },
View norayrm_testcase.csv
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
View example.csv
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
View csv_example.tcl
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 {}
View gist:bf757ae1b1b14b3915a11a8505fccded
common/
composer/
deploy/
fail2ban/
ferm/
hhvm/
mariadb/
memcached/
nginx/
php/
View build.yml
---
- 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
View wordpress_sites.yml
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