Skip to content

Instantly share code, notes, and snippets.

View fede1608's full-sized avatar

Federico fede1608

  • Wolox
  • Argentina
View GitHub Profile
@fede1608
fede1608 / wide_deep.py
Last active May 4, 2018 14:26
ML model
# Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@fede1608
fede1608 / startMinecraftServer.sh
Created January 10, 2017 18:45
Minecraft Server No Console Start Script
#!/bin/bash
# /etc/init.d/minecraft
# version 0.4.0 2015-04-20 (YYYY-MM-DD)
#
### BEGIN INIT INFO
# Provides: minecraft
# Required-Start: $local_fs $remote_fs screen-cleanup
# Required-Stop: $local_fs $remote_fs
# Should-Start: $network
# Should-Stop: $network
@fede1608
fede1608 / megaBackupScript.sh
Last active January 10, 2017 16:51
Mega Backup Script
#!/bin/bash
#http://www.matteomattei.com/backup-your-server-on-mega-co-nz-using-megatools/
#https://juncotic.com/megafuse-realizando-backups-mega-linux/
#Crontab entry
#0 4 * * 0,2,4,6 /root/.scripts/megaBackupScript.sh 2>&1|tee -a /root/.scripts/megaBackupScript.log
SERVER=""
BACKUPS_LIMIT=7
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.v7.widget.CardView
android:id="@+id/sell_your_stuff_card"
@fede1608
fede1608 / bluetooth.ino
Last active July 6, 2016 02:22
Arduino Bluetooth
#include <NewPing.h>
#include <Servo.h>
#include <SoftwareSerial.h>
#include <SPI.h>
#include <MFRC522.h>
#define SS_PIN 53
#define RST_PIN 5
@fede1608
fede1608 / Proyecto-SSEE.ino
Last active June 15, 2016 23:50
Proyecto Estacionamiento Sistemas Embebidos
#include <LiquidCrystal.h>
LiquidCrystal lcd(2,3,4,5,6,7,10);
double distancia;
long tiempo;
double prevDist = 0;
void setup(){
Serial.begin(9600);
USE [MIS_GRUPO_02]
GO
DROP TABLE BT_PASAJES
DROP TABLE BT_DESPACHOS
DROP TABLE LK_ESTACION
DROP TABLE LK_LINEA
DROP TABLE LK_TREN
DROP TABLE LK_RANGO
DROP TABLE LK_PERSONA
USE [MIS_GRUPO_02]
GO
/***** CREAR TABLAS *****/
-- Tabla LK Línea
CREATE TABLE LK_LINEA(
SK_LINEA bigint PRIMARY KEY IDENTITY(1,1) NOT NULL,
DESC_LINEA nvarchar(255) NOT NULL
)