Skip to content

Instantly share code, notes, and snippets.

Ioan ioanszilagyi

Block or report user

Report or block ioanszilagyi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ioanszilagyi
ioanszilagyi / ESPWebSock.ino
Created Jan 3, 2018 — forked from bbx10/ESPWebSock.ino
ESP8266 Web server with Web Socket to control an LED
View ESPWebSock.ino
/*
* ESP8266 Web server with Web Socket to control an LED.
*
* The web server keeps all clients' LED status up to date and any client may
* turn the LED on or off.
*
* For example, clientA connects and turns the LED on. This changes the word
* "LED" on the web page to the color red. When clientB connects, the word
* "LED" will be red since the server knows the LED is on. When clientB turns
* the LED off, the word LED changes color to black on clientA and clientB web
@ioanszilagyi
ioanszilagyi / remove-docker-containers.md
Created Jul 4, 2017 — forked from ngpestelos/remove-docker-containers.md
How to remove unused Docker containers and images
View remove-docker-containers.md
  1. Delete all containers

     $ docker ps -q -a | xargs docker rm
    

-q prints only the container IDs -a prints all containers

Notice that it uses xargs to issue a remove container command for each container ID

  1. Delete all untagged images
@ioanszilagyi
ioanszilagyi / hbase.rest.scanner.filters.md
Created Jan 21, 2017 — forked from stelcheck/hbase.rest.scanner.filters.md
HBase Stargate REST API Scanner Filter Examples
View hbase.rest.scanner.filters.md

Stargate Scanner Filter Examples

Introduction

So yeah... no documentation for the HBase REST API in regards to what should a filter look like...

So I installed Eclipse, got the library, and took some time to find some of the (seemingly) most useful filters you could use. I'm very green at anything regarding HBase, and I hope this will help anyone trying to get started with it.

What I discovered is that basically, attributes of the filter object follow the same naming than in the documentation. For this reason, I have made the link clickable and direct them to the HBase Class documentation attached to it; check for the instantiation argument names, and you will have your attribute list (more or less).

You can’t perform that action at this time.