-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatom.xml
583 lines (406 loc) · 23.8 KB
/
atom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[rm -rf /]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/atom.xml" rel="self"/>
<link href="http://nequissimus.github.com/rmrf.eu/"/>
<updated>2013-01-19T15:28:55-05:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/</id>
<author>
<name><![CDATA[Tim Steinbach]]></name>
</author>
<generator uri="http://octopress.org/">Octopress</generator>
<entry>
<title type="html"><![CDATA[See and clean Mac downloads]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2013/01/19/see-and-clean-mac-downloads/"/>
<updated>2013-01-19T11:00:00-05:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2013/01/19/see-and-clean-mac-downloads</id>
<content type="html"><![CDATA[<p>OSX keeps a record of all the files ever downloaded with your user account. Here is how to see the list of files downloaded as well as a way of deleting them.</p>
<!--more-->
<p>List all files:</p>
<div><script src='https://gist.github.com/4574816.js?file=list_files.sh'></script>
<noscript><pre><code>sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEvents* 'select LSQuarantineDataURLString from LSQuarantineEvent'</code></pre></noscript></div>
<p>Empty the list:</p>
<div><script src='https://gist.github.com/4574816.js?file=delete_list.sh'></script>
<noscript><pre><code>sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEvents* 'delete from LSQuarantineEvent'</code></pre></noscript></div>
<p>Source: <a href="http://www.macgasm.net/2013/01/18/good-morning-your-mac-keeps-a-log-of-all-your-downloads/">macgasm</a></p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Get keyboard layout via Terminal.app]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2012/09/20/keyboard-layout-terminal/"/>
<updated>2012-09-20T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2012/09/20/keyboard-layout-terminal</id>
<content type="html"><![CDATA[<p>I just had to find out my current keyboard layout using the command line. Turns out, Apple stores it in a plist file.</p>
<!--more-->
<div><script src='https://gist.github.com/3924246.js?file='></script>
<noscript><pre><code>$ defaults read ~/Library/Preferences/ByHost/com.apple.HIToolbox.*.plist AppleCurrentKeyboardLayoutInputSourceID</code></pre></noscript></div>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Fix OSX dictation]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2012/08/23/fix-osx-dictation/"/>
<updated>2012-08-23T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2012/08/23/fix-osx-dictation</id>
<content type="html"><![CDATA[<p>If, like mine, your Dictation feature under OSX does nothing but wobble its icon, try the following solution.</p>
<!--more-->
<div><script src='https://gist.github.com/3440831.js?file='></script>
<noscript><pre><code>1. rm ~/Library/Preferences/com.apple.assistant.plist*
2. Reboot Mac
3. Turn Dictation off in System Preferences
4. Reboot Mac
5. Turn Dictation on in System Preferences</code></pre></noscript></div>
<p>An odd solution with all the rebooting, but it worked for me!</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Remove context menu duplicates]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2012/08/22/remove-context-duplicates/"/>
<updated>2012-08-22T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2012/08/22/remove-context-duplicates</id>
<content type="html"><![CDATA[<p>Sometimes there is a strange effect (bug?) in OSX, which causes applications to show up multiple times in the “Open With” context menu. A simple Terminal command can fix this problem.</p>
<!--more-->
<div><script src='https://gist.github.com/3430814.js?file='></script>
<noscript><pre><code>/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user</code></pre></noscript></div>
<p>Thanks to <a href="http://cloudlog.de/os-x-doppelte-app-eintraege-unter-oeffnen-mit-entfernen/">Cloudlog</a> (German)</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Run .bash_profile automatically]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2012/06/15/run-bash-profile-automatically/"/>
<updated>2012-06-15T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2012/06/15/run-bash-profile-automatically</id>
<content type="html"><![CDATA[<p>For most UNIX and UNIX-based operating systems, it is common behavior to execute the file <code>.bash_profile</code> when opening a new Terminal session.
Unfortunately, this is not the case with Xubuntu (and probably other -buntus).
A fix can be found below.</p>
<!--more-->
<p>Open Terminal and go to the Preferences menu under Edit. Under the General tab, you will find a checkbox named “Run command as login shell”. Make sure, the box is checked.
<code>.bash_profile</code> will then be run automatically every time you open a Terminal window.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Fix Octopress with OSX and Ruby 1.9.3]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2012/06/02/fix-octopress-with-osx-and-ruby-1-dot-9-3/"/>
<updated>2012-06-02T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2012/06/02/fix-octopress-with-osx-and-ruby-1-dot-9-3</id>
<content type="html"><![CDATA[<p>After cloning the Octopress repository from GitHub, I was unable to do <code>rake generate</code> due to a Ruby error I was unfamiliar with.
Since I had a working copy of Octopress, I compared the two and found that switching out the Gemfiles worked fine.</p>
<!--more-->
<p><strong>I realize, this might not be a good solution. But I am not familiar enough with Ruby to fix the actual problem. This is merely a workaround!!!</strong></p>
<div><script src='https://gist.github.com/2859612.js?file=Gemfile'></script>
<noscript><pre><code>source "http://rubygems.org"
group :development do
gem 'rake'
gem 'rack'
gem 'jekyll'
gem 'rdiscount'
gem 'pygments.rb'
gem 'RedCloth'
gem 'haml', '>= 3.1'
gem 'compass', '>= 0.11'
gem 'rubypants'
gem 'rb-fsevent'
gem 'stringex'
gem 'liquid', '2.2.2'
end
gem 'sinatra', '1.2.6'
</code></pre></noscript></div>
<div><script src='https://gist.github.com/2859612.js?file=Gemfile.lock'></script>
<noscript><pre><code>GEM
remote: http://rubygems.org/
specs:
RedCloth (4.2.8)
albino (1.3.3)
posix-spawn (>= 0.3.6)
blankslate (2.1.2.4)
chunky_png (1.2.1)
classifier (1.3.3)
fast-stemmer (>= 1.0.0)
compass (0.11.5)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
directory_watcher (1.4.0)
fast-stemmer (1.0.0)
ffi (1.0.9)
fssm (0.2.7)
haml (3.1.2)
jekyll (0.11.0)
albino (>= 1.3.2)
classifier (>= 1.3.1)
directory_watcher (>= 1.1.1)
kramdown (>= 0.13.2)
liquid (>= 1.9.0)
maruku (>= 0.5.9)
kramdown (0.13.3)
liquid (2.2.2)
maruku (0.6.0)
syntax (>= 1.0.0)
posix-spawn (0.3.6)
pygments.rb (0.1.3)
rubypython (>= 0.5.1)
rack (1.3.2)
rake (0.9.2.2)
rb-fsevent (0.4.3.1)
rdiscount (1.6.8)
rubypants (0.2.0)
rubypython (0.5.1)
blankslate (>= 2.1.2.3)
ffi (~> 1.0.7)
sass (3.1.5)
sinatra (1.2.6)
rack (~> 1.1)
tilt (>= 1.2.2, < 2.0)
stringex (1.3.0)
syntax (1.0.0)
tilt (1.3.2)
PLATFORMS
ruby
DEPENDENCIES
RedCloth
compass (>= 0.11)
haml (>= 3.1)
jekyll
liquid (= 2.2.2)
pygments.rb
rack
rake
rb-fsevent
rdiscount
rubypants
sinatra (= 1.2.6)
stringex
</code></pre></noscript></div>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Missing phvr8t]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2012/06/01/Missing-phvr8t/"/>
<updated>2012-06-01T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2012/06/01/Missing-phvr8t</id>
<content type="html"><![CDATA[<p>When using <span class="latex">L<sup>a</sup>T<sub>e</sub>X</span>, I have a few templates I use on a regular basis. After reinstalling TeX Live, I was missing all the packages I usually have. So when turning one of my files into a PDF, the compiler complained. One mysterious file was “phvr8t”, which I could not find using <em>tlmgr</em>.</p>
<!--more-->
<div><script src='https://gist.github.com/2847781.js?file='></script>
<noscript><pre><code>sudo tlmgr install helvetic</code></pre></noscript></div>
<p>This will install the helvetic package.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Fix iOS/Picasa sync]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2012/05/21/Fix-iOS-Picasa-Sync/"/>
<updated>2012-05-21T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2012/05/21/Fix-iOS-Picasa-Sync</id>
<content type="html"><![CDATA[<p>When importing photos from an iOS device into Google Picasa, sometimes an error -9912 occurs, which cannot be fixed on the client side.
This error is the result of a corrupted meta data file on the iOS device.
The problem can easily be fixed, a single file needs to be deleted.</p>
<!--more-->
<p>Remove the file on the iOS device by connecting to it with a file browser or SSH.</p>
<div><script src='https://gist.github.com/2763819.js?file='></script>
<noscript><pre><code>rm /var/mobile/Media/iTunes_Control/iTunes/PhotosFolderPrefs</code></pre></noscript></div>
<p>The file will automatically be recreated by iOS, when opening the Photos.app. Picasa should then synchronize perfectly.</p>
<p>Thanks to <a href="http://www.hickendesign.com/site/2011/01/iphone-error-fixed-picasa-and-iphoto-ica-error-9912" title="Hicken Design">Hicken Design</a>.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Transparent background for icons]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2012/04/22/Transparent-background-for-icons/"/>
<updated>2012-04-22T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2012/04/22/Transparent-background-for-icons</id>
<content type="html"><![CDATA[<p>Using xfce, most of the themes available customize the way your desktop icons look, but almost all of them add some kind of background to the icon label.
If you like the background to be transparent, you need to create one file in your home folder.</p>
<!--more-->
<p>Add the following to <code>~/.gtkrc-2.0</code> (create it if it does not exist)</p>
<div><script src='https://gist.github.com/2604543.js?file='></script>
<noscript><pre><code>style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 0
font_name="Sans Bold"
base[NORMAL] = "#ffffff"
base[SELECTED] = "#ffffff"
base[ACTIVE] = "#fefefe"
fg[NORMAL] = "#ffffff"
fg[SELECTED] = "#73B2D0"
fg[ACTIVE] = "#D17100"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"</code></pre></noscript></div>
<p>This will make the background transparent and change the font colour to white.
The configuration is straight forward, so try out what looks best for you.
Note that you might have to log out and back in for changes to take effect.</p>
<p>Thanks to <a href="http://xubuntu.wordpress.com/2007/08/27/howto-remove-the-borders-of-your-desktop-icon-text" title="Xubuntu Blog">Xubuntu Blog</a>.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Limit bandwidth]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2012/04/19/Limit-bandwidth/"/>
<updated>2012-04-19T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2012/04/19/Limit-bandwidth</id>
<content type="html"><![CDATA[<p>If you are using a data plan that is capped, for example on 3G/4G, applications like Skype can have quite the impact on your usage.
In order to contain these applications to a certain bandwidth instead of allowing them to use the entire bandwidth available, it is possible to limit your traffic.</p>
<!--more-->
<p>Note: Must be superuser for these commands, or use sudo.</p>
<p>Create a new pipe limiting bandwidth to 100 KB/s</p>
<div><script src='https://gist.github.com/2602124.js?file=1_create_pipe'></script>
<noscript><pre><code>ipfw pipe 1 config bw 100KB</code></pre></noscript></div>
<p>Add the pipe to all ports</p>
<div><script src='https://gist.github.com/2602124.js?file=2_add_pipe_to_all_ports'></script>
<noscript><pre><code>ipfw add 1 pipe 1 src-port any</code></pre></noscript></div>
<p>Remove the pipe</p>
<div><script src='https://gist.github.com/2602124.js?file=3_remove_pipe'></script>
<noscript><pre><code>ipfw delete 00001</code></pre></noscript></div>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Start VMware Fusion VM without GUI]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2012/02/17/Start-VMware-Fusion-VM-without-GUI/"/>
<updated>2012-02-17T11:00:00-05:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2012/02/17/Start-VMware-Fusion-VM-without-GUI</id>
<content type="html"><![CDATA[<p>If you have server operating systems in VMware Fusion and SSH into them, you do not need the VMware Fusion GUI.</p>
<p>Here is how to start a VM “headless” (without any GUI).</p>
<!--more-->
<div><script src='https://gist.github.com/2604377.js?file='></script>
<noscript><pre><code>/Library/Application\ Support/VMware\ Fusion/vmrun -T fusion start /Volumes/VMs/_Hadoop/Hadoop\ Master.vmwarevm/Hadoop\ Master.vmx nogui</code></pre></noscript></div>
<p>Swapping “start” with “stop” will shut the VM down.
Customize the paths to match your Fusion and VM locations.</p>
<p>Source <a href="http://drchriswilson.blogspot.com/2009/12/vmware-fusion-3-headless.html">@Dr Chris Wilson</a></p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Use Apple Gatekeeper with 10.7.3]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2012/02/16/Use-Apple-Gatekeeper-with-10.7.3/"/>
<updated>2012-02-16T11:00:00-05:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2012/02/16/Use-Apple-Gatekeeper-with-10.7.3</id>
<content type="html"><![CDATA[<p>In order to test your OSX application with the upcoming 10.8 “Mountain Lion” feature <em>Gatekeeper</em>, it can be enabled under 10.7.3.</p>
<p>This can be done with a simple terminal command.</p>
<div><script src='https://gist.github.com/2604389.js?file='></script>
<noscript><pre><code>sudo spctl --enable</code></pre></noscript></div>
<p>Replacing <strong>enable</strong> with <strong>disable</strong> will deactivate the application.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Use Boot Camp Assistant to create Windows 7 USB install drive]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2011/11/19/Use-Boot-Camp-Assistant-to-create-Windows-7-USB-install-drive/"/>
<updated>2011-11-19T11:00:00-05:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2011/11/19/Use-Boot-Camp-Assistant-to-create-Windows-7-USB-install-drive</id>
<content type="html"><![CDATA[<p>The other day I needed to reinstall a netbook we have in the house. Unfortunately, it did not have an optical drive. So I tried to use Mac OS X’s <strong>Boot Camp Assistant</strong> to create a Windows 7 USB drive to boot from.
The option was grayed out for me, though.
Here is how to enable the option for unsupported Macs.</p>
<!--more-->
<ol>
<li>Open “System Information” and find your “Model Identifier”</li>
<li>Open a Terminal</li>
<li>Edit the following file as administrator (sudo nano)
<code>/Applications/Utilities/Boot Camp Assistant.app/Contents/Info.plist</code></li>
<li>Scroll to the bottom where you find an array of strings for “USBBootSupportedModels”</li>
<li>Add your device according to the logic of the strings. (MB is a MacBook, MBA a MacBook Air, MBP a MacBook Pro, IM an iMac, MM a Mac Mini, MP a Mac Pro)</li>
<li>The numbers can be found from your Model Identifier, but without the comma.</li>
<li>Save the file and open Boot Camp Assistant</li>
</ol>
<p>If you did everything correctly, the option to create a Windows 7 USB install drive should now be available to you.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Disable hibernate mode and safe disk space]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2011/11/08/Disable-hibernate-mode-and-safe-disk-space/"/>
<updated>2011-11-08T11:00:00-05:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2011/11/08/Disable-hibernate-mode-and-safe-disk-space</id>
<content type="html"><![CDATA[<p>Recently, I have been trying to clean up my SSD that is in my MacBook Pro.
One file that kept annoying me was <code>/private/var/vm/sleepimage</code>. I am almost exclusively on wall power and do not need the 8 GB file. In addition, my SSD is rather small. Simply deleting the sleepimage did not help, even if you do not use hibernate mode, it will come back. Here is how to get rid of it permanently.</p>
<!--more-->
<p>Turn off hibernate mode:</p>
<div><script src='https://gist.github.com/2604446.js?file='></script>
<noscript><pre><code>sudo pmset hibernatemode 0</code></pre></noscript></div>
<p>Using the command with 1 instead of 0 turns it back on.</p>
<p><strong>Caution: Should you run out of battery power, all the data stored in your RAM will be lost! Use this advice at your own risk.</strong></p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Add ICQ support to BeejiveIM]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2011/10/04/Add-ICQ-support-to-BeejiveIM/"/>
<updated>2011-10-04T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2011/10/04/Add-ICQ-support-to-BeejiveIM</id>
<content type="html"><![CDATA[<p>There’s an easy way to restore “ICQ support” inside <em>BeejiveIM</em> by fooling the application ;)</p>
<!--more-->
<p><strong>Note: This trick works on jailbroken devices only!</strong></p>
<ol>
<li>Install BeejiveIM and launch it a first time on your iDevice, then, and this is important, quit the application completely (–> remove it from the multitasking bar on your iDevice!)</li>
<li>Download this file to your computer</li>
<li>Open the file with a text editor (e.g. <em>TextWrangler for Mac</em>), find the phrase <strong>“Your_ICQ_Number_Here“</strong>, delete this text and enter your ICQ number. Don’t forget to save the changes.</li>
<li>Now, we have to copy the file to its destination path. Use iExplorer or PhoneView to browse the Applications on your iDevice and enter the BeejiveIM folder. Then copy the file you’ve edited to the “Documents” folder by overwriting the existing one.</li>
<li>You’re done. Launch BeejiveIM, click on your ICQ number and type in your password.</li>
<li>Enjoy :)</li>
</ol>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Unhide Library folder]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2011/07/21/Unhide-Library-folder/"/>
<updated>2011-07-21T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2011/07/21/Unhide-Library-folder</id>
<content type="html"><![CDATA[<p>With OSX Lion (10.7) released, one may have noticed that by default the Library folder is hidden.
This is how to have is accessible via Finder again.</p>
<!--more-->
<p>Open Terminal and type</p>
<div><script src='https://gist.github.com/2604517.js?file=unhide_library'></script>
<noscript><pre><code>chflags nohidden ~/Library</code></pre></noscript></div>
<p>Changing nohidden to hidden reverses the process.</p>
<div><script src='https://gist.github.com/2604517.js?file=hide_library'></script>
<noscript><pre><code>chflags hidden ~/Library</code></pre></noscript></div>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Convert DMG to ISO and back]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2011/04/04/Convert-DMG-to-ISO-and-back/"/>
<updated>2011-04-04T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2011/04/04/Convert-DMG-to-ISO-and-back</id>
<content type="html"><![CDATA[<p>Today I wanted to install a new VM. Unfortunately, VMware Fusion did not like that my installation medium was a DMG file. So I had to turn that file into an ISO. Here is how.</p>
<!--more-->
<p>DMG to ISO:</p>
<div><script src='https://gist.github.com/2604570.js?file=dmg_to_iso'></script>
<noscript><pre><code>hdiutil convert image.dmg -format UDTO -o image.iso</code></pre></noscript></div>
<p>hdiutil adds .cdr to the file, but after renaming it, VMware Fusion would accept the image</p>
<p>ISO to DMG:</p>
<div><script src='https://gist.github.com/2604570.js?file=iso_to_dmg'></script>
<noscript><pre><code>hdiutil convert image.iso -format UDRW -o image.dmg</code></pre></noscript></div>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Allow user to use sudo]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2011/03/17/Allow-user-to-use-sudo/"/>
<updated>2011-03-17T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2011/03/17/Allow-user-to-use-sudo</id>
<content type="html"><![CDATA[<p>If you do not usually use your administrative account for everyday use (as you should!), but would still like to sometimes use it for a few administrative commands in Terminal.app, here is how to allow that.</p>
<!--more-->
<p>Open Terminal.app and log in to your admin account with</p>
<pre><code>su USER
</code></pre>
<p>with USER being the account name of your admin user.
Now enter the admin password and then this command</p>
<pre><code>sudo visudo
</code></pre>
<p>Scroll down to where it says “# User privilege specification”.
There at the bottom of the list of users you will need to add a line analog to this one</p>
<pre><code>USER ALL=(ALL) ALL
</code></pre>
<p>Replace USER with the user that is supposed to be able to use sudo.
Now save and quit (hit ESC, then :wq <Enter>). All done!</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Change Mac OS X language]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2011/03/16/Change-Mac-OS-X-language/"/>
<updated>2011-03-16T11:00:00-04:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2011/03/16/Change-Mac-OS-X-language</id>
<content type="html"><![CDATA[<p>Have you ever wanted to find out what OSX looks like in another language? Or maybe you are sick and tired of your native language and would like to try out English? Here is how to easily switch your entire OS to another language.</p>
<div><script src='https://gist.github.com/2604613.js?file='></script>
<noscript><pre><code>sudo "/System/Library/CoreServices/Language Chooser.app/Contents/MacOS/Language Chooser"</code></pre></noscript></div>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[RDP force login]]></title>
<link href="http://nequissimus.github.com/rmrf.eu/blog/2011/03/11/RDP-force-login/"/>
<updated>2011-03-11T11:00:00-05:00</updated>
<id>http://nequissimus.github.com/rmrf.eu/blog/2011/03/11/RDP-force-login</id>
<content type="html"><![CDATA[<p>If your terminal server tells you, that no more sessions are available, you can use this one:</p>
<div><script src='https://gist.github.com/2604633.js?file='></script>
<noscript><pre><code>mstsc /v:123.123.123.123 /admin</code></pre></noscript></div>
]]></content>
</entry>
</feed>