Skip to content

Instantly share code, notes, and snippets.

View jalopezsuarez's full-sized avatar

Jose Antonio Lopez jalopezsuarez

View GitHub Profile
@anggadarkprince
anggadarkprince / AppHelper.java
Last active May 2, 2023 22:39
Upload file with Multipart Request Volley Android
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import java.io.ByteArrayOutputStream;
/**
* Sketch Project Studio
* Created by Angga on 12/04/2016 14.27.
*/
public class AppHelper {
@jalopezsuarez
jalopezsuarez / JavaFX NoDecorationTransitions
Created December 28, 2015 15:20
JavaFX NoDecoration/Transitions
package application;
import javafx.application.Application;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
@DaniSagan
DaniSagan / SigpacUtils.java
Last active December 5, 2018 17:17
Utilidades para SigPac
package com.danisagan.sigpacvisor.utils;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import javax.imageio.ImageIO;
import com.danisagan.common.Vec2d;
@nolili
nolili / gist:a583ea045dafafebb17f
Last active June 22, 2020 01:41
Heart Rate Monitor Example(Swift)
import UIKit
import CoreBluetooth
class ViewController: UIViewController, CBCentralManagerDelegate, CBPeripheralDelegate {
let centralManager:CBCentralManager!
var connectingPeripheral:CBPeripheral!
required init(coder aDecoder: NSCoder) {