Welcome to Home.

Showing posts with label Tips & Tricks. Show all posts
Showing posts with label Tips & Tricks. Show all posts

Sunday, October 21, 2018

Realtime noise-removal with PulseAudio? [linux]


I started reading a lot about PulseAudio and "hidden" options it had so I could find one that was similar to this question. The one I found was the noise-cancellation module, which is one that dramatically lowers any static noise on the microphone and even A LOT of the background noise, basically giving you the benefit of only recording your own voice with excellent quality (For audio recording for example). To do this follow this steps:
  1. sudo nano /etc/pulse/default.pa
  2. Add the following line anywhere on the file, but I recommend almost at the end where you will find a comment about Echo Cancellation stuff (~line 140):
    load-module module-echo-cancel
    
  3. Reload PulseAudio (pulseaudio -k) or simply restart the computer. You should be able to select the new Noise Cancellation option from the Input Device Section:
    screenshot




Tuesday, October 16, 2018

EASYWAY TO FIND THE SERIAL NUMBER OF YOUR COMPUTER


serial number of your computer
If  you got some problem in your computer and asked for help to the service provider, you need to provide the serial number for you computer which is also called service tag, by this they can track the logs of issue and the hardware of your computer.
For the loatop its very easy to find the service tag, which is in the base of laptop. For the desktop computer its somewhere in the back side of CPU. Its just the sticker with service tag stick on it. Some time its not visible properly or its not available there. Also the sticker that holds the service tag is often placed at a more harder-to-reach location.
So here is the simple way how you can know the serial number for your computer or service tag.
Just open the command prompt (Start –> CMD)

Type the following command:
wmic bios get serialnumber
There is also another command which show the serial number or tag with the model or make of your computers.
wmic csproduct get name, identifyingnumber
The system model number can also be found using the System Information program available under All Programs –> Accessories –> System Tools.
This commands should work on Windows 7, XP and Windows XP Pro machine as wmic.exe didn’t ship with the previous editions of Windows. Refer to this page to learn about all other system details that you can retrieve with the help of wmic.exe command.

Ad.

YOUTUBE SEARCH WITH SIMPLE COMMANDS

Do you know youtube is now second most popular search engine in the internet after Google search, More then 35 hours of video stuff are uploaded every single minute. Here are some more stat about youtube…
  • More than 13 million hours of video were uploaded during 2010 and 35 hours of video are uploaded every minute.
  • The equivalent of 150,000+ full-length movies in theaters each week
  • More video is uploaded to YouTube in 60 days than the 3 major US networks created in 60 years
  • 70% of YouTube traffic comes from outside the US
  • YouTube is localized in 25 countries across 43 languages
  • YouTube’s demographic is broad: 18-54 years old
  • YouTube reached over 700 billion playbacks in 2010
Searching video in youtube is very easy, as you type anything on youtube there is almost something. Here are some more tricks or syntax for searching you tube…
#1. Finding a specific YouTube channel
royal wedding, channel
YouTube will have numerous videos related to the royal wedding but if you are only looking for their official YouTube channel, add the word channel to your query separated by a comma.
#2. Limit your search to recently uploaded videos
oprah winfrey, this week
This will only show recent videos related to Oprah that have been uploaded to YouTube in the past week. You may also use “today” or “this month” to limit your search to videos that were uploaded in the past month.
#3. Find only official videos, no fan material please
never say never, partner
If you are looking for the ‘official’ Justin Bieber track and don’t want to see any parodies or fan material in the search results, add the word ‘partner’ to your search query.



#4. Find movies on YouTube
jackie chan, movie
Yes, you can find full-length movies on YouTube (including Bollywood titles). The search operator for finding movies is, you got it right, movie.
#5. Find high-quality videos on YouTube
the king's speech trailer, hd
Add the keyword hd to your search query and YouTube will only show High-definition video clips that are either 720p (1280×720) or 1080p (1920×1080 pixels).
#6. Find 3D video clips on YouTube
avatar, 3d
Got a pair of 3D glasses? Add the keyword 3D to your search query and discover 3D videos. You may also enjoy some 3D content on YouTube without the glasses – see details.
#7. Find video playlists on YouTube
bryan adams, playlist
Playlists are a great option if you want to find and watch (or listen) multiple related videos in one go – like all the Old Spice commercials or your favorite Savage Garden tracks. You may also copy YouTube playlists to your own account.
#8. Find lengthy videos on YouTube
tom and jerry cartoons, long
Add the keyword long to your search query and YouTube will only return videos that are at least 20 minutes in length.



#9. Perform exact-match searches on YouTube
allintitle:"google goes gaga"
You can borrow the popular allintitle search operator from Google on YouTube to perform exact title matches. Might be useful when the original video is not available in your country due to geographic restrictions.



#10. Mix and Match
ted talks, hd, this month, long
The best part about YouTube search is that you combine multiple search operators with commas and apply them all to your query (much like the Boolean AND operator). The above example will help use find all TED talks that have recently been uploaded to YouTube.



EMBEDDING A GOOGLE FORM IN YOUR WORDPRESS POST





Nowadays collecting information from people all over the world is made easy by Google docs. Though Google docs you can create a form and then forward the link of that form to emails or share it in Facebook and then all of the information can be collected in the Google database and you can even view the summary of your results in graphical form such as pie charts and bars diagrams.  Furthermore, you can even embed your Google form in your own website. It is very easy. All you have to do is follow these simple steps:
  • First create your form in google drive
  • Now from the top menu select Form and then click Embed form in a webpage. After which you will get a code like this:


<iframe src="https://docs.google.com/forms/d/MyFormKey/viewform?embedded=true"
height="500" 
width="760" 
frameborder="0" 
marginwidth="0" 
marginheight="0"></iframe>


  • Now simply edit your post and go to html mode and paste anywhere you want the form to appear.



One Line CSS Magic - CSS Tips and Tricks


No need to mention CSS is awesome. Here one line css magic. Its pure beauty of CSS that gives life to the website and makes it lively. Yes, it’s not simple to write CSS for newbie and even professionals sometimes gets stuck because of cross browser issues. Sometimes, One line in CSS can be more than a magic providing solutions. I reviewed some of the CSS files and came up with some one line CSS.
Below are list of one line CSS. One line CSS mentioned below may or may validate web standards and web accessibility rules.

1. Set default margin and padding to all elements
* {margin: 0; padding: 0}
Every element that have not assigned margin or padding will have default value of above.
Some CSS designers argue that this is not necessary at all because all CSS element at the end will have their assigned value.

2. Set image border to zero
img { border: 0; }
a img { border: 0; }
This can be used to prevent any linked images from displaying borders.

3. Remove Firefox’s link border
a:active, a:focus { outline: 0; }
This removes dotted outline from focused or active links on firefox.

4. Scrolling Render IE
html { background : url(null) fixed no-repeat; }
5. Prevent line breaks in links, over sized content to break
a{ white-space:nowrap;}
element { overflow:hidden; }
This trick prevents line breaks on links.
6. Centering block elements horizontally
element { margin:0 auto; }
This one line CSS horizontally centers a block level element.
For IE less than 7, following line should be added though.
element { text-align: center; }
7. Show Firefox scrollbar
html{ overflow:-moz-scrollbars-vertical; }
8. Remove textarea scrollbar in IE


textarea{ overflow:auto; }