Showing posts with label English Only. Show all posts
Showing posts with label English Only. Show all posts

Windows Cannot Delete File Name Too Long [SOLVED]

  • 2
How to delete a file that has a name that is too long? This is really annoying bug (?) for many people, including me. But somehow I can't find clear solution for this, the only solution internet citizen provide is to download longpathtool. So I did, but it only works if you buy full version. Seriously? I have to pay just for deleting a file? Screw this.

Here are my solution :
- Delete using 7zip
- Delete using Linux

Delete using 7zip
Just download 7zip, open it, and find the file you want to delete. That's it.

Delete using Linux
You have to install Linux (Ubuntu, Fedora, Mint etc.) and delete from that OS.

Sorry I can't give you the screenshot but I promise it works (at least for me). 

How to make a better journal. A journal you won’t feel ashamed to read in the future

  • 0
First, make a title. Title make your reader, you sir, know the big picture of your daily activity. When you are writing, this also make you focus on particular subject. Thus, less distracted mind from your daily internet intake.

Second, think funny. If you don’t want to bore yourself in the future, you’ve got to write a joke or two.

Third, just write. The point of journal is to write everyday. To make a writing habit. If you think too much you’ll think that this is yet another homework. Nobody loves homework. Have fun and enjoy the process! If you’re in good mood you can continue writing. But if you kinda in bad mood, consider yourself you already done your chores for today.

The bottom line is, your goal is to make a journal that you’re not embarrassed to put on your blog. If for some reason you want to put your journal into your blog, you can just put it right away.

Keep doing this, don’t make too much rule. Its counterproductive. From many The Paradox of Choice references we know choice is a bad thing. Keep it simple and save your brain power for something that really matters for you.

Windows Phone SDK 8.0 Failed to Install - A required certificate is not within its validity period [SOLVED]

  • 1
Story:
I want to install Windows Phone SDK 8.0



Problem:
Windows Software Development Kit Tools for Windows Store
A required certificate is not within its validity period when verifiying against the current system clock or the timestamp in the signed file.

Microsoft Visual Studio 2012 Shell (Minimum) Interop Assem User cancelled installation.

Real problem: All "google" answer redirect me to some SQL Server installation stuff.
Buttomline: No good answer.

Analisys:
Certificate? Timestamp? Period? It must have something to do with woman Current System Clock.

Solution:
Change your current time to 2012.



It works!

Man, I can't believe it..

A Poem About Stock Market

  • 0
Happiness is when the stock price are rising up.
Sadness is when you realize you haven't buy the stock.
Anxiety is when you order the stock.
Joy is when you succeeded buying the stock.
Misery is when you realize the stock price are going down.
Depression is when you realize it's too late to sell it.
Acceptance is when you cut-loss your stock.
Experience is when you stand up and learn from your mistake.

Creating a Blinking Text in XNA

  • 0
Sometimes, just plain text is boring.
You want something fancier, like ..Fading text!
Well.. not that exciting. But you get the idea.

So, how to do that?
I assume you've already understand how to use spriteFont, 
After you've created spriteFont and about to draw it to the screen using DrawString method, use DrawString parameter which is use R,G,B,A rather than predefined Color. Like this :



This allow you to customize color and of course.. Alpha blending.
Update the variable in Update method as you like.

public override void Draw( GameTime gameTime)
        {
            spriteBatch.Begin();
            spriteBatch.DrawString(yourSpriteFont, stringnya, posisi,

             new Color (0,0,0,i));

            spriteBatch.End();
           
            base.Draw(gameTime);
        }

public override void Update( GameTime gameTime)
        {
            switch (color) {
                case 0 :
                    i += 5;
                    if (i == 255)
                        color = 1;
                    break;
                case 1 :
                    i -= 5;
                    if (i == 0)
                        color = 0;
                    break;
            }
        }
You can also customize Color and fade depends on time using gameTime.ElapsedGameTime.Milliseconds if you want.