There are two methods:
- Scripted Method
- Boot Overlay Method (also below as "tl;dr")
Add the following to your /boot/config.txt and reboot:
unzip -j Atmel.ATmega_DFP.x.y.zzz.atpack \
| <?php | |
| $params = array( | |
| 'code' => " говнокод here ", | |
| 'access_token' => $token, | |
| 'v' => 5.64, | |
| ); | |
| $url = 'https://api.vk.com/method/execute'. '?' . http_build_query( $params); |
| # kubernetes - is an open source system for managing containerized | |
| # applications across multiple hosts, providing basic mechanisms for | |
| # deployment, maintenance, and scaling of applications. | |
| # See: https://kubernetes.io | |
| function __kubectl_no_command | |
| set -l cmd (commandline -poc) | |
| if not set -q cmd[2] | |
| return 0 | |
| end |
| /** | |
| * USB HID Keyboard scan codes as per USB spec 1.11 | |
| * plus some additional codes | |
| * | |
| * Created by MightyPork, 2016 | |
| * Public domain | |
| * | |
| * Adapted from: | |
| * https://source.android.com/devices/input/keyboard-devices.html | |
| */ |
| viewport_width = $(window).width() | |
| ideal_height = parseInt($(window).height() / 2) | |
| summed_width = photos.reduce ((sum, p) -> sum += p.get('aspect_ratio') * ideal_height), 0 | |
| rows = Math.round(summed_width / viewport_width) | |
| if rows < 1 | |
| # (2a) Fallback to just standard size | |
| photos.each (photo) -> photo.view.resize parseInt(ideal_height * photo.get('aspect_ratio')), ideal_height | |
| else | |
| # (2b) Distribute photos over rows using the aspect ratio as weight |
| # The full public facing url | |
| #root_url = %(protocol)s://%(domain)s:%(http_port)s/ | |
| root_url = http://localhost:80/grafana/ |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>STL File Viewer</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r68/three.min.js" | |
| ></script> | |
| <script src="https://rawgit.com/mrdoob/three.js/master/examples/js/controls/TrackballControls.js" | |
| ></script> | |
| <script src="loader.js"></script> |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "github.com/nbio/hitch" | |
| "github.com/nbio/httpcontext" | |
| "github.com/nbio/httpgzip" | |
| ) |