Skip to content

Instantly share code, notes, and snippets.

Yannick de Jong Yannicked

Block or report user

Report or block Yannicked

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
View beacon.java
public class RangingActivity extends Activity implements BeaconConsumer {
protected static final String TAG = "RangingActivity";
private BeaconManager beaconManager;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_ranging);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
@Yannicked
Yannicked / GlobalKeypress.cpp
Last active Mar 16, 2016
Sample windows keyboard capturing
View GlobalKeypress.cpp
// GlobalKeypress.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
#include "GlobalKeypress.h"
#include <iostream>
void CALLBACK dllcallback(DWORD keycode);
typedef void CALLBACK CallbackFunc(DWORD);
You can’t perform that action at this time.