]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.html
Generated.
[homepage.git] / blog / index.html
index ec06925d12cc4b779ff32dc3c0950229a291ad85..efd54582ae3403109d75d9758059a0f80fbba646 100644 (file)
 
 
     
+    <div class="entry">
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Hvordan_enkelt_laste_ned_filmer_fra_NRK.html">Hvordan enkelt laste ned filmer fra NRK</a></div>
+      <div class="date"> 5th November 2011</div>
+      <div class="body"><p>Ofte har jeg lyst til å laste ned et innslag fra NRKs nettsted for
+å se det senere når jeg ikke er på nett, eller for å ha det
+tilgjengelig når jeg en gang i fremtiden ønsker å referere til
+innslaget selv om NRK har fjernet det fra sine nettsider.  I dag fant
+jeg et lite script som fikser jobben.</p>
+
+<p>Scriptet er laget av Jan Henning Thorsen og tilgjengelig fra
+<a href="http://jhthorsen.github.com/snippets/nrk-downloader/">github</a>,
+og gjør det veldig enkelt å laste ned.  Kjør <tt>nrk-downloader.sh
+http://www1.nrk.no/nett-tv/klipp/582810</tt> for å hente ned et enkelt
+innslag eller <tt>nrk-downloader.sh
+http://www1.nrk.no/nett-tv/kategori/3521</tt> for å laste ned alle
+episodene i en serie.</p>
+
+<p>Det er ikke rakettforskning å laste ned NRK-"strømmer", og
+tidligere gjorde jeg dette manuelt med mplayer.  Scriptet til
+Hr. Thorsen gjør det raskere og enklere for meg, men jeg vil ikke si
+at det er en revolusjonerende løsning.  Jeg mener jo fortsatt at
+påstanden fra NRKs ansatte om at det er
+<a href="http://people.skolelinux.org/pere/blog/Best___ikke_fortelle_noen_at_streaming_er_nedlasting___.html">vesensforskjellig
+å legge tilgjengelig for nedlasting og for streaming</a> er
+meningsløs.</p>
+</div>
+      <div class="tags">
+        
+        
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia</a>, <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video">video</a>, <a href="http://people.skolelinux.org/pere/blog/tags/web">web</a>. 
+        
+        
+      </div>
+    </div>
+    <div class="padding"></div>
+    
     <div class="entry">
       <div class="title"><a href="http://people.skolelinux.org/pere/blog/40_kommuner_lenker_n__til_FiksGataMi_fra_sine_nettsider___gj_r_din_.html">40 kommuner lenker nå til FiksGataMi fra sine nettsider - gjør din?</a></div>
       <div class="date">28th October 2011</div>
@@ -546,79 +582,6 @@ temaet</a>.  Alle er hjertelig velkomne som abonnenter.</p>
     </div>
     <div class="padding"></div>
     
-    <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/How_is_booting_into_runlevel_1_different_from_single_user_boots_.html">How is booting into runlevel 1 different from single user boots?</a></div>
-      <div class="date"> 4th August 2011</div>
-      <div class="body"><p>Wouter Verhelst have some
-<a href="http://grep.be/blog/en/retorts/pere_kubuntu_boot">interesting
-comments and opinions</a> on my blog post on
-<a href="http://people.skolelinux.org/pere/blog/What_should_start_from__etc_rcS_d__in_Debian____almost_nothing.html">the
-need to clean up /etc/rcS.d/ in Debian</a> and my blog post about
-<a href="http://people.skolelinux.org/pere/blog/What_is_missing_in_the_Debian_desktop__or_why_my_parents_use_Kubuntu.html">the
-default KDE desktop in Debian</a>.  I only have time to address one
-small piece of his comment now, and though it best to address the
-misunderstanding he bring forward:</p>
-
-<p><blockquote>
-Currently, a system admin has four options: [...] boot to a
-single-user system (by adding 'single' to the kernel command line;
-this runs rcS and rc1 scripts)
-</blockquote></p>
-
-<p>This make me believe Wouter believe booting into single user mode
-and booting into runlevel 1 is the same.  I am not surprised he
-believe this, because it would make sense and is a quite sensible
-thing to believe.  But because the boot in Debian is slightly broken,
-runlevel 1 do not work properly and it isn't the same as single user
-mode.  I'll try to explain what is actually happing, but it is a bit
-hard to explain.</p>
-
-<p>Single user mode is defined like this in /etc/inittab:
-"<tt>~~:S:wait:/sbin/sulogin</tt>".  This means the only thing that is
-executed in single user mode is sulogin.  Single user mode is a boot
-state "between" the runlevels, and when booting into single user mode,
-only the scripts in /etc/rcS.d/ are executed before the init process
-enters the single user state.  When switching to runlevel 1, the state
-is in fact not ending in runlevel 1, but it passes through runlevel 1
-and end up in the single user mode (see /etc/rc1.d/S03single, which
-runs "init -t1 S" to switch to single user mode at the end of runlevel
-1.  It is confusing that the 'S' (single user) init mode is not the
-mode enabled by /etc/rcS.d/ (which is more like the initial boot
-mode).</p>
-
-<p>This summary might make it clearer.  When booting for the first
-time into single user mode, the following commands are executed:
-"<tt>/etc/init.d/rc S; /sbin/sulogin</tt>".  When booting into
-runlevel 1, the following commands are executed: "<tt>/etc/init.d/rc
-S; /etc/init.d/rc 1; /sbin/sulogin</tt>".  A problem show up when
-trying to continue after visiting single user mode.  Not all services
-are started again as they should, causing the machine to end up in an
-unpredicatble state.  This is why Debian admins recommend rebooting
-after visiting single user mode.</p>
-
-<p>A similar problem with runlevel 1 is caused by the amount of
-scripts executed from /etc/rcS.d/.  When switching from say runlevel 2
-to runlevel 1, the services started from /etc/rcS.d/ are not properly
-stopped when passing through the scripts in /etc/rc1.d/, and not
-started again when switching away from runlevel 1 to the runlevels
-2-5.  I believe the problem is best fixed by moving all the scripts
-out of /etc/rcS.d/ that are not <strong>required</strong> to get a
-functioning single user mode during boot.</p>
-
-<p>I have spent several years investigating the Debian boot system,
-and discovered this problem a few years ago.  I suspect it originates
-from when sysvinit was introduced into Debian, a long time ago.</p>
-</div>
-      <div class="tags">
-        
-        
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>. 
-        
-        
-      </div>
-    </div>
-    <div class="padding"></div>
-    
     <p style="text-align: right;"><a href="index.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS feed" width="36" height="14" /></a></p>
     <div id="sidebar">
       
@@ -650,6 +613,8 @@ from when sysvinit was introduced into Debian, a long time ago.</p>
 
 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/10/">October (2)</a></li>
 
+<li><a href="http://people.skolelinux.org/pere/blog/archive/2011/11/">November (1)</a></li>
+
 </ul></li>
 
 <li>2010
@@ -760,9 +725,9 @@ from when sysvinit was introduced into Debian, a long time ago.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (13)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (14)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (138)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (139)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (119)</a></li>
 
@@ -794,11 +759,11 @@ from when sysvinit was introduced into Debian, a long time ago.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/valg">valg (6)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (21)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (22)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (1)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (16)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (17)</a></li>
 
 </ul>