Tag Info

Hot answers tagged

29

export propagates the variable to subprocesses. For example, if you did FOO=bar then a subprocess that checked for FOO wouldn't find the variable whereas export FOO=bar would allow the subprocess to find it. But if FOO has already been defined as an environment variable, then FOO=bar will modify the value of that environment variable. For example: ...


22

Exported variables get passed on to child processes, not-exported variables do not.


17

Go to Tools > Options. In the General tab look for the Use Current Pages button in the Startup section. When you click on the Use Current Pages button, all the URLs of the pages open in different tabs are copied to the Home Page text box with a pipe delimiter. Copy the text to get all the URLs. The keyboard shortcut to simulate clicking on the Use ...


16

Actually, if you don't use "export", you're not defining an environment variable, but just a shell variable. Shell variables are only available to the shell process; environment variables are available to any subsequent process, not just shells.


16

Make your selection Edit -> Copy Merged File -> New (Photoshop should automatically suggest a new canvas size to match the selection size) Edit -> Paste File -> Save As (PNG) Rinse and repeat... (keyboard shortcuts are handy here) (Tested on Photoshop CS4)


15

In the Export tab for your database, there's a checkbox on the lower right that says Data. Uncheck it and you should only have the bare structure in your export file.


14

I think the closest you can get from native Excel functionality is Save As | Formatted Text (Space Delimited) (*.prn). It will automatically determine the widths and insert spaces to pad to that width as necessary. Beyond that you need to have a macro or other add-in that will let you do more.


13

If you have the OS X Developer Tools installed you can use this terminal command: sqlite3 ~/Library/Application\ Support/Skype/<YOUR SKYPENAME>/main.db "SELECT author,timestamp, body_xml FROM messages WHERE dialog_partner = '<OTHER SKYPENAME>'" > ~/Desktop/skype_chat_history.txt


10

I found an add-on called Send Tab URLs that copies the URLs of all open tabs with the intention of sending them by email to someone. This add-on also allows the target of the URLs to be the clipboard as well as email so this solves my problem 100%. https://addons.mozilla.org/en-US/firefox/addon/4437


9

Click the wrench icon next to the URL bar and go to Bookmarks » Import bookmarks and settings Select Firefox from the drop-down menu and ensure that the "Saved Passwords" box is checked. Finally, click import. This topic is covered here: Import settings from another browser - Google Chrome Help


9

From man bash: ENVIRONMENT When a program is invoked it is given an array of strings called the environment. This is a list of name-value pairs, of the form name=value. The shell provides several ways to manipulate the environment. On invocation, the shell scans its own environment and creates a parameter for each name found, ...


9

Set each frame duration to 1 second. Then go to File > Export > Video render Select "Images sequence", "All images" and set the frequency to 1 image per second. Click on Render, and each frame should be exported to an image.


9

"The difference between [them] is if you have certain special characters in text fields; for example, an accented (foreign language) character. If you export as Windows CSV, those fields are encoded using the Windows-1252 code page. DOS encoding usually uses code page 437, which maps characters used in old pre-Windows PCs. If you export as one and then ...


8

You need to add this line to the file .bash_profile in your home directory to have this modification of PATH apply to all Terminal/bash sessions.


8

You can't do this directly from Excel; you need to use an external application: Select the chart, and then copy it to the clipboard (Ctrl-C). Open a picture editor that supports saving to PNG. Do a paste in the picture editor (when copying the chart from Excel 2010, it is recognized as a valid picture on the clipboard). The best will be to paste as new ...


8

dir > textfile.txt will export (pipe) it to a plain text file. You can do whatever you want with it afterwards. If you wish to append, use two >>'s dir >> textfile.txt If you wish the file to be in another directory, just use dir > c:\temp\textfile.txt Without timestamp dir/b for example ?


8

You can use Process Explorer's handle viewer (View->Lower Pane View->Handles) to see all of the files a process has open on a Windows machine.


7

At least for documents created directly in Inkscape, File > Export Bitmap... works as expected. If the document has transparent background, the exported PNG becomes transparent. If it was white, then PNG becomes white. Please check File > Document Properties > Page > Background and check the aplpha channel (A). On RGB tab set all values to 255, including ...


7

If you are able to make it in word just fine, then use a PDF printer driver, such as bullzip (freeware with limitations) or PDFCreator (Free/GPL) and it will come out just like if you printed the document.


7

If you edit a theme and exit TextMate's preferences, it will be saved in ~/Library/Application Support/TextMate/Themes How to create a new theme from scratch: If you don't see it there, it might not have been saved. I just tried this and it seems to be buggy when you create a copy of an already existing theme. Make sure you: go to Preferences, ...


6

Transferring the history is possible. Here are some easy steps to do so which i got from here: Go to Tools (the wrench icon) –> Options. Go to the ‘Personal Stuff’ tab and click on ‘Import data from another browser…’ in the Browsing data section. Select Firefox from the list of browsers, and then click Import. Unselect any of the check boxes for ...


6

Take the hard drive out, find a USB - > IDE adapter (they are about $10-20 all over the place, usually with SATA, PATA (2.5" and 3.5") in one small device, very useful!) Then plug it into any reasonable machine and copy the data off. Filesystem will be FAT or FAT32 which Macs and Windows machines can all read fine today. Should be a piece of cake.


6

Grab y'all links allows you to copy all open tab links to the clipboard. Once copied, you can save it to a text file.


6

If you wish the new database to totally replace the old, just replace the entire folder that you specified when you ran the welcome wizard. If you wish to add ebooks from one computer to another, you could use the calibredb command-line interface to the calibre database, found in my case in C:\Program Files\Calibre2\calibredb.exe. However, while it can do ...


6

Set up IMAP for your favourite e-mail client, then access the "All Mail" mailbox.


5

TabsOutliner (a Chrome extension which display all currently open tabs and windows) can export not only flat tabs list to a usable text format (to a very usable saved HTML by saving the TO window through Ctrl-S, also to GoogleDoc or to Evernote or some other programs by drag & drop). But the exported data will contain the relations between the tabs (what ...


5

Try selecting the areas with the Slice tool and then File > Export for web & devices.


5

One of the tools I always have with me is 'Pentaho Kettle' which is a fantastic cross platform open source ETL. You can find the 'free' edition at http://kettle.pentaho.com/ Once you have downloaded and installed the software, the steps are roughly as follows: Launch Pentaho Kettle (Typically) click on 'No Repository' Create a new transformation. On ...


5

Assuming you want your preferences on another computer you can just export the prefs.js file. I'll keep looking in case there is a specific reason you need a text file, although technically a .js is a text file of sorts. This should clue you in as to where prefs.js is on a Mac.



Only top voted, non community-wiki answers of a minimum length are eligible