automated update from build.py
This commit is contained in:
parent
2bfa410cd8
commit
af878b9e8f
73
blog/20070522-gnokii-tips.html
Normal file
73
blog/20070522-gnokii-tips.html
Normal file
@ -0,0 +1,73 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/png" href="/favicon.ico">
|
||||
<link rel="canonical" href="https://www.mcmillen.dev/blog/20070522-gnokii-tips.html">
|
||||
<link rel="alternate" type="application/atom+xml" href="https://www.mcmillen.dev/feed.atom" title="Colin McMillen's Blog - Atom">
|
||||
|
||||
<title>Gnokii Tips | Colin McMillen</title>
|
||||
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&display=block" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Fira+Mono:500&display=block" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/pygments.css">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="page-container">
|
||||
<div id="content-wrap">
|
||||
<div id="header">
|
||||
<div class="content">
|
||||
<a href="/" class="undecorated">Colin McMillen</a>
|
||||
<span style="float: right;"><a href="/feed.atom"><img src="/img/rss.svg" alt="Atom feed" style="width: 17px; height: 17px; margin-bottom: 1px;"></a></span>
|
||||
<span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h1 id="gnokii-tips">Gnokii Tips</h1>
|
||||
<p><em>Posted 2007-05-22, updated 2021-07-01.</em></p>
|
||||
<p>I own a Nokia 6102i phone (provided by Cingular). <a href="http://gnokii.org">gnokii</a> is a Linux program that lets me interface with the phone. Here are some recipes:</p>
|
||||
<h2 id="file-io">File I/O</h2>
|
||||
<p><code>gnokii --getfilelist "A:\\predefgallery\\predeftones\\predefringtones\\*"</code></p>
|
||||
<p><code>gnokii --putfile WiiSports.mp3 "A:\\predefgallery\\predeftones\\predefringtones\\WiiSports.mp3"</code></p>
|
||||
<h2 id="ring-tones">Ring Tones</h2>
|
||||
<p>Voice mail picks up in 20 seconds, so a ring tone should be about 20 seconds long.</p>
|
||||
<p>The easiest way to chop an MP3 in Linux is with dd; the drawback is that you need to specify length in KB, not time. To chop an MP3 to be 200 KB long, do:</p>
|
||||
<p><code>dd if=Mii\ Channel.mp3 of=MiiChan2.mp3 bs=1k count=200</code></p>
|
||||
<h2 id="phonebook">Phonebook</h2>
|
||||
<p>To make a Phonebook.ldif file from the phone (suitable for import into Thunderbird):</p>
|
||||
<p><code>gnokii --getphonebook ME 1 end --ldif > Phonebook.ldif</code></p>
|
||||
<p>To add the entries in Phonebook.ldif to the phone:</p>
|
||||
<p><code>cat Phonebook.ldif | gnokii --writephonebook -m ME --find-free --ldif</code></p>
|
||||
<p>You can specify <code>--overwrite</code> instead of <code>--find-free</code> if you want to overwrite all the entries, but this will lose some data (e.g. speed dial, preferred numbers).</p>
|
||||
<h2 id="multimedia">Multimedia</h2>
|
||||
<p>You can get photos like this:<br>
|
||||
<code>gnokii --getfile "A:\\predefgallery\\predefphotos\\Image000.jpg"</code><br>
|
||||
They are 640x480 JPG files. (You can also configure the camera so that it takes pictures at 80x96.)</p>
|
||||
<p>You can also store files:<br>
|
||||
<code>gnokii --putfile silly.jpg "A:\\predefgallery\\predefphotos\\silly.jpg"</code><br>
|
||||
These show up on the phone in <code>My Stuff/Images</code>. The files don’t need to be any specific size; they are autoscaled. GIFs probably also work.</p>
|
||||
<p>Videos live here:<br>
|
||||
<code>gnokii --getfile "A:\\predefgallery\\predefvideos\\Video000.3gp"</code><br>
|
||||
VLC seems to be able to play <code>.3gp</code> files, but the audio doesn’t work.</p>
|
||||
<p>Audio recordings live here:<br>
|
||||
<code>gnokii --getfile "A:\\predefgallery\\predefrecordings\\Audio000.amr"</code></p>
|
||||
<p>Unfortunately, nothing I knew of in 2007 (when this page was first written) would play <code>.amr</code> files, but these days (2021) perhaps <code>ffmpeg input.amr output.mp3</code> would work. You might have to use the <code>-ar</code> flag to specify the audio rate. I haven’t actually tried this though!</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<div class="content">
|
||||
© 2021 <a href="/" class="undecorated">Colin McMillen</a>. No cookies, no tracking.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
56
blog/20070807-vim-tips.html
Normal file
56
blog/20070807-vim-tips.html
Normal file
@ -0,0 +1,56 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/png" href="/favicon.ico">
|
||||
<link rel="canonical" href="https://www.mcmillen.dev/blog/20070807-vim-tips.html">
|
||||
<link rel="alternate" type="application/atom+xml" href="https://www.mcmillen.dev/feed.atom" title="Colin McMillen's Blog - Atom">
|
||||
|
||||
<title>Vim Tips | Colin McMillen</title>
|
||||
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&display=block" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Fira+Mono:500&display=block" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/pygments.css">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="page-container">
|
||||
<div id="content-wrap">
|
||||
<div id="header">
|
||||
<div class="content">
|
||||
<a href="/" class="undecorated">Colin McMillen</a>
|
||||
<span style="float: right;"><a href="/feed.atom"><img src="/img/rss.svg" alt="Atom feed" style="width: 17px; height: 17px; margin-bottom: 1px;"></a></span>
|
||||
<span style="float: right;"><a href="https://twitter.com/mcmillen"><img src="/img/twitter.svg" alt="@mcmillen"></a></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h1 id="vim-tips">Vim Tips</h1>
|
||||
<p><em>Posted 2007-08-07.</em></p>
|
||||
<p>Here’s some links about learning/mastering vim.</p>
|
||||
<h2 id="why-use-vim">Why use vim?</h2>
|
||||
<ul>
|
||||
<li><a href="http://blog.ngedit.com/2005/06/03/the-vi-input-model/">The vi input model - laptop keyboards suck</a></li>
|
||||
<li><a href="http://www.viemu.com/a-why-vi-vim.html">Why, oh WHY, do those nutheads use vi?</a></li>
|
||||
</ul>
|
||||
<h2 id="tutorials">Tutorials</h2>
|
||||
<ul>
|
||||
<li><a href="http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html">Graphical vim cheat sheet and tutorial</a> — <a href="http://www.glump.net/dokuwiki/howto/vim_graphical_cheat_sheet">PDF version</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<div class="content">
|
||||
© 2021 <a href="/" class="undecorated">Colin McMillen</a>. No cookies, no tracking.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
63
feed.atom
63
feed.atom
@ -51,6 +51,46 @@
|
||||
<updated>2007-05-22T12:00:00-04:00</updated>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<title>Gnokii Tips</title>
|
||||
<id>https://www.mcmillen.dev/blog/20070522-gnokii-tips.html</id>
|
||||
<link rel="alternate" href="https://www.mcmillen.dev/blog/20070522-gnokii-tips.html"/>
|
||||
<content type="html">
|
||||
<![CDATA[
|
||||
<h1 id="gnokii-tips">Gnokii Tips</h1>
|
||||
<p><em>Posted 2007-05-22, updated 2021-07-01.</em></p>
|
||||
<p>I own a Nokia 6102i phone (provided by Cingular). <a href="http://gnokii.org">gnokii</a> is a Linux program that lets me interface with the phone. Here are some recipes:</p>
|
||||
<h2 id="file-io">File I/O</h2>
|
||||
<p><code>gnokii --getfilelist "A:\\predefgallery\\predeftones\\predefringtones\\*"</code></p>
|
||||
<p><code>gnokii --putfile WiiSports.mp3 "A:\\predefgallery\\predeftones\\predefringtones\\WiiSports.mp3"</code></p>
|
||||
<h2 id="ring-tones">Ring Tones</h2>
|
||||
<p>Voice mail picks up in 20 seconds, so a ring tone should be about 20 seconds long.</p>
|
||||
<p>The easiest way to chop an MP3 in Linux is with dd; the drawback is that you need to specify length in KB, not time. To chop an MP3 to be 200 KB long, do:</p>
|
||||
<p><code>dd if=Mii\ Channel.mp3 of=MiiChan2.mp3 bs=1k count=200</code></p>
|
||||
<h2 id="phonebook">Phonebook</h2>
|
||||
<p>To make a Phonebook.ldif file from the phone (suitable for import into Thunderbird):</p>
|
||||
<p><code>gnokii --getphonebook ME 1 end --ldif > Phonebook.ldif</code></p>
|
||||
<p>To add the entries in Phonebook.ldif to the phone:</p>
|
||||
<p><code>cat Phonebook.ldif | gnokii --writephonebook -m ME --find-free --ldif</code></p>
|
||||
<p>You can specify <code>--overwrite</code> instead of <code>--find-free</code> if you want to overwrite all the entries, but this will lose some data (e.g. speed dial, preferred numbers).</p>
|
||||
<h2 id="multimedia">Multimedia</h2>
|
||||
<p>You can get photos like this:<br>
|
||||
<code>gnokii --getfile "A:\\predefgallery\\predefphotos\\Image000.jpg"</code><br>
|
||||
They are 640x480 JPG files. (You can also configure the camera so that it takes pictures at 80x96.)</p>
|
||||
<p>You can also store files:<br>
|
||||
<code>gnokii --putfile silly.jpg "A:\\predefgallery\\predefphotos\\silly.jpg"</code><br>
|
||||
These show up on the phone in <code>My Stuff/Images</code>. The files don’t need to be any specific size; they are autoscaled. GIFs probably also work.</p>
|
||||
<p>Videos live here:<br>
|
||||
<code>gnokii --getfile "A:\\predefgallery\\predefvideos\\Video000.3gp"</code><br>
|
||||
VLC seems to be able to play <code>.3gp</code> files, but the audio doesn’t work.</p>
|
||||
<p>Audio recordings live here:<br>
|
||||
<code>gnokii --getfile "A:\\predefgallery\\predefrecordings\\Audio000.amr"</code></p>
|
||||
<p>Unfortunately, nothing I knew of in 2007 (when this page was first written) would play <code>.amr</code> files, but these days (2021) perhaps <code>ffmpeg input.amr output.mp3</code> would work. You might have to use the <code>-ar</code> flag to specify the audio rate. I haven’t actually tried this though!</p>
|
||||
]]>
|
||||
</content>
|
||||
<updated>2007-05-22T12:00:00-04:00</updated>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<title>LaTeX Tips</title>
|
||||
<id>https://www.mcmillen.dev/blog/20070522-latex-tips.html</id>
|
||||
@ -88,6 +128,29 @@ PJQNOS+CMSY10 Type 1 yes yes no 12 0
|
||||
<updated>2007-05-22T12:00:00-04:00</updated>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<title>Vim Tips</title>
|
||||
<id>https://www.mcmillen.dev/blog/20070807-vim-tips.html</id>
|
||||
<link rel="alternate" href="https://www.mcmillen.dev/blog/20070807-vim-tips.html"/>
|
||||
<content type="html">
|
||||
<![CDATA[
|
||||
<h1 id="vim-tips">Vim Tips</h1>
|
||||
<p><em>Posted 2007-08-07.</em></p>
|
||||
<p>Here’s some links about learning/mastering vim.</p>
|
||||
<h2 id="why-use-vim">Why use vim?</h2>
|
||||
<ul>
|
||||
<li><a href="http://blog.ngedit.com/2005/06/03/the-vi-input-model/">The vi input model - laptop keyboards suck</a></li>
|
||||
<li><a href="http://www.viemu.com/a-why-vi-vim.html">Why, oh WHY, do those nutheads use vi?</a></li>
|
||||
</ul>
|
||||
<h2 id="tutorials">Tutorials</h2>
|
||||
<ul>
|
||||
<li><a href="http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html">Graphical vim cheat sheet and tutorial</a> — <a href="http://www.glump.net/dokuwiki/howto/vim_graphical_cheat_sheet">PDF version</a></li>
|
||||
</ul>
|
||||
]]>
|
||||
</content>
|
||||
<updated>2007-08-07T12:00:00-04:00</updated>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<title>93% of Paint Splatters are Valid Perl Programs</title>
|
||||
<id>https://www.mcmillen.dev/sigbovik/</id>
|
||||
|
@ -1,5 +1,7 @@
|
||||
https://www.mcmillen.dev/blog/20070522-emacs-tips.html
|
||||
https://www.mcmillen.dev/blog/20070522-gnokii-tips.html
|
||||
https://www.mcmillen.dev/blog/20070522-latex-tips.html
|
||||
https://www.mcmillen.dev/blog/20070807-vim-tips.html
|
||||
https://www.mcmillen.dev/blog/20190403-update.html
|
||||
https://www.mcmillen.dev/blog/20200209-sneak.html
|
||||
https://www.mcmillen.dev/index.html
|
||||
|
Loading…
Reference in New Issue
Block a user