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 | |
| export LDFLAGS=-Wl,-rpath=/var/task/lib/ | |
| export PKG_CONFIG_PATH='/canvas/lib/pkgconfig' | |
| export LD_LIBRARY_PATH='/canvas/lib':$LD_LIBRARY_PATH | |
| C_INCLUDE_PATH=/canvas/include/ | |
| CPLUS_INCLUDE_PATH=/canvas/include/ | |
| export C_INCLUDE_PATH | |
| export CPLUS_INCLUDE_PATH |
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 | |
| function zapier($url, $json, $headers) { | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $url); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
| curl_setopt($ch, CURLOPT_TIMEOUT, 10); | |
| curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST'); | |
| curl_setopt($ch, CURLOPT_POST, 1); | |
| curl_setopt($ch, CURLOPT_POSTFIELDS, $json); | |
| curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); |
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 camera, scene, renderer; | |
| var geometry, material, mesh; | |
| init(); | |
| animate(); | |
| function init() { | |
| camera = new THREE.PerspectiveCamera( | |
| 70, |
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 camera, scene, renderer; | |
| var geometry, material, mesh; | |
| init(); | |
| animate(); | |
| function init() { | |
| camera = new THREE.PerspectiveCamera(70, window.innerWidth / window.innerHeight, 0.01, 100); | |
| camera.position.z = 1; |
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
| files: | |
| "/etc/nginx/conf.d/01_websockets.conf" : | |
| mode: "000644" | |
| owner: root | |
| group: root | |
| content : | | |
| upstream nodejs { | |
| server 127.0.0.1:8081; | |
| keepalive 256; | |
| } |
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
| const display = { | |
| display: 'block' | |
| }; | |
| const hide = { | |
| display: 'none' | |
| }; | |
| class Modal extends React.Component { | |
| constructor(props) { | |
| super(props); |
NewerOlder