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
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: infinite-calls | |
| labels: | |
| app: infinite-calls | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: |
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
| #cloud-config | |
| network: | |
| config: disabled | |
| users: | |
| - name: ubuntu | |
| shell: /bin/bash | |
| groups: wheel | |
| sudo: ['ALL=(ALL) NOPASSWD:ALL'] | |
| ssh_authorized_keys: | |
| - $publickey1 |
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 'async' | |
| require 'active_support/all' | |
| def sleepy(id) | |
| Async do |task| | |
| while true | |
| task.sleep 0.5 | |
| puts "I'm #{id}!" | |
| end | |
| end | |
| end |
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
| Useful when you want to direct upload to s3 |
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 filepond/dist/filepond | |
| #= require filepond-plugin-file-validate-type/dist/filepond-plugin-file-validate-type | |
| #= require filepond-plugin-file-validate-size/dist/filepond-plugin-file-validate-size | |
| #= require filepond-plugin-image-validate-size/dist/filepond-plugin-image-validate-size | |
| #= require filepond-plugin-image-exif-orientation/dist/filepond-plugin-image-exif-orientation | |
| #= require filepond-plugin-image-transform/dist/filepond-plugin-image-transform | |
| #= require filepond-plugin-image-preview/dist/filepond-plugin-image-preview | |
| #= require filepond-plugin-image-resize/dist/filepond-plugin-image-resize | |
| document.addEventListener 'FilePond:loaded', (e) -> | |
| console.log 'FilePond ready for use', e.detail |
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
| Dropzone.autoDiscover = false | |
| new_photo_dropzone = new Dropzone('div#new_photo_dropzone', url: '/file/post') | |
| Dropzone.options.new_photo_dropzone = | |
| paramName: 'file' | |
| maxFilesize: 2 | |
| Dropzone.options.myAwesomeDropzone = | |
| init: -> | |
| @on 'processing', (file) -> | |
| @options.url = '/some-other-url' | |
| uploadMultiple: false |
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
| lshw -class network | |
| copy ens7 mac 5a:00:02:a2:a7:06 | |
| nano /etc/netplan/10-ens7.yaml | |
| paste and change mac and ip address | |
| network: | |
| version: 2 |
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
| Homebrew build logs for osrf/simulation/gazebo9 on macOS 10.14 | |
| Build date: 2018-11-05 12:04:41 |
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
| Homebrew build logs for osrf/simulation/gazebo9 on macOS 10.14 | |
| Build date: 2018-10-31 18:13:57 |
NewerOlder