Lin's Blog
|
  • Zh-Tw
  • Ja
  • Posts
  • Categories
  • About

Fixing Chinese Garbled Text in Code::Blocks

Code::Blocks is a C/C++ IDE that I personally like to use, but I kept running into one problem: with Code::Blocks, I couldn’t use Chinese at all. Strings couldn’t contain Chinese, and even comments couldn’t. I originally thought it was a bug in the program itself, but a fellow user reminded me that it was actually a default encoding issue! ...

Programming
#IDE #C++
September 3, 2011 · 1 min

[Chrome Plugins] Save as PDF: Save a Web Page as a PDF to Keep It

Sometimes you bookmark content you like, but if the site goes down or the article is removed, the bookmark is useless and you can no longer read the article. In that case, saving it as a PDF is a good choice. PDFs are also a great fit when you want to read offline~ ...

Software
#Chrome Extensions #PDF
September 3, 2011 · 1 min

Notepad++: My Top-Recommended Text Editor, with Syntax Highlighting and Multiple Encodings

Almost everyone who writes programs or web pages uses a text editor, because sometimes you just want to open a file to look at its code, and opening it in Dreamweaver or Visual Studio takes too long. Some people use the Notepad that comes with Windows, or Vim, which is famous on Linux. Others install a text editor they find online. Today’s pick, Notepad++, is a very well-known and powerful text editor. ...

Software
#Notepad++
September 1, 2011 · 3 min

MediaCoder: Free Video Converter with GPGPU Support

MediaCoder is a very handy video converter. It runs on Windows, Linux, and Mac, and it’s free. But those aren’t the main point. The real highlight is that it can use the GPU (graphics card) to do the conversion work. This technique is called GPGPU. With it, you’re much less likely to run into the problem of CPU usage spiking past 100% and the computer crashing during conversion, and conversion is ridiculously fast. I often convert videos while playing online games, and everything runs smoothly. ...

Software
#MediaCoder #Media Conversion
August 29, 2011 · 4 min

[C++] Sorting with the STL's Built-in sort() Function!

Sorting is something everyone who learns programming has to master, because a lot of data processing depends on it. Many programming languages include sorting functions built in, so developers can use them easily. But I don’t think many people know that C++ also has a built-in sorting function! ...

Programming
#C++
August 25, 2011 · 2 min

Want to Know Who Unfriended You on Facebook? Let Unfriend Finder Help (Currently Unavailable)

Unfriend Finder is a Chrome-only extension that lets you find out which people have secretly removed you from their Facebook friends. Some people don't care about this kind of thing, but someone like me really does care! (I care a lot, but I still really want to know who unfriended me...) We were already friends, so why remove me :(( But then again, if you haven't installed Unfriend Finder, you won't know when someone unfriends you, so maybe that makes you feel a little better... ...

Web Apps
#Facebook #Chrome Extensions
August 25, 2011 · 2 min

Zen Coding: A Great Tool for Speedy Web Development, a Must-Have for Anyone Who Likes Hand-Writing Web Pages~

I think many people are like me: when building a web page, they don’t like dragging out the layout directly in DW, and instead prefer to open Notepad and write the HTML by hand~ The upside of this approach is that it sharpens your skills XD, but the downside is that development is a bit slow (actually, once you get used to working this way, you’re faster than you would be with DW… XD). Today I want to introduce Zen Coding to you — it can make you write web pages N times faster! You can write web pages directly using CSS-style syntax~ ...

Programming
#HTML #CSS
August 22, 2011 · 2 min

COSCUP 2011: A Gathering of Open Source People

Over the last two days (August 20 and 21), I attended COSCUP 2011, the annual gathering of open source people. It is the yearly event of the open source community, and this year marked its sixth edition. Many experts give talks there, so you can learn a lot of new things and meet many new friends XD. Also, all of COSCUP’s funding comes from sponsors, so attending costs nothing at all! ...

Life
#COSCUP #Open Source
August 22, 2011 · 7 min

How to Manually Install Python on Linux Without Breaking yum

I previously wrote a program that automatically backs up important data on Linux and uploads it to Google Storage. It was written in Python 2.7, but the Python built into Linux is 2.4, and even if you upgrade with yum, the newest version it gives you is 2.4. So if you want a newer version of Python, you have to compile it yourself. Below, I’ll use Python 3.2 as the example. ...

SRE
#Linux #Python
August 19, 2011 · 2 min

8/18 Those Years, Summer Break, and the Joint Freshman Welcome XD

It’s been a while since I last wrote a diary entry. Before I knew it, summer break is almost over, and I’m about to become a second-year student. Another year of memories has piled up, and we’re going to have juniors of our own!! Things have been really busy lately. I spent the first month of summer break just goofing off, so all the work piled up until August, and I only finally have a little time to rest today~ ...

Life
#Freshman Training
August 19, 2011 · 7 min
« Prev  Next 

Categories

All Programming AI SRE Life Hardware Software Blog Travel Web Apps Games Security
© 2026 Lin's Blog · Powered by Hugo & PaperMod