enjoylife's Stuff

Home » enjoylife (8 trails)
enjoylife's Stats (public trails only):
Trails created: 80
Marks created: 1259
Views received: 103,737
Positive ratings: 1
Negative ratings:
Comments received: 3
Comments left: 0
super master (enjoylife)

enjoylife's Trails: file    (view all)

A workaround for no x64 SendToOneNote Print Driver

I just got this from Bruce on the OneNote Test team:

It's not optimal, but it does work. I use it here at Microsoft on my Vista x64 machine.

  1. Install one of the many converter programs that will allow you to output images files when you “Print”. For example, I’ve played with http://www.print-driver.com/howto/msn_pdf_to_jpg.html 
  2. Open your file in the native application (ie Adobe Reader, PowerPoint, etc)
  3. Print to the new printer, outputting to TIFF (multipage color)(the defaults for the example program above work just fine)
  4. Boot OneNote
  5. Insert | Picture and choose the TIFF image file

Done! You can now take notes over your inserted images. I should note that we won’t OCR the images (it uses the same print driver that doesn’t install under x64), so you won’t be able to search for words in the images or copy–and-paste their content. You will be able to take notes over them, view them, and so on.

Bruce

As David wrote we are aware of this problem and there will be no fix for OneNote 2007 and we plan to address this in the next version of OneNote.  I just wanted to share this with everyone!

Tags: won’t, images, print, onenote, sendtoonenote, ...
A trail of 28 pages

The Solution

Customizing the list of filters isn't an obvious action, but nor is it difficult if you're comfortable with text editors (and Eclipse users certainly should be). There may be other ways, but this is what I did:

  1. Locate the directory of the Eclipse plugin being used for editing. This is usually something like eclipse/plugins/[plugin name]_[version]. I spend most of my time in Aptana, so my plugin directory is eclipse/plugins/com.aptana.ide.scripting_0.2.9.16696.
  2. Open the plugin.xml file in a text editor.
  3. Find the extension element whose point attribute has a value of org.eclipse.ui.ide.resourceFilters.
  4. Create a new filter element like any others that already exist, but containing the needed file pattern. If no extension element is found for resourceFilters, see below.
  5. Restart Eclipse using the -clean switch.

Being an Aptana user, I found that the plugin.xml file I had to edit didn't contain any resource filters so I just created one by adding the following code to the bottom of plugin.xml:


   
   

Tags: plugin, eclipse, resourcefilters, aptana, ide, ...
A trail of 1 page
标 题: [已解决]有没有办法将dol装到wii channel里
发信站: BBS 未名空间站 (Wed Oct 15 00:41:49 2008)

找了半天,不得其门。
这儿有好多wii hack,是autoinjectuwadinjectorv3 吧
http://www.nes-hacks.com/downloads/wii-downloads/apps-and-loaders/

我还找了doltool, wadtool..都不得其法。。
那个用过的讲讲?


解决方法:
准备
1. autoinjectuwadinjectorv3 from http://www.nes-hacks.com/downloads/wii-downloads/apps-and-loaders/
2. 现成wad 一个
3.需要改的 dol, 如geeckoos.dol
4.common-key.bin: copy common-key from backup-creator_v1,(就是你转iso to partition.iso在那个目录)
rename to common-key.bin

执行:

D:\wii\autoinjectuwadinjectorv3>injectuwad geckoos.dol Ocarina+GeckoOSChannelv1.
07d.wad geckoos 4 y

结果:
@Waiting 0 seconds for disc write...

1 file(s) copied.
1 file(s) copied.
1 file(s) copied.
1 file(s) copied.
1 file(s) copied.
1 file(s) copied.
@Calculating ROM size...
@Reading ROM data...
1 file(s) copied.
Old MD5 sum: 36f82955cd15ece6f274ef1374a4b712
Recalculating MD5 sum... OK
New MD5 sum: 36f82955cd15ece6f274ef1374a4b712
Writing file... OK
@Using sha1.exe to calculate sha1 of 00000000.app
@Using sha1.exe to calculate sha1 of 00000001.app
Trucha sign enabled
Cert... OK
Trailer... OK
TMD... OK
There are 3 files described on the TMD.
Ticket... OK
Signing Ticket... 97 it. OK
00000000.app... OK
00000001.app... OK
00000002.app... OK
Signing TMD... 27 it. OK
Header... OK
Writing title.wad file... OK
1 file(s) copied.


@All done!

有一堆文件生成,
HB-geckoos.dol.wad 就是你要的东东。
Tags: geckoos, dol, wii, tmd, app, ...
A trail of 9 pages
I like what I’ve seen so far of Israeli startup AllRise - a website that allows users to file complaints against anyone or anything, argue their case, have the community choose sides, and ultimately vote on who should prevail.
Tags: i’ve, allrise, community, sides, choose, ...
A trail of 1 page
The C-shell offers a number of special commands known as control codes. Control codes define commands specific to the operating system. To issue a control code, hold down and press the corresponding letter key. The following summarizes some of the most commonly used control codes:
 d Signals the end of a file you are entering from the terminal if typed at the beginning of a line or if typed twice elsewhere in a line.
 c Cancels a command or interrupts a running program.
 z Suspends a process or job but does not terminate it: use fg to restart suspended process or job.
common_alias myscreen '~/bin/screen'
common_alias ls   'ls --color=auto'


common_alias findfile    'find . -follow -type f | grep $*'
common_alias findtext 'find . -not -name "*.d" -not -name "*.o" -not -name "*.a" -follow -type f -print0 | xargs --null grep $*'
#common_alias findcode    "find -follow -type f -name '*.cpp' -o -name '*.h' -o -name '*.java' -o -name '*.const' -print0| xargs --null grep $*"
common_alias findcode 'find . -name "*.cpp" -name "*.h" -name "*.java" -name "*.c" -name "*.hpp" -follow -type f -print0 | xargs --null grep $*'
common_alias findcdb 'find . -name "*.layout" -name "*.def" -name "*.cdb" -follow -type f -print0 | xargs --null grep $*'
common_alias findweb 'find . -name "*.aml" -name "*.xml" -name "*.xsd" -name "*.mdl" -name "*.sml" -follow -type f -print0 | xargs --null grep $*'
common_alias findany 'find . -follow -type f -print0 | xargs --null grep $*'

 

export PS1="\h@\u:\w% "
export DISPLAY=l-sjn-jezhao:0.0
export LS_COLORS='di=01;33'

function cleanup(){
        echo "Removing $1 files..."
        find \. -follow -name "$1" | xargs rm
u Clears the command line.




Tags: grep, alias, xargs, name, findcode, ...
A trail of 44 pages
Hi,

I am currently following the advice at ThinkWIKI to get it working on my X61 tablet with Ubuntu 8.04.1 (everything else works great!).

My problem is that since I have 2.6.24 (which has some issues with the kernel patch) I am trying to use the Zen-Sources kernel.

However the kernels don't seem to be .tar.bz2 but rather .patch.bz2 meaning the
Code:

# tar jxf 2.6.27-rc7-zen3.patch.bz2

just reports back with an error complaining about it not being a tar file.
Tags: tar, jxf, meaning, kernel, tablet, ...
A trail of 5 pages

.htaccess file is the configuration file for the Apache Web Server that provides a number of directives for configuring Apache and Apache Modules

If you look around the site you’ll notice .htaccess tricks that nobody else has, .htaccess tricks that push the limits. This isn’t an introduction to .htaccess, this is the evolution of .htaccess files for your website.

Here’s just one example of the tricks throughout these pages, this shows how you can enable password protection for your site, and how you can not only verify the username/password, but also log both failed and successful login attempts! Here’s a chart explaining

Tags: htaccess, here’s, isn’t, you’ll, tricks, ...
A trail of 3 pages

I love the Drupal CMS. One of my favorite features of Drupal is the ability to do a multisite install. This site and my other blog, i <3 stella, are hosted on the same box, using the same Drupal install. Several sites can share one codebase. Updates are easily rolled out to every site simultaneously. Overall, it's a wonderful idea. But I have some problems with the implementation...

The standard way to set up a multisite install is to point each of the domain names at the Drupal install folder and let Drupal sort out which domain each request is coming from. It does a good job, too. But this method introduces some complications. For example, any content uploaded to site a is accessible from site b. A user that visits http://site1.com/myimage.jpg will find the same image as she finds at http://site2.com/myimage.jpg. Websites can't have domain specific .htaccess or robots.txt files either, which might hurt search engine optimization of individual sites.

An interesting side effect of this is if you want to install something in a subdirectory of your site, for example a WordPress blog at http://site1.com/blog, that exact same WordPress blog will exist in its full glory at http://site2.com/blog...

Another, and perhaps more grave, problem is that all that stands between the interweb and your very own personal settings is an .htaccess file. Install scripts, includes, site configurations and database passwords are in web accessible directories, and that is never a good thing.

We'll look at one solution to these problems.

I assume here that you are using Linux hosting, that you have shell access, and that you have at least a passing acquaintance with symlinks. If you're looking for a webhost that meets these requirements, check out 1and1 shared hosting. I've been happy with them, and all of their packages above $9.99/mo will do what you need.

Microsoft/IIS guys, you can't do a symlink. You're looking for something called a junction... good luck with that.

Tags: install, http, jpg, htaccess, multisite, ...
A trail of 29 pages