Skip to content

Instantly share code, notes, and snippets.

View GreyHat147's full-sized avatar
🔮
Coding

gr3yhat GreyHat147

🔮
Coding
View GitHub Profile
@GreyHat147
GreyHat147 / README.txt
Created June 27, 2022 23:55
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
REMIX DEFAULT WORKSPACE
Remix default workspace is present when:
i. Remix loads for the very first time
ii. A new workspace is created
iii. There are no files existing in the File Explorer
This workspace contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:promociones/pages/login_signup_page.dart';
import './home_page.dart';
import 'package:promociones/services/authentication.dart';
import './nearme.dart';
import './notification.dart';
import './wallet.dart';
import '../modals/MyRewards.dart';
import './map_page.dart';
import 'dart:async';
import 'package:flutter/cupertino.dart';
import 'package:flutter/services.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'package:location/location.dart';
import '../services/promotion.dart';
class MapPage extends StatefulWidget {
@override
State<StatefulWidget> createState() => new _MapPageState();
@GreyHat147
GreyHat147 / gist:8ff5c1f609aef48ff6c7108e4618f3ae
Created February 28, 2019 19:48
Estructura menu Sidebar
[
{
'title': 'Localizacion Inteligente',
'icon': 'place',
'subMenu': [
{
'title': 'Uno a Uno',
'icon': 'my_location',
'route': '/geoassisted',
},
city varchar(30),
address varchar(30),
email varchar(100)
);
CREATE TABLE publishments (
id_publish int primary key auto_increment,
vehicle_type char(1),
brand varchar(20),
model varchar(20),
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous">
</head>
<body>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Actividad</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css" integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy" crossorigin="anonymous">
</head>
<body>
<div class="jumbotron jumbotron-fluid">
<div class="container">
/* 16. */
create table empleados_antiguos (
documento varchar(8),
nombre varchar(40)
);
/* 17. */
/*DROP PROCEDURE IF EXISTS empleados_antiguos;*/
CREATE VIEW vista1 as SELECT
socios.nombre as nombresocio,
cursos.deporte,
cursos.dia,
profesores.nombre as nombreprofesor,
inscriptos.matricula
from socios, cursos, profesores, inscriptos
where socios.documento = inscriptos.documentosocio AND profesores.documento = cursos.documentoprofesor;
create database taller;
create table producto(
codigoProducto int(11),
nombre varchar(100),
precio decimal(18, 2)
);
create table venta(
codigoVenta int(11),