cd ~
wget http://nodejs.org/dist/v6.2.1/node-v6.2.1-linux-armv6l.tar.gz
tar -xzf node-v6.2.1-linux-armv6l.tar.gz
node-v6.2.1-linux-armv6l/bin/node -v
The last command should print v6.2.1.
Now you can copy it to /usr/local
import "./index.css"; | |
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import { | |
DataBrowserRouter, | |
Route, | |
useLoaderData, | |
Form, | |
useNavigation, | |
} from "react-router-dom"; |
import React from 'react' | |
import { createClient } from 'urql' | |
const client = createClient({ | |
url: 'https://api.thegraph.com/subgraphs/name/dabit3/zoranftsubgraph' | |
}) | |
const query = ` | |
query { | |
tokens( |
#include <BLEDevice.h> | |
#include <BLEServer.h> | |
#include <BLEUtils.h> | |
#include <BLE2902.h> | |
uint8_t note = 38; | |
int SNARE[6] = {150, 4000, 38, 3, 0, 0}; //{threshold, sensitivity, note(no use), flag, velocity, last peakValue} | |
boolean snareFlag = false; | |
BLECharacteristic *pCharacteristic; |
<#assign locPortletId = "82" /> | |
<#assign PortletPreferencesFactoryUtil = staticUtil["com.liferay.portlet.PortletPreferencesFactoryUtil"] /> | |
<#assign portletSetup = PortletPreferencesFactoryUtil.getLayoutPortletSetup(layout, locPortletId) /> | |
<#if portletSetup.getValue("portletSetupShowBorders", "") != "false" > | |
<#assign temp = portletSetup.setValue("portletSetupShowBorders", "false") /> | |
<#assign temp = portletSetup.store() /> | |
</#if> |