type: PIN
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
type: PIN
Consumer key: IQKbtAYlXLripLGPWd0HUA
| const StellarSdk = require('stellar-sdk'); | |
| StellarSdk.Network.useTestNetwork(); // StellarSdk.Network.usePublicNetwork(); | |
| const server = new StellarSdk.Server('https://horizon-testnet.stellar.org'); // const server = new StellarSdk.Server('https://horizon.stellar.org'); | |
| // convenience method: returns a PaymentCallBuilder | |
| // https://stellar.github.io/js-stellar-sdk/PaymentCallBuilder_PaymentCallBuilder.html#stream | |
| // there are similar CallBuilders for other network events, this one is specific to payments | |
| var stream = server | |
| .payments() |
| license: mit | |
| height: 500 | |
| border: no |
| node: Platform built on V8 to build network applications | |
| git: Distributed revision control system | |
| wget: Internet file retriever | |
| yarn: JavaScript package manager | |
| python3: Interpreted, interactive, object-oriented programming language | |
| coreutils: GNU File, Shell, and Text utilities | |
| pkg-config: Manage compile and link flags for libraries | |
| chromedriver: Tool for automated testing of webapps across many browsers | |
| awscli: Official Amazon AWS command-line interface | |
| automake: Tool for generating GNU Standards-compliant Makefiles |
| sudo /usr/local/McAfee/AntiMalware/VSControl stopoas | |
| sudo killall VShieldService | |
| sudo killall VShieldScanner |
| source("read_cru_hemi.r") | |
| #data from https://crudata.uea.ac.uk/cru/data/temperature/HadCRUT4-gl.dat | |
| temp_dat <- read_cru_hemi("./HadCRUT4-gl2017.dat") | |
| temp_dat_monthly <- temp_dat %>% | |
| select(-starts_with("cover")) %>% | |
| select(-starts_with("annual")) %>% | |
| gather(month, anomaly, -year) %>% | |
| mutate(month = gsub("month\\.", "", month)) %>% | |
| mutate(month = as.numeric(month)) |
| /* NOTICE: THIS WAS MADE BACK IN 2017, OF COURSE IT'S NOT GOING TO WORK WELL NOW THAT TWITTER'S FUCKED THINGS UP */ | |
| @namespace url(http://www.w3.org/1999/xhtml); | |
| @-moz-document domain("twitter.com") { | |
| [data-component-context="suggest_recap"], | |
| [data-component-context="suggest_who_to_follow"], | |
| [data-component-context="suggest_activity"], | |
| [data-component-context="suggest_activity_tweet"], | |
| [data-component-context="suggest_recycled_tweet_inline"], | |
| [data-component-context="suggest_recycled_tweet"]{ |
How do you send information between clients and servers? What format should that information be in? What happens when the server changes the format, but the client has not been updated yet? What happens when the server changes the format, but the database cannot be updated?
These are difficult questions. It is not just about picking a format, but rather picking a format that can evolve as your application evolves.
By now there are many approaches to communicating between client and server. These approaches tend to be known within specific companies and language communities, but the techniques do not cross borders. I will outline JSON, ProtoBuf, and GraphQL here so we can learn from them all.
const express = require('express');
const path = require('path');
const app = express();
// Allow dotfiles - this is required for verification by Lets Encrypt's certbotThis guide uses the domain your-domain.tld and its www. prefixed version.
It starts the rocket application on 127.0.0.1:1337 and as the user www-data. The proxy listens on port 80 and 443 though.
If you need other values, update them accordingly in your nginx and systemd configs.