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
Correctness | |
=========== | |
OnClick | |
------- | |
Summary: onClick method does not exist | |
Priority: 10 / 10 | |
Severity: Error | |
Category: Correctness |
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
public class HashMapStringStringArrayDeserializer implements JsonDeserializer<HashMap<String, String[]>> { | |
@Override | |
public HashMap<String, String[]> deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException { | |
Iterator<Map.Entry<String, JsonElement>> iterator = json.getAsJsonObject().entrySet().iterator(); | |
HashMap<String, String[]> map = new HashMap<>(); | |
while(iterator.hasNext()) { |
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
keytool -list -alias androiddebugkey -keystore ~/.android/debug.keystore -storepass android -keypass android -v |
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
adb shell dumpsys deviceidle enable | |
adb shell dumpsys battery unplug | |
adb shell dumpsys deviceidle step | |
adb shell dumpsys deviceidle force-idle |
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
using System; | |
// To execute C#, please define "static void Main" on a class | |
// named Solution. | |
class Solution | |
{ | |
static void Main(string[] args) | |
{ | |
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
/* | |
-- WORK for SQL Server 2005 or later | |
*/ | |
Use MinhaVida -- CHANGE THE TARGET DBNAME HERE | |
GO | |
--Look for Duplicated index == Indexes with exact same columns | |
-- e.g. Ix1(col1, col2, col3) and Ix2(col1, col2) would be considered duplicate indexes. | |
SELECT '==== Duplicate indexes ====' |
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
-- WORK for SQL Server 2005 or later | |
-- Unused Index Script | |
-- Original Author: Pinal Dave (C) 2011 | |
-- http://blog.sqlauthority.com | |
SELECT TOP 30 |
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
-- WORK for SQL Server 2005 or later | |
-- Unused Index Script | |
-- Original Author: Pinal Dave (C) 2011 | |
-- http://blog.sqlauthority.com | |
SELECT TOP 30 |
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
EXEC sp_depends N'TableName' |