Git Product home page Git Product logo

hello-world's Introduction

hello-world

Following the Tutorial for now

Hello World,

My goal is to orchestrate efforts to help communities participate in our evolving education system and the economy. I'll do this through the following: Create Partnerships with individuals and organizations to help everyone evolve, increase their value, and the income associated with it. Provide Experiential Learning Opportunities - Apprenticeships and Mentorships (get paid to learn while doing real work) Creating a Community Marketplace. This will be a place to see what you've learned and done. Show others and find ways to make money in the community. It will also come with a social currency that is exchangeable for the US dollar, but is made to trade within the community.

hello-world's People

Contributors

nickbaguley avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

hello-world's Issues

PersonalDNA

Create PersonalDNA profiles for WFS and early adopters.

Mu

package com.evolvesteam.testpersonaldna;

import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Context;
import android.widget.RemoteViews;

/**

  • Implementation of App Widget functionality.
    */
    public class Mu extends AppWidgetProvider {

    @OverRide
    public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
    // There may be multiple widgets active, so update all of them
    final int N = appWidgetIds.length;
    for (int i = 0; i < N; i++) {
    updateAppWidget(context, appWidgetManager, appWidgetIds[i]);
    }
    }

    @OverRide
    public void onEnabled(Context context) {
    // Enter relevant functionality for when the first widget is created
    }

    @OverRide
    public void onDisabled(Context context) {
    // Enter relevant functionality for when the last widget is disabled
    }

    static void updateAppWidget(Context context, AppWidgetManager appWidgetManager,
    int appWidgetId) {

    CharSequence widgetText = context.getString(R.string.appwidget_text);
    // Construct the RemoteViews object
    RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.mu);
    views.setTextViewText(R.id.appwidget_text, widgetText);
    
    // Instruct the widget manager to update the widget
    appWidgetManager.updateAppWidget(appWidgetId, views);
    

Tutorial

Walking through the steps like a good human.

MyEndpoint.java

package com.test.Nick.myapplication.backend;

import com.google.api.server.spi.config.Api;
import com.google.api.server.spi.config.ApiMethod;
import com.google.api.server.spi.config.ApiNamespace;

import javax.inject.Named;

/**

  • An endpoint class we are exposing
    */
    @Api(
    name = "myApi",
    version = "v1",
    namespace = @ApiNamespace(
    ownerDomain = "backend.myapplication.Nick.test.com",
    ownerName = "backend.myapplication.Nick.test.com",
    packagePath = ""
    )
    )
    public class MyEndpoint {

    /**

    • A simple endpoint method that takes a name and says Hi back
      */
      @apimethod(name = "sayHi")
      public MyBean sayHi(@nAmed("name") String name) {
      MyBean response = new MyBean();
      response.setData("Hi, " + name);

      return response;
      }

Function

console.log('Loading function');

exports.handler = function(event, context) {
//console.log('Received event:', JSON.stringify(event, null, 2));
console.log('value1 =', event.key1);
console.log('value2 =', event.key2);
console.log('value3 =', event.key3);
context.succeed(event.key1); // Echo back the first key value
// context.fail('Something went wrong');
};

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.