This file contains hidden or 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
| let x = 0, y = 0, col = 0, maxCols = 20, rowHeight = 0, width = 0, height = 0; | |
| MQAPI.workspace.startOpBatch(); | |
| MQAPI.workspace.sidebar.view.get('all_stencils') | |
| .map((stencil) => { | |
| return stencil.get('name'); | |
| }) | |
| .forEach(function(stencilName) { | |
| let stencil = MQAPI.canvasManager.addStencil({ | |
| name: stencilName, | |
| x, |
This file contains hidden or 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 fs = require('fs'); | |
| var path = require('path'); | |
| var filesToSearch = ['index.html', 'view.html', 'print.html']; | |
| function filesFromDir(dir) { | |
| return fs.readdirSync(dir).map(function(filename) { | |
| return path.join(dir, filename); | |
| }); | |
| }; |
This file contains hidden or 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
| {"uniqueId":"Os52dof7M1","name":"pramita","description":"","options":{"rulers_visible":false,"guides_visible":false,"grid_visible":false,"grid_minor_width":10,"grid_minor_height":10,"grid_major_vertical":5,"grid_major_horizontal":5,"columns_visible":false,"columns_margin":"0","columns_column":"20%","columns_gutter":"1%","columns_columns":10,"columns_responsive":true},"styles":[{}],"pages":{"ae7d125a4":{"id":"ae7d125a4","title":"Dashboard","comments":[],"guides":[],"groups":{},"nodes":{"0945c611":{"id":"0945c611","x":84,"y":79,"width":832,"height":86,"rotation":0,"transform":"matrix(1 0 0 1 84 79)","inspectables":{"color":"rgb(255,255,255)","font_size":30,"text_align":"center","color_selected":"rgb(8,68,164)","background_color":"rgb(8,68,164)","foreground_color":"rgb(145,228,251)","stroke_color":"rgb(255,255,255)","stroke_width":2,"stroke_style":"solid","bold":false,"italic":false,"underline":false,"strikethrough":false,"small_caps":false,"uppercase":false,"letter_spacing":0,"font":"Helvetica","aspect_lock":fa |
This file contains hidden or 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
| docs = [] | |
| cursor = db.docs.find(); | |
| cursor.forEach(function(c) { | |
| docs.push({ | |
| bsonsize: Object.bsonsize(c), | |
| _id: c._id | |
| }); | |
| }) | |
| sorted_docs = docs.sort(function(a,b) { |
This file contains hidden or 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/sh | |
| # this needs to exist | |
| DSYM_DIR="${HOME}/dSYM/" | |
| echo "searching ${DSYM_DIR}" | |
| if [ "$EFFECTIVE_PLATFORM_NAME" == "-iphonesimulator" ]; then | |
| echo "Skipping simulator build" | |
| exit 0; | |
| fi | |
| if [ -d ${DSYM_DIR} ]; then |