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
| ## Solat by Location ## | |
| # Based on API Provided by Malaysia Prayer Time (https://mpt.i906.my/api.html) | |
| # Please change the person sensor (person.zubir) accordingly.. | |
| # Place this code into configuration.yaml | |
| sensor: | |
| - platform: rest | |
| name: "Solat GPS" | |
| scan_interval: 1800 | |
| resource_template: "https://mpt.i906.my/api/prayer/{{ state_attr('person.zubir', 'latitude') ~ ',' ~ state_attr('person.zubir', 'longitude') }}" |
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
| New Methiod to Activate Windows/MS Office 2010/2013/2016/2019 | |
| If you have already intalled MS Office Or Download from bellow link | |
| Download setup file for MS Office Pro Plus 2019 https://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/en-us/ProPlus2019Retail.img | |
| Activate Windows / Office ? | |
| 📌PowerShell Method For Windows 8, 10, 11: | |
| Click the Start Menu, type PowerShell, then open it. | |
| Copy and paste the code below, then press enter. | |
| irm https://get.activated.win | iex |
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
| // EmonLibrary examples openenergymonitor.org, Licence GNU GPL V3 | |
| #include "EmonLib.h" // Include Emon Library | |
| #define VOLT_CAL 148.7 | |
| #define CURRENT_CAL 62.6 | |
| EnergyMonitor emon1; // Create an instance |
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
| #include "FastLED.h" | |
| // FastLED "100-lines-of-code" demo reel, showing just a few | |
| // of the kinds of animation patterns you can quickly and easily | |
| // compose using FastLED. | |
| // | |
| // This example also shows one easy way to define multiple | |
| // animations patterns and have them automatically rotate. | |
| // | |
| // -Mark Kriegsman, December 2014 |
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
| #!/bin/bash | |
| # Automatic install of Thingspeak server on Ubuntu 12.04 / Raspbmc / Debian (?) | |
| # Updated to use ruby 2.1.4 | |
| ## Install required packages | |
| sudo apt-get update | |
| sudo apt-get -y install build-essential git mysql-server mysql-client libmysqlclient-dev libxml2-dev libxslt-dev libssl-dev libsqlite3-dev | |
| ## Install ruby | |
| wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gz |