<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.johnharrison.cc/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.johnharrison.cc/feed.php">
        <title>wiki - lwc:programming</title>
        <description></description>
        <link>https://wiki.johnharrison.cc/</link>
        <image rdf:resource="https://wiki.johnharrison.cc/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-01T15:57:38+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:bash&amp;rev=1762740051&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:box2d&amp;rev=1606451224&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:css3&amp;rev=1606451253&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:git&amp;rev=1735086236&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:googlescripts&amp;rev=1612213814&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:html5&amp;rev=1606451314&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:javascript&amp;rev=1742324311&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:php&amp;rev=1606451994&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:puredata&amp;rev=1646019686&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:python&amp;rev=1672423085&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:responsive&amp;rev=1606452063&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:selenium&amp;rev=1668803877&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:spark.io&amp;rev=1606452089&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.johnharrison.cc/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>wiki</title>
        <link>https://wiki.johnharrison.cc/</link>
        <url>https://wiki.johnharrison.cc/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:bash&amp;rev=1762740051&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-10T02:00:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bash</title>
        <link>https://wiki.johnharrison.cc/doku.php?id=lwc:programming:bash&amp;rev=1762740051&amp;do=diff</link>
        <description>Comments:

Put: : &lt;&#039;COMMENTBLOCK_ORWHATEVERYOUWANTTOCALLME&#039;

before the block and put:

COMMENTBLOCK_ORWHATEVERYOUWANTTOCALLME

after the block

DISPLAY SETTINGS:

	*  xrandr example: xrandr --output HDMI1 --mode 1280×1024 --right-of eDP1
	*  change</description>
    </item>
    <item rdf:about="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:box2d&amp;rev=1606451224&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-27T04:27:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>box2d</title>
        <link>https://wiki.johnharrison.cc/doku.php?id=lwc:programming:box2d&amp;rev=1606451224&amp;do=diff</link>
        <description>tutorial




Testbed

running:

	*  
	*  cd Testbed
	*  ../Build/bin/x86_64/Debug/Testbed

cmds:

	*  Move the view around - arrow keys or drag with right mouse button
	*  Zoom the view - z,x keys
	*  Grab objects in the scene - left mouse button
	*  Launch a bomb into the scene from a random location - space bar</description>
    </item>
    <item rdf:about="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:css3&amp;rev=1606451253&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-27T04:27:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>css3</title>
        <link>https://wiki.johnharrison.cc/doku.php?id=lwc:programming:css3&amp;rev=1606451253&amp;do=diff</link>
        <description>different div shapes (circle, star, oval, etc.)



Animation

	*  rotating platter
	*  element along a circle

Limit the animations to scale, position, opacity, rotation and things are fast, as explained here.

&lt;http://net.tutsplus.com/tutorials/html-css-techniques/say-hello-to-css3-filters/&gt;

&lt;http://html5-demos.appspot.com/static/css/filters/index.html&gt;




	*  Loading correct image for retina display (see tip 1 and using @media)
	*  making sites printer friendly with css
	*  using @import to …</description>
    </item>
    <item rdf:about="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:git&amp;rev=1735086236&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-25T00:23:56+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>git</title>
        <link>https://wiki.johnharrison.cc/doku.php?id=lwc:programming:git&amp;rev=1735086236&amp;do=diff</link>
        <description> what                                                                                                   cmd                                                                                         comments</description>
    </item>
    <item rdf:about="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:googlescripts&amp;rev=1612213814&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-01T21:10:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>googlescripts</title>
        <link>https://wiki.johnharrison.cc/doku.php?id=lwc:programming:googlescripts&amp;rev=1612213814&amp;do=diff</link>
        <description>get active sheet

get sheet by GID


function mainDeal() {
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var sourceSheet = getSheetByGid(ss, &lt;PUT GID HERE&gt;);
}

function getSheetByGid(spreadsheet, gid){
    gid = +gid || 0;
    var res_ = undefined;
    var sheets_ = spreadsheet.getSheets();
    for(var i = sheets_.length; i--; ){
        if(sheets_[i].getSheetId() === gid){
            res_ = sheets_[i];
            break;
        }
    }
    return res_;
}</description>
    </item>
    <item rdf:about="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:html5&amp;rev=1606451314&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-27T04:28:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>html5</title>
        <link>https://wiki.johnharrison.cc/doku.php?id=lwc:programming:html5&amp;rev=1606451314&amp;do=diff</link>
        <description>Image mapping will create multiple clickable regions of various shapes on top of an image.</description>
    </item>
    <item rdf:about="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:javascript&amp;rev=1742324311&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-18T18:58:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>javascript</title>
        <link>https://wiki.johnharrison.cc/doku.php?id=lwc:programming:javascript&amp;rev=1742324311&amp;do=diff</link>
        <description>*  you don&#039;t have to use var but if you don&#039;t the variable is defined globally (although it still can be deleted.) Seems like bad practice.
	*  everything appears to be call-by-value except for arrays and other objects, like functions. So if you wanted to change variable a you could make a an array and send the array.</description>
    </item>
    <item rdf:about="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:php&amp;rev=1606451994&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-27T04:39:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>php</title>
        <link>https://wiki.johnharrison.cc/doku.php?id=lwc:programming:php&amp;rev=1606451994&amp;do=diff</link>
        <description>*  echo “hello world display”;
	*  error_log(“hello world to error log”);

ways of escaping with strings, quotes, etc.:

	*  https://gist.github.com/jacobwalker0814/bba3aaca9ea0df6735ed

Install php7.2, 7.3 on 16.04</description>
    </item>
    <item rdf:about="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:puredata&amp;rev=1646019686&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-02-28T03:41:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>puredata</title>
        <link>https://wiki.johnharrison.cc/doku.php?id=lwc:programming:puredata&amp;rev=1646019686&amp;do=diff</link>
        <description>Installing

Gallium 3.1 (xubuntu 18.04 with no pulseaudio)

 * Pd seems to have trouble finding the alsa sound card

	*  Apparently ALSA Pd can only see sound card 0 so make your Pd sound card 0
	*  Use JACK.

Ubuntu 20.04

 * 

General

 * get real-time priority working

Building

 * Purr Data source with instructions for building on all platforms (including Win32/64)</description>
    </item>
    <item rdf:about="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:python&amp;rev=1672423085&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-12-30T17:58:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python</title>
        <link>https://wiki.johnharrison.cc/doku.php?id=lwc:programming:python&amp;rev=1672423085&amp;do=diff</link>
        <description>Communicating between classes: PyQt

	*  you will have a Window class (view) and a “back end” class (controller)
	*  The controller cannot call a method in the view to change the view
	*  instead the view has to connect to a signal that the controller has. The controller will</description>
    </item>
    <item rdf:about="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:responsive&amp;rev=1606452063&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-27T04:41:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>responsive</title>
        <link>https://wiki.johnharrison.cc/doku.php?id=lwc:programming:responsive&amp;rev=1606452063&amp;do=diff</link>
        <description>*  http://stackoverflow.com/questions/11736363/responsive-images-with-css</description>
    </item>
    <item rdf:about="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:selenium&amp;rev=1668803877&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-11-18T20:37:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>selenium</title>
        <link>https://wiki.johnharrison.cc/doku.php?id=lwc:programming:selenium&amp;rev=1668803877&amp;do=diff</link>
        <description>* listen to a js event</description>
    </item>
    <item rdf:about="https://wiki.johnharrison.cc/doku.php?id=lwc:programming:spark.io&amp;rev=1606452089&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-27T04:41:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>spark.io</title>
        <link>https://wiki.johnharrison.cc/doku.php?id=lwc:programming:spark.io&amp;rev=1606452089&amp;do=diff</link>
        <description>General:

	*  Spark must exit loop function early and often
	*  reset spark: Hold down both buttons, then release the RST button, while holding down the MODE button. The LED should begin flashing yellow. Continue holding down the MODE button until you see the Core change from flashing yellow to flashing white. Then release the button. The Core should begin flashing blue after the factory reset is complete.</description>
    </item>
</rdf:RDF>
