Create second GitHub account to choose name of gh-pages blog - github-pages

I have a small personal blog created for free on wordpress.com. I'd like to convert it into static blog (powered by pelican) and move it to GitHub pages.
The wordpress blog already has a name, which I'd like to save. Unfortunately, my personal account's name is completely unrelated to the name of the blog. So I cannot achieve what I want due to fixed naming scheme {username}.github.io.
I wonder: is it OK for me to create second GitHub account for the only purpose of hosting my gh-pages blog on it? Or it goes against GitHub rules?
P.S. I know that it is possible to buy and use a custom domain outside of GitHub.

I recommend migrating to GitHub and then using Netlify's free hosting plan. It's easy to host your GitHub repo. on Netlify. Once you've done that, you can change the Site Name property in the Netlify settings. Then your new URL would be https://{your-blog-name}.netlify.com assuming it wasn't taken.
As to your question, here are the relevant Terms of Service from GitHub:
Your login may only be used by one person — i.e., a single login may not be shared by multiple people. A paid organization account may create separate logins for as many users as its subscription allows.
Overall, the number of Users must not exceed the number of accounts you've ordered from us.
- https://help.github.com/articles/github-terms-of-service/#2-account-requirements
It looks like it isn't against their terms. Tons of people do it and I don't think they really care.
I recommend against making multiple GitHub accounts because it makes things confusing especially when differentiating between which account you're using to develop locally.

Related

cannot publish my github page at the correct address

I am trying to set up my personal page on Github.
However, my page is only published at: https://xuxy09.github.io/xuxy09/, while the desired address is https://xuxy09.github.io.
Could you please let me know how to fix this?
Issue addressed. The repository name should be "xuxy09.github.io" instead of "xuxy09".
That is described in "Types of GitHub Pages sites"
To publish a user site, you must create a repository owned by your user account that's named <username>.github.io.
Unless you're using a custom domain, project sites are available at http(s)://<username>.github.io/<repository>
In your case, a repo named xuxy09 is a Project site.
While xuxy09.github.io would be, indeed, a User site.

How to forward my domain registered with AWS Route53 to Google My Business?

My domain: fishercoder.com is registered with AWS Route53.
Now I'd like to configure Google My Business to use this domain.
I searched on Google's doc and found that they do offer clear instructions on how to purchase a new domain through them, for third-party domain they listed instructions for GoDaddy, eNom and Network Solutions, but none for AWS Route53.
I thought it might be similar, so I tried to simulate what I can do on AWS Route 53 console, but didn't find any luck.
Any could share any ideas how to achieve this?
More details:
Right now, when people search "fisher coder", this page shows up: https://ibb.co/pRWjRc9, and if they click Website, it'll take them to the default Google My Business website which is not what I desired, I'd like to change it to point to my own domain: fishercoder.com
Thanks!
You can do it but it’s not a pretty solution. Not only that but a Google My Business Site (I assume this is what you mean) is so basic it’s not a good website replacement at all. It’s a good free option to set up because it’s free but other than that, it’s meant to keep people in Google, not to help you. You can only map custom domain buy from from business sites option given there.
Here’s how you do it:
Buy a domain wherever you prefer (I like Namecheap but Google Domains is also a good option).
Forward the domain to the Google Sites URL (many registrars will allow you to do this for free).
That’s it!
It’s not a pretty solution nor ideal because the URL of the Google Site will still be the original URL and they won’t stay on your custom domain at all.
So, simple description: if someone types in http://customdomain.com they will get forwarded to your Google URL and remain on that URL. It essentially just forwards to your Google Site, that’s it.
In AWS routes you will get option to forward domain. https://aws.amazon.com/premiumsupport/knowledge-center/redirect-domain-route-53/
This all information based on own experiment and study based on below link
Reference info : https://www.quora.com/How-can-I-attach-a-custom-domain-to-a-Google-Sites-website

Parallel website running to my original website

We have been working on a gaming website. Recently while making note of the major traffic sources I noticed a website that I found to be a carbon-copy of our website. It uses our logo,everything same as ours but a different domain name. It cannot be, that domain name is pointing to our domain name. This is because at several places links are like ccwebsite/our-links. That website even has links to some images as ccwebsite/our-images.
What has happened ? How could have they done that ? What can I do to stop this ?
There are a number of things they might have done to copy your site, including but not limited to:
Using a tool to scrape a complete copy of your site and place it on their server
Use their DNS name to point to your site
Manually re-create your site as their own
Respond to requests to their site by scraping yours real-time and returning that as the response
etc.
What can I do to stop this?
Not a whole lot. You can try to prevent direct linking to your content by requiring referrer headers for your images and other resources so that requests need to come from pages you serve, but 1) those can be faked and 2) not all browsers will send those so you'd break a small percentage of legitimate users. This also won't stop anybody from copying content, just from "deep linking" to it.
Ultimately, by having a website you are exposing that information to the internet. On a technical level anybody can get that information. If some information should be private you can secure that information behind a login or other authorization measures. But if the information is publicly available then anybody can copy it.
"Stopping this" is more of a legal/jurisdictional/interpersonal concern than a technical one I'm afraid. And Stack Overflow isn't in a position to offer that sort of advice.
You could run your site with some lightweight authentication. Just issue a cookie passively when they pull a page, and require the cookie to get access to resources. If a user visits your site and then the parallel site, they'll still be able to get in, but if a user only knows about the parallel site and has never visited the real site, they will just see a crap ton of broken links and images. This could be enough to discourage your doppelganger from keeping his site up.
Another (similar but more complex) option is to implement a CSRF mitigation. Even though this isn't a CSRF situation, the same mitigation will work. Essentially you'd issue a cookie as described above, but in addition insert the cookie value in the URLs for everything and require them to match. This requires a bit more work (you'll need a filter or module inserted into the pipeline) but will keep out everybody except your own users.

Alfresco Share Customization Limitations

We have chosen Alfresco for our project because Alfresco meets most of the functional requirements we need.
Share is a great app, nevertheless it has too much functionality for our scenario, much more than we need in our project. This is the reason of posting this question, we don't know what's the best option: either customize Share creating custom pages, custom dashboard, custom actions and metadata etc. or create a new web application that interacts with the repository.
Roughly, we have these requirements:
Custom header with custom menu, disabling direct access to Repository (users only can collaborate using Sites)
Custom dashboard that contains
On the left, list of Sites
On the center, custom dashlets which shows several content in different ways and formats
One of the dashlet would be a "dynamic" dashlet as I explain in my last question
Custom document details page, with custom actions and custom metadata
I would like to know opinions based on experience, explaining when and why would be a good idea to create a new web app that interacts with the Alfresco repository or when to customize Share according to your needs. I'm highly interested on knowing Share customization limits.
Thanks.
Alfresco Share doesn't really have any limitations, it's already an UI built upon the repository.
I've seen Share modification till the sky and one can't even see it's Share any more.
The things you've described above are just templating and building the rightfully freemarker templates/js to view the piece of information.
If you take a good look at the default templates with their regions and shift around the default regions you'll see that you don't need heavy customizations to achieve a different layout.
The only thing one probably lacks is experience with Share.

pinax account types

What is the best way to add custom account types in Pinax? For example, I want a Free account, and a Premium Account. However, this is not supported by the Pinax models.
Does this mean I have to fork the Pinax project? There must be an easier way. Thanks
The pinax.apps.account app is meant to handle private/system type settings like Language choice, Time Zone setting, etc. for a given user.
What you are talking about would require you build an app for you project. It would likely be specific to your domain as well as the payment provider you are planning on using.