This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.myfirstapp.android.myfirstmap"> | |
<uses-feature | |
android:glEsVersion="0x00020000" | |
android:required="true" /> | |
<application | |
android:allowBackup="true" |
This file contains 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
//Created by Henrique de Almeida in 05/02/2017 | |
#include "P9-heap.h" | |
//This algorithm heapifies a array using the reheapDown method | |
int main(){ | |
// Local definitions | |
HEAP *heap; | |
int pivot, *temp; |
This file contains 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
import android.app.DatePickerDialog; | |
import android.app.Dialog; | |
import android.app.DialogFragment; | |
import android.os.Bundle; | |
import android.widget.DatePicker; | |
import java.util.Calendar; | |
/** | |
* Created by henriquedealmeida on 21/02/18. |
This file contains 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
// | |
// main.cpp | |
// enigma | |
// | |
// Created by Henrique de Almeida on 27/10/2018. | |
// Copyright © 2018 Henrique de Almeida. All rights reserved. | |
// | |
#include <iostream> |
This file contains 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
// | |
// main.c | |
// fleury_algorithm | |
// | |
// Created by Henrique de Almeida on 10/12/2018. | |
// Copyright © 2018 Henrique de Almeida. All rights reserved. | |
// | |
//Graph | |
//6 9 |
This file contains 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 api = "http://localhost:3001" | |
// Generate a unique token for storing your bookshelf data on the backend server. | |
let token = localStorage.token | |
if (!token) | |
token = localStorage.token = Math.random().toString(36).substr(-8) | |
const headers = { | |
'Authorization': token |
This file contains 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
import sys | |
from sqlalchemy import Column, ForeignKey, Integer, String | |
from sqlalchemy.ext.declarative import declarative_base | |
from sqlalchemy.orm import relationship | |
from sqlalchemy import create_engine | |
Base = declarative_base() | |
This file contains 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
from flask import Flask, render_template, request, redirect, url_for, jsonify | |
from sqlalchemy import create_engine | |
from sqlalchemy.orm import sessionmaker | |
from database_setup import Base, Restaurant, MenuItem | |
app = Flask(__name__) | |
engine = create_engine('sqlite:///restaurantmenu.db') | |
Base.metadata.bind = engine |
This file contains 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
#include <SoftwareSerial.h> | |
SoftwareSerial SIM900(7, 8); | |
String testJSON="{ \"coordinateX\" : 0406, \"coordinateY\" : 1992, }"; | |
void setup() | |
{ | |
Serial.begin(19200); | |
This file contains 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
{ | |
"name": "script", | |
"license": "MIT", | |
"devDependencies": { | |
"nodemon": "^2.0.15" | |
}, | |
"scripts": { | |
"start": "ts-node ./server.ts", | |
"job:remove-old": "ts-node ./scripts/removeOldReports.ts" | |
}, |
OlderNewer