<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>being with you</title>
  <link>https://ceu.dreamwidth.org/</link>
  <description>being with you - Dreamwidth Studios</description>
  <lastBuildDate>Sat, 17 Jan 2026 23:59:25 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>ceu</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/16541320/2782551</url>
    <title>being with you</title>
    <link>https://ceu.dreamwidth.org/</link>
    <width>100</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://ceu.dreamwidth.org/24831.html</guid>
  <pubDate>Sat, 17 Jan 2026 23:59:25 GMT</pubDate>
  <title>How to add a private repository from Github to cPanel Version Control</title>
  <link>https://ceu.dreamwidth.org/24831.html</link>
  <description>&lt;strong&gt;Note:&lt;/strong&gt; Replace all &lt;font color=&quot;red&quot;&gt;RED CAPITALIZED TEXT&lt;/font&gt; with your/your repository&apos;s information.

&lt;p&gt;If using Github Desktop:&lt;/p&gt;
	&lt;ol&gt;&lt;li&gt;In repository (header) &amp;gt; Repository &amp;gt; Repository Settings&lt;/li&gt;
	&lt;li&gt;Remote &amp;gt; Primary Remote Repository (origin) URL&lt;/li&gt;
	&lt;li&gt;Make sure that repository URL is HTTPS://&lt;/li&gt;&lt;/ol&gt;

&lt;p&gt;cPanel Version Control:&lt;/p&gt;
	&lt;ol&gt;&lt;li&gt;Navigate to your website&apos;s cPanel&lt;/li&gt;
	&lt;li&gt;Open Terminal in cPanel&lt;/li&gt;
	&lt;li&gt;Enter these commands in the following order (ENTER after each):&lt;/li&gt;
		&lt;ol&gt;&lt;li&gt;&lt;code&gt;ssh-keygen -t rsa -f ~/.ssh/&lt;font color=&quot;red&quot;&gt;KEYFILENAME&lt;/font&gt; -b 4096 -C &quot;&lt;font color=&quot;red&quot;&gt;USERNAME@ROOT.DOMAIN&lt;/font&gt;&quot;&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;
                &lt;ul&gt;&lt;li&gt;&lt;font color=&quot;red&quot;&gt;KEYFILENAME&lt;/font&gt; can be anything. I advise making it similar if not identical to your repository name.&lt;/li&gt;&lt;/ul&gt;
		&lt;li&gt;&lt;code&gt;touch ~/.ssh/config&lt;/code&gt;&lt;/li&gt;
		&lt;li&gt;&lt;code&gt;chmod 0600 ~/.ssh/config&lt;/code&gt;&lt;/li&gt;
		&lt;li&gt;&lt;code&gt;chown &lt;font color=&quot;red&quot;&gt;USERNAME:USERNAME&lt;/font&gt; ~/.ssh/config&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;
	&lt;li&gt;Navigate to SSH Access &amp;gt; Manage SSH Keys&lt;/li&gt;
		&lt;ol&gt;&lt;li&gt;&lt;font color=&quot;red&quot;&gt;REPOSITORY&lt;/font&gt; Key &amp;gt; Manage &amp;gt; Authorize&lt;/li&gt;
		&lt;li&gt;&lt;font color=&quot;red&quot;&gt;REPOSITORY&lt;/font&gt; Key &amp;gt; View/Download &amp;gt; Copy key&lt;/li&gt;&lt;/ol&gt;
	&lt;li&gt;Navigate to &lt;font color=&quot;red&quot;&gt;your Github&lt;/font&gt; &amp;gt; &lt;font color=&quot;red&quot;&gt;Repository&lt;/font&gt; &amp;gt; Settings&lt;/li&gt;
		&lt;ol&gt;&lt;li&gt;Deploy Keys &amp;gt; Add deploy key&lt;/li&gt;
		&lt;li&gt;Title: &lt;code&gt;[anything]&lt;/code&gt;&lt;/li&gt;
		&lt;li&gt;Key: &lt;em&gt;[paste from earlier (&quot;copy key&quot;)]&lt;/em&gt;&lt;/li&gt;
			&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Allow write access&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;
	&lt;li&gt;Navigate to your website&apos;s cPanel &amp;gt; File Manager&lt;/li&gt;
		&lt;ol&gt;&lt;li&gt;Navigate to &lt;code&gt;.ssh&lt;/code&gt; (folder) &amp;gt; &lt;code&gt;config&lt;/code&gt; (file)&lt;/li&gt;
		&lt;li&gt;Add to file:&lt;pre&gt;
                        Host &lt;font color=&quot;red&quot;&gt;REPOSITORY&lt;/font&gt;.github.com
   			User git
			Hostname github.com
			IdentityFile ~/.ssh/&lt;font color=&quot;red&quot;&gt;KEYFILENAME&lt;/font&gt;
    			IdentitiesOnly yes&lt;/pre&gt;&lt;/li&gt;
		&lt;li&gt;Save and close&lt;/li&gt;&lt;/ol&gt;
	&lt;li&gt;Navigate back to cPanel Terminal&lt;/li&gt;
		&lt;ul&gt;&lt;li&gt;Test if the repository works with &lt;code&gt;ssh -Tv git@&lt;font color=&quot;red&quot;&gt;REPOSITORY&lt;/font&gt;.github.com&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;If it outputs by saying &lt;code&gt;Hi &lt;font color=&quot;red&quot;&gt;REPOSITORY/USERNAME&lt;/font&gt;&lt;/code&gt; then it&apos;s successful. Don&apos;t worry about additional messages.&lt;/li&gt;&lt;/ul&gt;
	&lt;li&gt;Navigate to GitVersion Control&lt;/li&gt;
		&lt;ol&gt;&lt;li&gt;&lt;strong&gt;Create&lt;/strong&gt; the repository&lt;/li&gt;
		&lt;li&gt;For the repository URL, make sure the format is:
			&lt;code&gt;ssh://&lt;font color=&quot;red&quot;&gt;REPOSITORY&lt;/font&gt;.github.com/&lt;font color=&quot;red&quot;&gt;USERNAME&lt;/font&gt;/&lt;font color=&quot;red&quot;&gt;REPOSITORY&lt;/font&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;

&lt;p&gt;Then you&apos;re done! All updates pulled from Github Version Control in cPanel should now work with your private repository :)&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=ceu&amp;ditemid=24831&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://ceu.dreamwidth.org/24831.html</comments>
  <category>codes</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://ceu.dreamwidth.org/23939.html</guid>
  <pubDate>Fri, 01 Aug 2025 02:48:17 GMT</pubDate>
  <title>Javascript Atom feed reader</title>
  <link>https://ceu.dreamwidth.org/23939.html</link>
  <description>Here&apos;s the Javascript code I use to echo an HTML version of my &lt;a href=&quot;https://kingdra.net/feed.xml&quot;&gt;atom feed&lt;/a&gt; to my &lt;a href=&quot;https://kingdra.net/pages/updates&quot;&gt;updates page&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;cut-wrapper&quot;&gt;&lt;span style=&quot;display: none;&quot; id=&quot;span-cuttag___1&quot; class=&quot;cuttag&quot;&gt;&lt;/span&gt;&lt;b class=&quot;cut-open&quot;&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;cut-text&quot;&gt;&lt;a href=&quot;https://ceu.dreamwidth.org/23939.html#cutid1&quot;&gt;Read more...&lt;/a&gt;&lt;/b&gt;&lt;b class=&quot;cut-close&quot;&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style=&quot;display: none;&quot; id=&quot;div-cuttag___1&quot; aria-live=&quot;assertive&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=ceu&amp;ditemid=23939&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://ceu.dreamwidth.org/23939.html</comments>
  <category>codes</category>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://ceu.dreamwidth.org/23261.html</guid>
  <pubDate>Tue, 18 Feb 2025 16:17:48 GMT</pubDate>
  <title>Javascript for changing image and text at the same time on click</title>
  <link>https://ceu.dreamwidth.org/23261.html</link>
  <description>I don&apos;t write a lot of Javascript code, but &lt;a href=&quot;https://situations.neocities.org&quot;&gt;a friend&lt;/a&gt; wanted some help with website stuff and I&apos;m always happy to help, so I wrote some code for her. I&apos;m sharing it here for archival reasons, but also if anyone happens to stop by and is interested in implementing this logic themselves. &lt;br /&gt;&lt;br /&gt;You will need some familiarity with HTML, CSS, and algorithmic code for this. I will not be explaining it in detail here.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What this code does:&lt;/b&gt; For each in-page click with the corresponding ID, a random image will be selected and changed per click. At the same time, text elsewhere on the page will also change, per the webmaster&apos;s preset settings.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What this code is for:&lt;/b&gt; Websites that utilize iframes as internal navigation, in order to allow the title of the page, not within the iframe, to change; simultaneously this allows the random image to change with each new iframe navigation without leaving or refreshing the page.&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;cut-wrapper&quot;&gt;&lt;span style=&quot;display: none;&quot; id=&quot;span-cuttag___1&quot; class=&quot;cuttag&quot;&gt;&lt;/span&gt;&lt;b class=&quot;cut-open&quot;&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;cut-text&quot;&gt;&lt;a href=&quot;https://ceu.dreamwidth.org/23261.html#cutid1&quot;&gt;Read more...&lt;/a&gt;&lt;/b&gt;&lt;b class=&quot;cut-close&quot;&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style=&quot;display: none;&quot; id=&quot;div-cuttag___1&quot; aria-live=&quot;assertive&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=ceu&amp;ditemid=23261&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://ceu.dreamwidth.org/23261.html</comments>
  <category>codes</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>
