This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vector2D = {} | |
function Vector2D:new(x, y) | |
local object = { x = x, y = y } | |
setmetatable(object, { __index = Vector2D }) | |
return object | |
end | |
function Vector2D:copy() | |
return Vector2D:new(self.x, self.y) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// API access key from Google API's Console | |
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
$registrationIds = array( $_GET['id'] ); | |
// prep the bundle | |
$msg = array |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.test.rootchecker; | |
import java.io.File; | |
import java.util.List; | |
import java.util.Map; | |
import android.content.Context; | |
import android.content.pm.ApplicationInfo; | |
public class RootChecker { |