Quote from Don Knuth that is absolutely true: The very act of communicating one's work clearly to other people will improve the work itself https://wayback.stanford.edu/was/20230509010940/http://online.stanford.edu/donald-e-knuth-lectures
Posts
AEM webdav connections in windows 7
- Get link
- X
- Other Apps
The adobe documentaion: http://docs.adobe.com/docs/en/crx/2-3/how_to/webdav_access.html misleads you with regard to the port. Use the default port of 4502 and you'll find it works. Mapping the windows explorer works too in windows 7. I changed the registry entry, not sure if that was required or not. Found cyberduck now has a windows version :), I used that whilst trying to get it to work as an alternative to native windows. It picked up the webdav port running on localhost when I selected that protocol. It gave me the hint I needed!
cURL to REST API
- Get link
- X
- Other Apps
More curl goodness: curl -i -X PUT -H "Content-Type:application/json" \ http://localhost//restserver/index.php/api/key \ -d '{"level":10}' curl -i -X PUT -H "Content-Type:application/json" \ http://localhost//restserver/index.php/api/example/send \ -d '{"username":"me","password":"1234","level":10}' using a file as input: curl -i -X PUT -H "Content-Type:application/json" \ http://localhost//restserver/index.php/api/key \ -d @filename.json
USB boot Debian 6.0.7 on Dell Studio 1537
- Get link
- X
- Other Apps
What a nightmare... I've tried installing linux, to boot from a USB, a fair few times with not a lot of success but at last I've nailed it :) Not without a final big balls up along the way, however! When it comes to the part of the installer where it asks you if and where to install grub (or whatever bootloader) be blooming sure of what you are doing. I can't remember what the exact options were or what I selected but I ended up in the senario where windows would not boot unless the USB was plugged in. If I started the machine without the USB plugged in the you'd see "Welcome to GRUB" and then it complain about not finding some files or another. Basically I think I somehow ended up with Grubs config files on the stick instead of on the HD of the laptop. So after booting off the USB, installing grubs files on it, how to get the PC running windows by default??? (So the wife and kids are happy?) Has to dig out the Vista install disk and repair the MBR...
Mac to Cisco router - serial connection
- Get link
- X
- Other Apps
MacBook Pro 6,2 running 10.6.8 Obviously no serial port on the above so how to go about connecting up a Cisco console cable? http://plugable.com/products/PL2303-DB9 These pointed me in the right direction: http://hints.macworld.com/article.php?story=20080218140558128 - particularly the comments and using 'screen' http://forums.whirlpool.net.au/archive/691299 http://stevenwinterhalter.com/2011/08/26/how-to-connect-your-mac-to-a-cisco-console-port/ In short buy the above USB adapter, install the enclosed "driver", connect up cable, power up and run: screen /dev/tty.usbserial 9600 in the terminal. Bosh. Your in. To get out: I can't quite remember what worked for me. I think it was: "Ctrl-a d" to detach window
Indesign scripting - negative object reference
- Get link
- X
- Other Apps
Quick reminder: When scripting Indesign a negative object reference means the "last" of something. eg myTextFrame.insertionPoints.item(-1).place(myTextFile); // the end of a text frame or from the Scripting guide: Note that you can use negative numbers to refer to the layers in the layers collection of a document. Layer -1 refers to the last (bottom) layer in the collection. eg layer(-1); Beware of dynamic collections of objects. Messing with them will change references to items: http://cssdk.host.adobe.com/sdk/1.0/docs/WebHelp/app_notes/id_scripting.htm#Dynamic_collections_and_object_types
VMware Fusion bridge not working
- Get link
- X
- Other Apps
I stayed up far too long last night figuring this out, so a post is warranted. VMware Fusion 3.1.3 on Mac 10.6.8 running Debian 5 (lenny) VM. NAT working fine but for some reason it just wouldn't work in bridged mode. I was trawling the t'internet for reasons why when it dawned on me, after reading that for some folk it worked with wired internet, but not wirelessly. If your wireless network is locked down to MAC addresses (access control) then your VM running in bridge mode won't be able to pick up an IP address because... ...it has a different MAC address! Obvious isn't it... grrrrr. I wanted to run in bridged (always used NAT before) so I could connect to services run by the guest OS from the host. I was playing with vnc4server and trying to connect to debian using the Mac Screen Sharing built in app. As an aside don't bother, the base install already comes with remote desktop (vino) which must get in the way as I had all sorts of difficulty. Runnin...
bash nav
- Get link
- X
- Other Apps
From here: http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/ Ctrl + a – go to the start of the command line Ctrl + e – go to the end of the command line Ctrl + k – delete from cursor to the end of the command line Ctrl + u – delete from cursor to the start of the command line Ctrl + w – delete from cursor to start of word (i.e. delete backwards one word) Ctrl + y – paste word or text that was cut using one of the deletion shortcuts (such as the one above) after the cursor Ctrl + xx – move between start of command line and current cursor position (and back again) Alt + b – move backward one word (or go to start of word the cursor is currently on) Alt + f – move forward one word (or go to end of word the cursor is currently on) Alt + d – delete to end of word starting at cursor (whole word if cursor is at the beginning of word) Alt + c – capitalize to end of word starting at cursor (whole word if cursor is at the beginning of word) Alt + u – make uppe...
less navigation
- Get link
- X
- Other Apps
Command line tools, gotta love em, but of you don't use them on a regular basis; how to remember everything? I need to get to grips with a built in terminal editor: vim or emacs? (if anyone decides to start yet another flame war on the back of this don't bother...) I uses nano/pico but that's somewhat limited and as less uses vim navigation it seems another push towards using vim. Anyhoo... here's a site with a few useful shortcuts: http://www.thegeekstuff.com/2010/02/unix-less-command-10-tips-for-effective-navigation/
Samsung ML-2955DW Word/Printer Driver Trouble
- Get link
- X
- Other Apps
I bought a new printer. Was fairly tricky to get it to play wireless ball on my network but got there in the end. (It didn't seem to want to wake on LAN) However, when my daughter went to print out her homework, how frustrated was I to find it appear to hang Word, if not make it run like a dog? After a few hours of Googling and switching back an forth beteen accounts I eventually find that Parental Controls were getting in the way of the printer driver!! Bypassing Word completely even when I tried to get printer preferences from the printer list it would take around 2-3mins to fetch the screen!!! Switch off Parental Controls and what do you know? All thoes attempts to 'repair' office and re-install drivers just to find ParCon getting in the way. Grrr Swift email off to Samsung in the hope someone might read it and fix it. I guess the driver must use http or some other affected protocol to go and lookup the printer parameters. This was happening everytime you opene...