Skip to content

Instantly share code, notes, and snippets.

@xenon92
xenon92 / privacy_policy.md
Last active January 13, 2024 18:01
Dreaming Battery

No personally identifiable data is needed by the application and no such data is collected.

@xenon92
xenon92 / delete_all_records.js
Created April 2, 2020 09:32
DynamoDB - Delete all records from a table
const AWS = require("aws-sdk"); //AWS SDK
//AWS configuraton
AWS.config.update({
region: 'us-east-2'
});
//DynamoDb client
let docClient = new AWS.DynamoDB.DocumentClient();
/**************************************************************/
@xenon92
xenon92 / index.js
Created July 6, 2019 20:30
Simple Moment Validations (Nodejs)
"use strict"
const moment = require('moment')
class MomentValidations {
constructor(dateTimeString) {
this.dateTimeString = dateTimeString
}
isUtc() {
@xenon92
xenon92 / README.md
Last active July 7, 2017 10:48
Patches to Paranoid Android for Samsung Galaxy Grand Duos GT-i9082

Paranoid Android

Patches (android Kitkat)

####Samsung Galaxy Grand Duos GT-i9082

  • The path of the patch is mentioned in the file name of the patch
  • Patch to "vendor/pa" is redundant now as this commit as been merged in the Paranoid Android Legacy repository upstream
@xenon92
xenon92 / guidelines.md
Last active July 7, 2017 10:48
Guidelines for Android Source Compilation

Guidelines for Android Source Compilation

In this post, I'll share what "should" be done and what "shouldn't" be done and the reason of this post.

If you want your ROM to succeed, you need to think about 2 types of people.

@xenon92
xenon92 / steps_to_translate_strings.md
Last active July 7, 2017 10:47
Steps to Translate Resurrection Tools
@xenon92
xenon92 / fix_SystemUI_autobrightness.patch
Last active June 17, 2017 15:59
Patch for Carbon ROM KitKat 4.4.2 to fix SystemUI FC on tapping settings gear for autobrightness (frameworks/base)
From 1a1885957db9200be7f4d4e9dfaa84c88b6565c6 Mon Sep 17 00:00:00 2001
From: Shubhang <shubhang92@gmail.com>
Date: Tue, 31 Dec 2013 14:41:27 +0530
Subject: [PATCH] fb: fix SystemUI crash on autobrightness settings
Change-Id: I8bf4b8296c7d4d92d7e262c33371e2befbf04022
---
.../SystemUI/src/com/android/systemui/settings/BrightnessDialog.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@xenon92
xenon92 / device_maintainers_instructions.md
Last active October 4, 2016 01:46
Instructions to device maintainers

Resurrection Remix ROM

Instructions to Device Maintainers

If you want your device and name to be added in the list of devices on our website, as well as in the device maintainers list (Resurrections Tools > About Resurrection Remix > Maintainers), follow these instructions.

@xenon92
xenon92 / fix_vibration_s2vep_rr_kk.patch
Last active January 4, 2016 16:19
Patch frameworks/base rebased on Resurrection Remix Kitkat to fix vibration on Galaxy S2 Plus - credits to beastaki23 at XDA
diff --git a/services/java/com/android/server/VibratorService.java b/services/java/com/android/server/VibratorService.java
index 64fffb7..581af0c 100644
--- a/services/java/com/android/server/VibratorService.java
+++ b/services/java/com/android/server/VibratorService.java
@@ -1,18 +1,18 @@
/*
- * Copyright (C) 2008 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
@xenon92
xenon92 / RR_changelog.md
Last active January 4, 2016 02:39
Official Resurrection Remix Kitkat Changelog