
Technology, Music, & Culture Blog

System.Windows.Forms.Clipboard.SetDataObject(txtCopy.Text, true);
IDataObject clipData = Clipboard.GetDataObject(); if (clipData.GetDataPresent(DataFormats.Text)) { txtPaste.Text = clipData.GetData(DataFormats.Text).ToString(); } else { txtPaste.Text = "Could not retrieve data from the clipboard."; }
In HTML/CSS, when you quote a piece of text from other websites/web pages, then it is usually done through customized quote boxes, called as blockquotes.
Now, in this tutorial you will be able to add a sub-type of blockquotes: Tweetquote, to your blog.
Many tweets go viral on Twitter and many a times, we do find tweets worth sharing with our readers on our blogs. So, here is a creative & professional way to (re)publish tweets on your blogs:
@BillGates congratulating Warren Buffett, for being awarded with National Medal of Fredom:
Congratulations to my dear friend Warren Buffett on National Medal of Freedom - http://bit.ly/eN9rh1-@BillGates
STEP #1
Log in to Blogger, go to Design -> Edit HTML and find this code:
</head>
<style type="text/css">You may use a different background image in your blog by editing the code highlighted in BLUE color in the above code. And SAVE the template.
blockquote.tweetquote {
border-top: 1px solid #FFF;
border-left: 1px solid #FFF;
border-right: 1px solid #46A8B8;
border-bottom: 1px solid #46A8B8;
background: #D1D0C6 url(http://files.main.bloggerstop.net/uploads/3/0/2/5/3025338/twitterquote1.jpg);
background-position:top left;
background-repeat:repeat-y;
margin: 0 20px;
padding: 10px 20px 10px 45px;
font-size: 0.9em;
}
</style>
<blockquote class="tweetquote">PASTE THE TWEET HERE</blockquote>
-<a href="http://LINK_TO_TWEET">@TWIT_ID</a>
/orangebox/srcds.exe -game garrysmod
Go one level up to the main folder (there should be a folder called "css" if you chose to install CSS content from the HLDS updater tool. If you didn't, click here to find the command for getting CSS content downloaded.Next, navigate into the CSS folder. There should be a folder called "cstrike". Copy that and paste it into your /orangebox/ directory. Test out your gmod server; you should have css content available!
Being a professional blogger isn’t as simple as waking up one morning and stating, “I am a blogger, look out world!” Like any other discipline or endeavor, being a successful blogger means that you have to take the job seriously. That means working with dedication, planning and forethought. Having the right tools is an essential part of being a blogger, as you need the right tools in order to get the job done.
1. Computer or Laptop: There is no doubt one of the key tools of the modern journalist and the pro blogger is the computer. After all, the computer has become the informational link to the world. Blogging is all about information and staying current with what is happening in the world around us. This means that your computer is an essential tool in your blogging toolkit. While it is not necessary to have a top of the line gaming computer, you should have one that can get the job done or you will lose hours and hours on productivity. Making sure that you have a quality anti-virus program and firewall might be savvy addition as well.
2. Top-Notch Monitor: A reasonably large high quality monitor is an essential tool not just for bloggers, but also for anyone spending a lot of time at the computer. Eyestrain can greatly impair your productivity and make working nothing short of unpleasant. Spending a little extra money for a quality monitor is a savvy move.
3. Broadband Access: It should come as no surprise that access to a broadband connection is essential for blogging. While some people do still use dial-up Internet, you will experience major setbacks if you don’t have access to a fast connection. If you are using a laptop computer, be sure that you have a 3G dongle device for your mobile broadband access.
4. The Smartphone: A good smartphone is an absolute essential for the blogger. This is particularly true if you have one with a good deal of functionality and apps. A smartphone can function something like a modern Swiss army knife and may include GPS, recording capability, note taking capability, as well as essential features such as a camera and video capability. Also a smartphone allows you to connect to the Internet whenever you like from virtually wherever you like. This can prove invaluable for any number of important reasons. Of course, your trusted smartphone also functions as a phone too! All of these factors combine to make the smartphone a simply essential tool.
5. The Notebook or Notepad: Sure a notebook or notepad might be a bit “old school,” but you never have to worry about the battery on your notepad running out! This makes the time honored, battled tested notepad something of a practical real world essential. It is something that you should not be without for quickly jotting down ideas on good old-fashioned paper.
6. Pens, Pens and More Pens: Pens are always a must for the blogger. Not all note taking is digital... at least not yet.
6. A Good Desk: Having a good desk might seem like a no-brainer, but if you are going to be spending hours upon hours writing, you need to keep the importance of a good desk in mind. A good desk will also help keep you organized and enhance your productivity.
7. The Chair: A comfortable chair, one that you can spend hours in, is probably even more important than having a good desk. After all, back problems will quickly end your workday.
9. A Bookcase: You never know when you might want to include a reference to a book in your blogging endeavors. A bookcase is important for staying organized. Don’t skip this inexpensive item that is essential for keeping books in order.
10. A Quality Keyboard: Lots of blogging means lots of typing. This makes an investment in a comfortable keyboard a must. Don’t just assume that the keyboard you received with your computer is adequate.
1
2
3
4
5
6
7
8
9
10
| import java.io.File;public class MakeDirectory { public static void main(String[] args) { File f = new File("c:\\MyFolder"); f.mkdir(); }} |