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
| function doGet(){ | |
| var ss = SpreadsheetApp.openById("//key ommitted"); | |
| return exportJSON(ss); | |
| } | |
| // Exports current sheet as JSON and displays in message box. | |
| function exportJSON(ss) { | |
| var sheet = ss.getSheetByName("sessions"); | |
| var rowsData = getRowsData(sheet); | |
| var result = Utilities.jsonStringify(rowsData); |
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
| { | |
| "require": { | |
| "mfacenet/hello-world": "v1.*" | |
| } | |
| } |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Building a router</title> | |
| <script> | |
| // Put John's template engine code here... | |
| (function () { | |
| // A hash to store our routes: |
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
| This is how I managed to set up Singularitygs + Breakpoint + Compass with Gulp (for Drupal theming). | |
| Install gulp globally | |
| "sudo npm install -g gulp" | |
| Copy the following package.json to the root folder of your project. | |
| { | |
| "name": "your_project", | |
| "version": "1.0.0", |
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
| <?php | |
| /** | |
| * @file | |
| * Local development override configuration feature. | |
| * | |
| * To activate this feature, copy and rename it such that its path plus | |
| * filename is 'sites/example.com/settings.local.php', where example.com | |
| * is the name of your site. Then, go to the bottom of | |
| * 'sites/example.com/settings.php' and uncomment the commented lines that |
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
| " Allow Vim-only settings even if they break vi keybindings. | |
| set nocompatible | |
| " Enable filetype detection. | |
| filetype off | |
| filetype plugin indent on | |
| " Enable syntax highlighting | |
| if &t_Co > 1 | |
| syntax enable |
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/bash -x | |
| echo Are you at themes folder y/n? | |
| read IS_THEME_FOLDER | |
| if [ $IS_THEME_FOLDER != 'y' ];then | |
| exit | |
| fi | |
| if ! [ -d bootstrap ];then | |
| drush dl bootstrap | |
| fi |