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
| public class Main implements IXposedHookInitPackageResources { | |
| @Override | |
| public void handleInitPackageResources(final XC_InitPackageResources.InitPackageResourcesParam initPackageResourcesParam) throws Throwable { | |
| if(initPackageResourcesParam.packageName.equals("com.android.settings")){ | |
| initPackageResourcesParam.res.hookLayout(initPackageResourcesParam.packageName, "layout", "dashboard_tile", new XC_LayoutInflated() { | |
| @Override | |
| public void handleLayoutInflated(LayoutInflatedParam liparam) throws Throwable { | |
| ImageView icon = (ImageView) liparam.view.findViewById(liparam.res.getIdentifier("icon", "id","com.android.settings")); | |
| icon.setColorFilter(Color.RED); | |
| } |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Vue.js Test</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> | |
| <script src="http://vuejs.org/js/vue.min.js"></script> | |
| </head> | |
| <body> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>ColorBlind helper</title> | |
| <meta charset="UTF-8"> | |
| <style type="text/css"> | |
| canvas{ | |
| border: 1px solid black; | |
| display: block; |
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
| $steamurl = "http://steamcommunity.com/groups/gignlv"; | |
| //tas arī viss kas jākonfigurē | |
| $xml = file_get_contents($steamurl.'/memberslistxml/'); | |
| if(strpos($xml,'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01')===FALSE){ | |
| $parsed = simplexml_load_string($xml); | |
| echo "Grupa: ".$parsed->groupDetails->groupName."<br/>"; | |
| echo "<img src=".$parsed->groupDetails->avatarFull."><br/>"; | |
| echo "Headline: ".$parsed->groupDetails->headline."<br/>"; | |
| //echo "Apraksts: ".$parsed->groupDetails->summary."<br/>"; |