Posts

Showing posts from June, 2013

Customize the Quartus II tasks flow to run fitter and TimeQuest Timing Analyzer only

This is how you can customize the Quartus II tasks flow to only run fitter and TimeQuest Timing Analyzer without running elaboration and synthesis first. Without this, the tasks flow will not allow you to customize it this way. You have to run fitter manually and run TimeQuest manually after fitter had finish. Steps Copy and paste the Tcl code example below into a text editor.  Save the text file as Tcl script with ".tcl" as extension. Click "Customize" button at the tasks window. Create and new flow based on "none" existing flow. Lets name this flow as "refit". Click Ok and you will be prompt with a customization window. Click the "Tcl Scripts" button located at the bottom left. Name the task name as "refit". Point the Tcl file name to the location of the Tcl script. Click Ok. You will see a knew tasks flow based on Tcl script. Example Tcl code # Place & Route execute_module -tool fit # TimeQuest Timing Analyzer execute_m

Automatically turn on GPS when Waze is running (even when Waze is running in background)

Image
This Tasker profile will automatically turn on my Android device GPS setting whenever Waze is running. I have tweak the Tasker code a little to enable the GPS to remain turned on when Waze is running in the background. This will enable you to receive calls or do other things when Waze is running background without worrying the GPS gets turned off. Apart from Tasker, you will need a rooted Android, "Secure Settings" and "Busy Box" to be installed.  Important notes about Secure Settings In Secure Settings, use Run Command for the action. Use this command to query the state of the Waze app running in the background: cat /proc/$(pgrep com.waze)/oom_adj Check the Output Variable and use "%WAZE_RUN" as the output variable name. Check the Exit Code variable and use "%CMD_EXIT" as the exit code variable name. Note: Make sure you install BusyBox as you will need the "pgrep" program to get the process id of Waze app. Tasker Recipe Profile: Waze

Automatically turn on Auto Sync when connected to WiFi

Image
This Tasker profile automatically turn on my Android device Auto Sync setting when my device is connected to a WiFi network. I find this automation useful as it helped me to save more battery power and 3G data when my Android device is not connected to a WiFi network. Tasker Recipe  Profile: Auto Sync On WiFi (13)  State: Wifi Connected [ SSID:* MAC:* IP:* ] Enter: Auto Sync On (14) A1: Auto-Sync [ Set:On ] Download Tasker Profile

How to set Google Chrome custom proxy server settings independently from Internet Explorer proxy settings

Image
Google Chrome web browser by default uses the system wide proxy server settings. It does not have the user configurable settings to set it's own custom proxy server. That means whenever you change the proxy server settings in Chrome, you are actually changing the proxy settings for Internet Explorer too. To configure Google Chrome web browser a custom proxy server settings, this is what you need to do: Google Chrome program has a command switch "--proxy-server" where you can use it to assign a custom proxy server setting. Right click Google Chrome shortcut. Select "Properties". Append --proxy-server="proxy-server-IP:port-number" at the back of the Google Chrome command string in the "Target" box. If your proxy-server IP is "1.2.3.4" and the port number is "8080", then it should look like this: <path-to-chrome.exe>\chrome.exe --proxy-server="1.2.3.4:8080" . Save it and now the shortcut can be use to run Chr