<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2017-01-22:2782551</id>
  <title>being with you</title>
  <subtitle>already feels like freedom</subtitle>
  <author>
    <name>Arrow</name>
  </author>
  <link rel="alternate" type="text/html" href="https://ceu.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://ceu.dreamwidth.org/data/atom"/>
  <updated>2026-01-17T23:59:25Z</updated>
  <dw:journal username="ceu" type="personal"/>
  <entry>
    <id>tag:dreamwidth.org,2017-01-22:2782551:24831</id>
    <link rel="alternate" type="text/html" href="https://ceu.dreamwidth.org/24831.html"/>
    <link rel="self" type="text/xml" href="https://ceu.dreamwidth.org/data/atom/?itemid=24831"/>
    <title>How to add a private repository from Github to cPanel Version Control</title>
    <published>2026-01-17T23:59:25Z</published>
    <updated>2026-01-17T23:59:25Z</updated>
    <category term="codes"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">&lt;strong&gt;Note:&lt;/strong&gt; Replace all &lt;font color="red"&gt;RED CAPITALIZED TEXT&lt;/font&gt; with your/your repository'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'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="red"&gt;KEYFILENAME&lt;/font&gt; -b 4096 -C "&lt;font color="red"&gt;USERNAME@ROOT.DOMAIN&lt;/font&gt;"&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;
                &lt;ul&gt;&lt;li&gt;&lt;font color="red"&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="red"&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="red"&gt;REPOSITORY&lt;/font&gt; Key &amp;gt; Manage &amp;gt; Authorize&lt;/li&gt;
		&lt;li&gt;&lt;font color="red"&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="red"&gt;your Github&lt;/font&gt; &amp;gt; &lt;font color="red"&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 ("copy key")]&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'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="red"&gt;REPOSITORY&lt;/font&gt;.github.com
   			User git
			Hostname github.com
			IdentityFile ~/.ssh/&lt;font color="red"&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="red"&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="red"&gt;REPOSITORY/USERNAME&lt;/font&gt;&lt;/code&gt; then it's successful. Don'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="red"&gt;REPOSITORY&lt;/font&gt;.github.com/&lt;font color="red"&gt;USERNAME&lt;/font&gt;/&lt;font color="red"&gt;REPOSITORY&lt;/font&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;

&lt;p&gt;Then you'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="https://www.dreamwidth.org/tools/commentcount?user=ceu&amp;ditemid=24831" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2017-01-22:2782551:23939</id>
    <link rel="alternate" type="text/html" href="https://ceu.dreamwidth.org/23939.html"/>
    <link rel="self" type="text/xml" href="https://ceu.dreamwidth.org/data/atom/?itemid=23939"/>
    <title>Javascript Atom feed reader</title>
    <published>2025-08-01T02:48:17Z</published>
    <updated>2025-08-01T04:10:00Z</updated>
    <category term="codes"/>
    <dw:security>public</dw:security>
    <dw:reply-count>1</dw:reply-count>
    <content type="html">Here's the Javascript code I use to echo an HTML version of my &lt;a href="https://kingdra.net/feed.xml"&gt;atom feed&lt;/a&gt; to my &lt;a href="https://kingdra.net/pages/updates"&gt;updates page&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://ceu.dreamwidth.org/23939.html#cutid1"&gt;Read more...&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=ceu&amp;ditemid=23939" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2017-01-22:2782551:23261</id>
    <link rel="alternate" type="text/html" href="https://ceu.dreamwidth.org/23261.html"/>
    <link rel="self" type="text/xml" href="https://ceu.dreamwidth.org/data/atom/?itemid=23261"/>
    <title>Javascript for changing image and text at the same time on click</title>
    <published>2025-02-18T16:17:48Z</published>
    <updated>2025-02-27T18:23:55Z</updated>
    <category term="codes"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">I don't write a lot of Javascript code, but &lt;a href="https://situations.neocities.org"&gt;a friend&lt;/a&gt; wanted some help with website stuff and I'm always happy to help, so I wrote some code for her. I'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'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="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://ceu.dreamwidth.org/23261.html#cutid1"&gt;Read more...&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=ceu&amp;ditemid=23261" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
