#Sublime
###Create New File - with new name CTRL + n
###Move through tabs
| //send form data to filemkaer script | |
| <script type="text/javascript"> | |
| function submitForm() { | |
| const form = document.getElementById('myForm'); | |
| formToJSONWithImage(form).then(formJSON => { | |
| console.log(JSON.stringify(formJSON)); | |
| FileMaker.PerformScript('js - save html', JSON.stringify(formJSON)); | |
| }); | |
| } |
| const { SVG } = require('@svgdotjs/svg.js'); | |
| const fs = require('fs'); | |
| fs.readFile('input.svg', 'utf8', (err, data) => { | |
| if (err) throw err; | |
| const draw = SVG(data); | |
| // Set the new viewBox and size to 24x24 | |
| draw.viewbox(0, 0, 24, 24); |
| Desc: Google TV Addon, Android API 13, revision 1 | |
| By Google Inc. | |
| Android + Google TV, API 13 | |
| Requires SDK Platform Android API 13 | |
| ---------- | |
| id: 42 or "addon-google_apis-google-12" | |
| Type: Addon | |
| Desc: Google APIs, Android API 12, revision 1 | |
| By Google Inc. | |
| Android + Google APIs, API 12, revision 1 |
| public function actionLinode(){ | |
| require('Services/Linode.php'); | |
| try { | |
| $linode = new Services_Linode($this->$linodeAPIkey); | |
| $a = $linode->linode_list(); | |
| $b = $linode->domain_list(); | |
| var_dump($a); |
| [Tue Apr 15 16:54:37 2014] [error] [client 10.0.0.20] PHP Fatal error: Call to a member function formName() on a non-object in /home/stuart/yii-basic/basic/vendor/yiisoft/yii2/helpers/BaseHtml.php on line 1807 | |
| [Tue Apr 15 16:54:37 2014] [error] [client 10.0.0.20] PHP Stack trace: | |
| [Tue Apr 15 16:54:37 2014] [error] [client 10.0.0.20] PHP 1. {main}() /home/stuart/yii-basic/basic/web/index.php:0 | |
| [Tue Apr 15 16:54:37 2014] [error] [client 10.0.0.20] PHP 2. yii\\base\\Application->run() /home/stuart/yii-basic/basic/web/index.php:20 | |
| [Tue Apr 15 16:54:37 2014] [error] [client 10.0.0.20] PHP 3. yii\\web\\Application->handleRequest() /home/stuart/yii-basic/basic/vendor/yiisoft/yii2/base/Application.php:353 | |
| [Tue Apr 15 16:54:37 2014] [error] [client 10.0.0.20] PHP 4. yii\\base\\Module->runAction() /home/stuart/yii-basic/basic/vendor/yiisoft/yii2/web/Application.php:82 | |
| [Tue Apr 15 16:54:37 2014] [error] [client 10.0.0.20] PHP 5. yii\\base\\Controller->runAction() /home/stuart/yii-basic/basic/vendor/yiisoft/yi |
| <?php echo GridView::widget(array( | |
| 'dataProvider' => $dataProvider, | |
| 'filterModel' => $searchModel, | |
| 'columns' => array( | |
| array('class' => 'yii\grid\SerialColumn'), | |
| 'id', | |
| 'active', | |
| 'modified', | |
| 'sort_order', |
#Sublime
###Create New File - with new name CTRL + n
###Move through tabs