https://www.teamviewer.com/en/download/mobile-app.aspx
Thursday, December 31, 2015
Thursday, December 24, 2015
Monday, December 21, 2015
CPU time vs real time
CPU time is hugely different form real time.
CPU time is how much time something spent on the CPUs, while real time is what you and I experience as humans.
Think about this: assume you have the same job running over the same data but on one 20 node cluster, then a 200 node cluster. Overall, the same amount of CPU time will be used on both clusters, but the 200 node cluster will run 10x faster in real time.
CPU time is a useful metric when you have a shared system with lots of jobs running on it at the same time.
CPU time is how much time something spent on the CPUs, while real time is what you and I experience as humans.
Think about this: assume you have the same job running over the same data but on one 20 node cluster, then a 200 node cluster. Overall, the same amount of CPU time will be used on both clusters, but the 200 node cluster will run 10x faster in real time.
CPU time is a useful metric when you have a shared system with lots of jobs running on it at the same time.
CPU time
The CPU time you are seeing there is of the entire map phase and the entire reduce phase... not just the function itself.
This is kind of confusing terminology because you have the map function and reduce function, which are only a portion of the map phase and reduce phase.
This is the total CPU time across all of the nodes in the cluster.
This is kind of confusing terminology because you have the map function and reduce function, which are only a portion of the map phase and reduce phase.
This is the total CPU time across all of the nodes in the cluster.
Sunday, December 20, 2015
Saturday, December 19, 2015
Thursday, December 17, 2015
How do I change my default search country
Click the Chrome Menu ≡ in upper right corner
Go to Settings
Under 'Search', click the 'Manage search engines...' button
If your default is Google, click on it and update the URL to end in the country of your choice i.e.
http://www.google.co.uk/search?q=%s
Click 'Done'
ip route show | grep -i 'default via'| awk '{print $3 }'
ip route show | grep -i 'default via'| awk '{print $3 }'
Tuesday, December 15, 2015
Monday, December 14, 2015
Sunday, December 13, 2015
0755 vs 0750
0755 = User:rwx Group:r-x World:r-x
0750 = User:rwx Group:r-x World:--- (i.e. World: no access)
r = read
w = write
x = execute (traverse for directories)
0750 = User:rwx Group:r-x World:--- (i.e. World: no access)
r = read
w = write
x = execute (traverse for directories)
file permission
Read Write Modify
sudo chmod 777 -R /home/youruser
Write
sudo chmod -R 666 /home/youruser
sudo chmod 777 -R /home/youruser
Write
sudo chmod -R 666 /home/youruser
VirtualBox 5.0.2
lsb_release -c
$ sudo gedit /etc/apt/sources.list
For Ubuntu 15.04 ("Vivid")
deb http://download.virtualbox.org/virtualbox/debian vivid contrib
$ wget http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
$ sudo apt-key add oracle_vbox.asc
$ sudo apt-get update
$ sudo apt-get install virtualbox-5.0
$ virtualbox
Saturday, December 12, 2015
Unknown keyword in configuration file. Ubuntu USB Boot
sys;linux 3.63 bebiann -2008 -07 15 bias copyright c 1994 2008 h peter anvin missing parameter in configuration file unknown keyword in configuration file boot
-@-:~$ sudo mv /usr/bin/syslinux-legacy /usr/bin/syslinux-legacy.bak
-@-:~$ sudo ln -s /usr/bin/syslinux /usr/bin/syslinux-legacy
-@-:~$ sudo mv /usr/bin/syslinux-legacy /usr/bin/syslinux-legacy.bak
-@-:~$ sudo ln -s /usr/bin/syslinux /usr/bin/syslinux-legacy
virtualbox-3.2
gksudo gedit /etc/apt/sources.list:
deb http://download.virtualbox.org/virtualbox/debian lucid non-free
deb http://download.virtualbox.org/virtualbox/debian karmic non-free
deb http://download.virtualbox.org/virtualbox/debian jaunty non-free
deb http://download.virtualbox.org/virtualbox/debian intrepid non-free
deb http://download.virtualbox.org/virtualbox/debian hardy non-free
deb http://download.virtualbox.org/virtualbox/debian squeeze non-free
deb http://download.virtualbox.org/virtualbox/debian lenny non-free
deb http://download.virtualbox.org/virtualbox/debian etch non-free
Add the verification key, type this command :
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-3.2
Virtualbox - kernel driver no installed
Follow your petition :
sudo apt-get install kernel-package
sudo apt-get install linux-source
sudo apt-get remove virtualbox-ose-modules*
sudo apt-get purge virtualbox-ose-modules*
sudo apt-get install virtualbox-ose-modules-`uname -r`
sudo /etc/init.d/vboxdrv setup
virtualbox debian virtualbox-4.3
gksudo gedit /etc/apt/sources.list Add the following line Add one of the following lines according to your distribution to your /etc/apt/sources.list: deb http://download.virtualbox.org/virtualbox/debian oneiric contrib deb http://download.virtualbox.org/virtualbox/debian natty contrib deb http://download.virtualbox.org/virtualbox/debian maverick contrib non-free deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free deb http://download.virtualbox.org/virtualbox/debian karmic contrib non-free deb http://download.virtualbox.org/virtualbox/debian hardy contrib non-free deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free deb http://download.virtualbox.org/virtualbox/debian lenny contrib non-free wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - sudo apt-get update sudo apt-get install virtualbox-4.1 sudo apt-get install virtualbox-4.3 sudo apt-get install dkms
Thursday, December 10, 2015
vmware
gksudo bash ~/Downloads/VMware-Player-7*
chmod +x ~/Downloads/VMware-Player
VMware-Player-7.1.0-2496824.x86_64.bundle
vmware
https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/7_0|PLAYER-710|product_downloads
computers connected to a network
sudo apt-get install arp-scan
sudo arp-scan -l --interface=wlan0
sudo arp-scan -l --interface=eth0
Monday, December 7, 2015
Sunday, December 6, 2015
Saturday, December 5, 2015
java-6-sun
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk
export JAVA_HOME=/usr/lib/jvm/java-6-sun
echo $JAVA_HOME
sudo apt-get update
sudo apt-get install sun-java6-jdk
export JAVA_HOME=/usr/lib/jvm/java-6-sun
echo $JAVA_HOME
Thursday, December 3, 2015
installs JDK 7
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
# or if you want JDK 8:
# sudo apt-get install oracle-java8-installer
# these commands install Oracle JDK7/8 and set them as default VMs automatically:
# sudo apt-get install oracle-java7-set-default
# sudo apt-get install oracle-java8-set-default
Safari using Wine
# install wine
sudo apt-get install -y wine
# create download and build directory
mkdir -p ~/build/safari
cd ~/build/safari
# download
wget http://appldnld.apple.com/Safari5/041-5487.20120509.INU8B/SafariSetup.exe
# wine
wine SafariSetup.exe
Flash Chrome Ubuntu 10.04
sudo apt-get install chromium-browser flashplugin-nonfree
sudo cp /usr/lib/flashplugin-installer/libflashplayer.so /usr/lib/chromium-browser/plugins/
Restart
cat /proc/cpuinfo | grep sse2
Wednesday, December 2, 2015
Monday, November 30, 2015
Tuesday, October 27, 2015
Add
protected void Button3_Click(object sender, EventArgs e)
{
int a = Convert.ToInt32(TextBox1.Text.ToString());
int b = Convert.ToInt32(TextBox2.Text.ToString());
int sum = AddNumbers(a, b);
Label1.Text = sum.ToString();
}
public int AddNumbers(int number1, int number2)
{
int result = number1 + number2;
//if (result > 0)
//{
// return result;
//}
//return 0;
return result;
}
Tuesday, October 20, 2015
Monday, October 5, 2015
Tuesday, September 22, 2015
Friday, September 18, 2015
chrome_quick_start
Solve the problem chrome://quick_start/content/index.html
1- Inside Box Title: about:config
2- Find: browser.newtab.url
3- Change it to: about:newtab
Sunday, August 30, 2015
fiber food
Foods that contain the most fiber are:
Fruits: pears, apples, berries, oranges, tangerines
Vegetables: broccoli, Brussels sprouts, carrots, squash, potatoes
Legumes: beans, lentils, peas
Grains: whole-wheat breads, brown rice, bran, oatmeal
Nuts and seeds: almonds, peanuts, sunflower seeds, walnuts
Fruits: pears, apples, berries, oranges, tangerines
Vegetables: broccoli, Brussels sprouts, carrots, squash, potatoes
Legumes: beans, lentils, peas
Grains: whole-wheat breads, brown rice, bran, oatmeal
Nuts and seeds: almonds, peanuts, sunflower seeds, walnuts
Wednesday, August 26, 2015
Monday, August 24, 2015
Friday, July 10, 2015
Tuesday, July 7, 2015
where java
C:\Users\name>where java
C:\ProgramData\Oracle\Java\javapath\java.exe
C:\Windows\System32\java.exe
C:\Program Files\Java\jre1.8.0_25\bin\java.exe
C:\ProgramData\Oracle\Java\javapath\java.exe
C:\Windows\System32\java.exe
C:\Program Files\Java\jre1.8.0_25\bin\java.exe
Friday, July 3, 2015
Sunday, June 28, 2015
Friday, June 26, 2015
image tag
Tag -> Required -> Description
< image:image> Yes Encloses all information about a single image. Each URL ( tag) can include up to 1,000 tags.
< image:loc> Yes The URL of the image.
< image:caption> Optional The caption of the image.
< image:geo_location> Optional The geographic location of the image. For example,
< image:geo_location>Limerick, Ireland.
< image:title> Optional The title of the image.
< image:license> Optional A URL to the license of the image.
< image:image> Yes Encloses all information about a single image. Each URL (
< image:loc> Yes The URL of the image.
< image:caption> Optional The caption of the image.
< image:geo_location> Optional The geographic location of the image. For example,
< image:geo_location>Limerick, Ireland.
< image:title> Optional The title of the image.
< image:license> Optional A URL to the license of the image.
10 ways to show you're a programming rockstar
10 ways to show you're a programming rockstar
It seems nowadays that programmers are a dime a dozen, but how do you pick the best programmers from the rest of the crowd.
It's not just about coding (although that is a big factor). It's about building your skill set over the years and nurturing them so you can stand out from the programming "collective."
What characteristics makes them stand out? Are they easy to get along with? How long have they been programming? Are they teaching you things you never knew were possible? Here's how to find out if you are a programming rock stars!
#. Master your language and tools. Whether it's Visual Studio, Eclipse, or even Aptana, your programming tools should be second nature to you when developing that next web application. Just like a plumber or carpenter, if you don't have the proper tools, you won't get the job done right.
#. Enhance your tools and environment. With that said, even though you've mastered your tools, always strive to find ways to enhance your environment. This may include plug-ins to Visual Studio or Eclipse or a code generation tool that works along side your environment. If you're not looking for better ways to enhance your productivity, you may be working yourself into an early grave.
#. Research new technologies. While your primary language may do everything you need, make time to research your craft and experiment with new frameworks that wrap around your existing technologies. For example, while programming in web forms with C#, I heard about a new framework from Microsoft called MVC. Since I've started working with MVC, I've been programming in MVC for more than 2 years now and I haven't looked back or regretted my decision since.
#. Leverage your existing code you wrote. Programmers who write code and then immediately disregard it are missing out on the most exceptional tip on this list: start building your library of routines and techniques. If you are in a corporate environment, yes, you will have a corporate library to pull from for your projects. If you are an individual programmer, yes, you will have your own collection of routines or libraries that you can use in your "outside" projects. As the object-oriented saying goes, the routines are reusable.
#. Automate like crazy. If you've been around the programming block for a while, you know that there are always quicker ways to accomplish certain tasks. It's now getting to the point in this industry where if someone asks you for a web site, you can build one relatively quick. Then they start asking for features. It's the features part that makes the difference and slows you down.
#. Perform proper analysis. New developers always shoot first (start coding) and ask questions later. Take the time to analyze the project and ask as many questions as you can. The more questions you ask upfront, the better your ability to complete a more thorough and clear design of your application.
#. Perform Unit Testing. Along with preceding your coding with proper analysis, always finish your coding by performing unit tests. This not only tests the quality of your code but will also let you know when your system fails on regression testing. Unit Testing should be the "checks and balances" of your programming.
#. Extend your reach. Most developers keep to their code and that's all they do. Break out of your comfort zone and read up on usability studies, how to document your code better, and/or using better design techniques. Expanding your skills into other areas will do three things: 1. Make you more visible to other people; 2. Make you more valuable to others because of your thirst for knowledge; and 3. Provide you with more opportunities than just programming.
#. Communicate effectively. This is in regards to project management, coding, documentation, and impromptu meetings. If you can't explain an extremely awesome cool coding technique to your peers or communicate why a particular feature shouldn't be in the project to a project manager because of a time constraint, you may need to work on your verbal skills instead of your coding skills.
#. Make time to assist others. You will seem as a definite team player by taking the time to help a fellow programmer in need. Help them understand a new concept or technique that is unclear to them and they will be grateful for the help and see you as a definite resource and go to guy.
It seems nowadays that programmers are a dime a dozen, but how do you pick the best programmers from the rest of the crowd.
It's not just about coding (although that is a big factor). It's about building your skill set over the years and nurturing them so you can stand out from the programming "collective."
What characteristics makes them stand out? Are they easy to get along with? How long have they been programming? Are they teaching you things you never knew were possible? Here's how to find out if you are a programming rock stars!
#. Master your language and tools. Whether it's Visual Studio, Eclipse, or even Aptana, your programming tools should be second nature to you when developing that next web application. Just like a plumber or carpenter, if you don't have the proper tools, you won't get the job done right.
#. Enhance your tools and environment. With that said, even though you've mastered your tools, always strive to find ways to enhance your environment. This may include plug-ins to Visual Studio or Eclipse or a code generation tool that works along side your environment. If you're not looking for better ways to enhance your productivity, you may be working yourself into an early grave.
#. Research new technologies. While your primary language may do everything you need, make time to research your craft and experiment with new frameworks that wrap around your existing technologies. For example, while programming in web forms with C#, I heard about a new framework from Microsoft called MVC. Since I've started working with MVC, I've been programming in MVC for more than 2 years now and I haven't looked back or regretted my decision since.
#. Leverage your existing code you wrote. Programmers who write code and then immediately disregard it are missing out on the most exceptional tip on this list: start building your library of routines and techniques. If you are in a corporate environment, yes, you will have a corporate library to pull from for your projects. If you are an individual programmer, yes, you will have your own collection of routines or libraries that you can use in your "outside" projects. As the object-oriented saying goes, the routines are reusable.
#. Automate like crazy. If you've been around the programming block for a while, you know that there are always quicker ways to accomplish certain tasks. It's now getting to the point in this industry where if someone asks you for a web site, you can build one relatively quick. Then they start asking for features. It's the features part that makes the difference and slows you down.
#. Perform proper analysis. New developers always shoot first (start coding) and ask questions later. Take the time to analyze the project and ask as many questions as you can. The more questions you ask upfront, the better your ability to complete a more thorough and clear design of your application.
#. Perform Unit Testing. Along with preceding your coding with proper analysis, always finish your coding by performing unit tests. This not only tests the quality of your code but will also let you know when your system fails on regression testing. Unit Testing should be the "checks and balances" of your programming.
#. Extend your reach. Most developers keep to their code and that's all they do. Break out of your comfort zone and read up on usability studies, how to document your code better, and/or using better design techniques. Expanding your skills into other areas will do three things: 1. Make you more visible to other people; 2. Make you more valuable to others because of your thirst for knowledge; and 3. Provide you with more opportunities than just programming.
#. Communicate effectively. This is in regards to project management, coding, documentation, and impromptu meetings. If you can't explain an extremely awesome cool coding technique to your peers or communicate why a particular feature shouldn't be in the project to a project manager because of a time constraint, you may need to work on your verbal skills instead of your coding skills.
#. Make time to assist others. You will seem as a definite team player by taking the time to help a fellow programmer in need. Help them understand a new concept or technique that is unclear to them and they will be grateful for the help and see you as a definite resource and go to guy.
You fill up my senses
You fill up my senses
Like a night in a forest
Like the mountains in springtime
Like a walk in the rain
Like a storm in the desert
Like a sleepy blue ocean
You fill up my senses
Come fill me again
Come let me love you
Let me give my life to you
Let me drown in your laughter
Let me die in your arms
Let me lay down beside you
Let me always be with you
Come let me love you
Come love me again
You fill up my senses
Like a night in a forest
Like the mountains in springtime
Like a walk in the rain
Like a storm in the desert
Like a sleepy blue ocean
You fill up my senses
Come fill me again
-- Sourov
Like a night in a forest
Like the mountains in springtime
Like a walk in the rain
Like a storm in the desert
Like a sleepy blue ocean
You fill up my senses
Come fill me again
Come let me love you
Let me give my life to you
Let me drown in your laughter
Let me die in your arms
Let me lay down beside you
Let me always be with you
Come let me love you
Come love me again
You fill up my senses
Like a night in a forest
Like the mountains in springtime
Like a walk in the rain
Like a storm in the desert
Like a sleepy blue ocean
You fill up my senses
Come fill me again
-- Sourov
Programming domain
A programming domain defines a specific kind of use for a programming language.
1. Some examples of programming domains are:
2. General purpose applications
3. Rapid software prototyping
4. Financial time series analysis
5. Natural language processing
6. Artificial intelligence reasoning
7. Expert systems
8. Relational database querying
9. Theorem proving
10. Systems design and implementation
11. Application scripting
12. Domain-specific applications
13. Programming education
14. Internet
15. Symbolic mathematics
16. Numerical mathematics
17. Statistical applications
18. Text processing
19. Matrix algorithms
1. Some examples of programming domains are:
2. General purpose applications
3. Rapid software prototyping
4. Financial time series analysis
5. Natural language processing
6. Artificial intelligence reasoning
7. Expert systems
8. Relational database querying
9. Theorem proving
10. Systems design and implementation
11. Application scripting
12. Domain-specific applications
13. Programming education
14. Internet
15. Symbolic mathematics
16. Numerical mathematics
17. Statistical applications
18. Text processing
19. Matrix algorithms
California
Subscribe to:
Posts (Atom)