Skip to content

Instantly share code, notes, and snippets.

View RafaelAPB's full-sized avatar
🎯
Focusing

Rafael Belchior RafaelAPB

🎯
Focusing
View GitHub Profile
public class Cat () {
private String name;
private int age;
private double weight;
public Cat (String name, int age, double weight) {
this.name = name;
this.age = age;
/* estrutura lista de tarefas*/
typedef struct lst_tar {
tarefa atual;
tarefa* next;
} l_tarefas;
/* estrutura tarefa */
typedef struct {
const express = require('express');
const path = require('path');
const bodyParser = require('body-parser');
const passport = require('passport');
const mongoose = require('mongoose');
const morgan = require('morgan');
const logger = require('./server/log/logger');
const fs = require('fs');
const helmet = require('helmet');
@RafaelAPB
RafaelAPB / json
Created January 7, 2018 19:45
Example of package.json
"name": "gce",
"version": "1.0.0",
"description": "mean-base",
"main": "gce.js",
"scripts": {
},
"dependencies": {
"body-parser": "^1.17.2",
"express": "^4.15.4",
"helmet": "^3.9.0",
<head>
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML,CSS,JavaScript">
<meta name="author" content="John Doe">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
invalid message received from https://www.tsugicloud.org tsugiscripts.js:165
{target: "inpage", data: {…}}data: {name: "publicConfig", data: {…}}target: "inpage"__proto__: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()get __proto__: ƒ __proto__()set __proto__: ƒ __proto__() tsugiscripts.js:166 Exception: SyntaxError: Unexpected token o in JSON at position 1
Calling updateNumbers maint?PHPSESSID=75j9fs7i9he38guhjtfe2ukrk8:
{total: "71"}total: "71"__proto__: Object maint?PHPSESSID=75j9fs7i9he38guhjtfe2ukrk8:240
Calling updateNumbers
...
#Initializations
iterations = []
distance = []
n = 5000
#Stores
P_3 = [np.identity(nX) for i in range(nA)]
C = np.zeros([nX, nA])
Q = np.zeros([nX, nA])
N = np.zeros([nX, nA])
#Initializations
iterations = []
distance = []
n = 5000
#Stores
P_3 = [np.identity(nX) for i in range(nA)]
C = np.zeros([nX, nA])
Q = np.zeros([nX, nA])
N = np.zeros([nX, nA])
git clone --bare https://github.com/hyperledger/caliper.git
cd caliper.git
git push --mirror https://github.com/USERNAME/CALIPER-PRIVATE-REPO.git
cd ..
rm -rf caliper.git
{
"engines":{
"composer":"^0.20.0"
},
"name":"my-network",
"version":"0.2.6-deploy.1",
... ETC