Tag Archives: 2016

CGTune – settings on the fly to CGMiner.

This website come with one program how make changes to the CGMiner settings on the fly without shutting down and restarting the application. Just put on CGMiner folder then add  the following command line parameters to CGMiner .bat file  –api-listen –api-allow W:127.0.0.1.
To make settings just open one terminal and use the next commands.
Caution: Some settings permanently affect the operation of the video card.  CGTune requires that all commands parameters use two dashes.

Command Line Parameters

–version
–config
–summary
–pools
–devs
–gpu [a]
–pga [a]
–cpu [a]
–gpucount
–pgacount
–cpucount
–switchpool [a]
–enablepool [a]
–disablepool [a]
–gpu-enable [a]
–gpu-disable [a]
–gpu-restart [a]
–gpu-intensity [a,b]
–gpu-memclock [a,b]
–gpu-engine [a,b]
–gpu-fan [a,b]
–gpu-vddc [a,b]
–quit
–notify
–pgaenable [a]
–pgadisable [a]
–pgaidentify [a]
–devdetails
–restart
–stats
–coin
Display CGMiner and API version information
Display CGMiner configuration settings
Display CGMiner miner summary
Display status of each pool
Display GPU, PGA and CPU with their details
Display GPU [a] information, where a = 0, 1, etc.
Display PGA [a] information, where a = 0, 1, etc.
Display CPU [a] information, where a = 0, 1, etc.
Count number of GPUs
Count number of PGAs
Count number of CPUs
Switches to pool [a]
Enables pool [a]
Disables pool [a]
Enables GPU [a]
Disables GPU [a]
Sends a restart request to GPU [a]
Sets the intensity on GPU [a] at [b] intensity
Sets the memory clock on GPU [a] at [b] MHz
Sets the GPU engine on GPU [a] at [b] MHz
Sets the GPU fan speed on GPU [a] at [b] percentage
Sets the GPU voltage on GPU [a] at [b] volts
Tells CGMiner to shut down
Display last status / history count of each problem
Enables PGA [a]
Disables PGA [a]
Flashes PGA [a] (if supported)
Display device with a list of their static details
Restart CGMiner
Display device and pool statistics
Display coin mining information

 

Posted in 3D, All, Commands, Windows 10. Tagged with , , , , .

WebRTC – First steps – part 001.

The official website tells us:
WebRTC is a free, open project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
First I will come with one simple example into this tutorial.
Will make one webcam into webpage.
Make one index.html file and add this source code:
Continue reading

Posted in All, HTML 5, javascript, Programming, web. Tagged with , , , , , , , .

PasteAll website like tool.

The pasteall.org is a great tool to share and work with your team.
The base link – pasteall.org come with options to share source code from many progamming language.
Also you can share blend files from Blender 3D and Images.
Another feature for you is irc chat. You can join into freenode – channel blendercoders.
After you put the content into this website you can submit it to web.
The result will be one link and this will be the source of sharing process.

Posted in All, web. Tagged with , , .

Add your Blogger Sitemap To Google Webmaster Tools.

If you want to submit blogger sitemap to Google in terms of SEO which tells Google about your blog and its content then follow this steps:

  • Sign in to Google Webmaster Tools;
  • Click on the blog title for which you want to add sitemap;
  • Click on Sitemaps button to add your blogspot;
  • At the top right corner of the page, press Add/Test sitemap button add after your blog this line:

      atom.xml?redirect=false&start-index=1&max-results=100

Then you can use “Submit Sitemap” button to add this.
You can test the result with this Test Sitemap button.

Posted in All, web. Tagged with , , , .

Find and parse folders and files with tree and Findstr windows command.

This tutorial is about the most great commands and useful under Windows OS.
If you know the grep command from linux and something about using regular expressions then will be more easy.
This link is about Findstr and this link is about Tree command.
The base of this tutorial is how to deal with this commands.
The first step is understanding how is working.
First the tree command will make on screen the structure of a path.
Next command Findstr will make the searches for patterns of text in files using regular expressions.
About regular expressions then you may know is hard to understanding well, because come with many pattents but will show you how to make it.
The base of the command I make it will me this:
tree /f /a | findstr /ri /c:
This will get the output of the tree and will parse with this options: /ri /c: .
/r : Uses search strings as regular expressions. Findstr interprets all metacharacters as regular expressions unless you use /l.
/i : Specifies that the search is not to be case-sensitive.
/c: string : Uses specified text as a literal search string.

The next step is to use the string for regular expressions by adding after /c: this “”.
For example I will used my Python27 folder to test it with this command:
C:\Python27>tree /f /a | findstr /ri /c:"python"
| python.exe
| python27.dll
| pythonw.exe
| tutoriale_python.txt
| python278.chm
| Python-ast.h
| Python.h
| pythonrun.h
| | test_python_api.py
| | | python.gif
| | | pythoncom.py
| | | pythoncom.pyc
...

You can see the output of the tree is parsed and the result is anything has the string: python.
You can parse all output of tree command with regex pattern is expressed in bytes, like:
tree /f /a | findstr /ri /c:"[a-zA-Z0-9_]"
Another example is to find all executable files into folder:
tree /f /a | findstr /ri /c:"\.exe$"
I used this to see what python files come with python modules I need:
C:\Python27>tree /f /a | findstr /ri /c:"import sys" /c:"import os" *.py
get-pip.py:import os.path
get-pip.py:import sys
goo_test001.py:import os
goo_test001.py:import sys

All rules about regular expression can be found here- Regular expression operations

Posted in All, Commands, Windows 10. Tagged with , , .