Skip to content

Instantly share code, notes, and snippets.

@CellycoMobiles
CellycoMobiles / curl.md
Created October 17, 2019 13:32 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@CellycoMobiles
CellycoMobiles / JavaFXImageConversion.java
Created October 16, 2019 02:15 — forked from jamesthompson/JavaFXImageConversion.java
JavaFX Image from a byte array
import javafx.scene.image.Image;
import javax.imageio.ImageIO;
import java.awt.image.*;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
public Image getJavaFXImage(byte[] rawPixels, int width, int height) {
ByteArrayOutputStream out = new ByteArrayOutputStream();
try {
ImageIO.write((RenderedImage) createBufferedImage(rawPixels, width, height), "png", out);
@CellycoMobiles
CellycoMobiles / AdbCommands
Created September 16, 2019 14:39 — forked from Pulimet/AdbCommands
Adb useful commands list
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell
@CellycoMobiles
CellycoMobiles / README.md
Created August 29, 2019 04:06
Genymotion scripts

Helper scripts for genymotion and android development