This file contains 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
META-INF/ | |
*.class |
This file contains 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
/** | |
* Generates curl from requests | |
*/ | |
class CurlLoggerInterceptor : Interceptor { | |
private val defaultContentType = Constants.CONTENT_TYPE | |
override fun intercept(chain: Interceptor.Chain): Response { | |
val request = chain.request() |
This file contains 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
class GameObject( | |
model: Model, | |
private val shape: btCollisionShape, | |
mass: Float | |
) : ModelInstance( | |
model | |
), Disposable { | |
// For ray picking | |
val center = Vector3() |
This file contains 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
void CObject3D::ReadGMObject(CFile& file, GMObject& obj) | |
{ | |
file.Read(obj.bounds); | |
int temp; | |
file.Read(temp); | |
obj.opacity = temp != 0; | |
file.Read(temp); | |
obj.bump = temp != 0; | |
file.Read(temp); |
This file contains 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
object EventBus { | |
@OptIn(ExperimentalCoroutinesApi::class) | |
val bus: BroadcastChannel<Any> = ConflatedBroadcastChannel(2) // receive only most recent data | |
@ExperimentalCoroutinesApi | |
fun send(o: Any) = runBlocking { | |
launch { | |
bus.send(o) | |
} | |
} |
This file contains 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
//Rijndael.cpp | |
#include <cstring> | |
#include <exception> | |
#include "StdAfx.h" | |
#include "Rijndael.h" | |
const int CRijndael::sm_alog[256] = | |
{ |
This file contains 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
desc "Add google play changelog" | |
private_lane :add_google_play_changelog do |options| | |
root_changelog = File.read("../CHANGELOG") | |
log = root_changelog.split("##") | |
version_code = options[:version_code] or 0 | |
version_name = options[:version_name] or "" | |
current_log = log[0] | |
if current_log.nil? | |
puts "Invalid: No root changelog found!" | |
else |
This file contains 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
var height = 5; | |
var width = 20; | |
for(var h = 0; h< height; h++) { | |
for(var w = 0; w< width; w++) { | |
if(w> 0 && w < width - 1) { | |
if(h> 0 && h < height - 1) { | |
$('#test').append('_'); | |
} else { | |
$('#test').append('*'); |
This file contains 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
var height = 5; | |
var width = 20; | |
for(var h = 0; h< height; h++) { | |
for(var w = 0; w< width; w++) { | |
if(w> 0 && w < width - 1) { | |
if(h> 0 && h < height - 1) { | |
$('#test').append('_'); | |
} else { | |
$('#test').append('*'); |
This file contains 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
************************************ | |
************************************ | |
< Thu 05/04/2017 -- 0:19:40.99 > | |
java version "1.7.0_71" | |
Java(TM) SE Runtime Environment (build 1.7.0_71-b14) | |
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode) | |
DECOMPILE | |
I: Using Apktool 2.2.2 on MuRagezoneold.apk |
NewerOlder