Skip to content

Commit

Permalink
https/articles cleanup (freeCodeCamp#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouncey authored and systimotic committed Sep 11, 2017
1 parent bc38aa1 commit e2451f6
Show file tree
Hide file tree
Showing 17 changed files with 35 additions and 32 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# freeCodeCamp Guides
The freeCodeCamp community is building a massive, searchable "Guide." This reference tool will eventually include thousands of articles that cover all areas of development, design, and data science - all written to be easily understood by people new to coding.

This repo is where we plan and maintain these guide articles, which we then host on our community's wiki-like [guides website](http://guide.freecodecamp.org).
This repo is where we plan and maintain these guide articles, which we then host on our community's wiki-like [guides website](https://guide.freecodecamp.org).

**Table of Contents**

Expand All @@ -18,7 +18,7 @@ Guide articles can be an explanation of a syntax, design pattern, what aria labe
## What can I write an article about?
We welcome your help writing these articles. You don't have to be an expert in a topic to write about it - this entire guide is open source, so even if you make a mistake, another contributor will eventually correct it.

To help, find a `stub article` on our [guides website](http://guide.freecodecamp.org/), write the article, then open a pull request (PR) to replace the stub with your article.
To help, find a `stub article` on our [guides website](https://guide.freecodecamp.org/), write the article, then open a pull request (PR) to replace the stub with your article.

If you can't find a stub about the topic you'd like to write about, you can open a PR that creates the stub and includes your draft article. Feel free to ask us questions if you're not sure where to put a new article in the directory structure.

Expand Down
2 changes: 1 addition & 1 deletion _normaliseArticles.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function normaliseLinks(content) {
.filter(x => x.match(httpsRE))
.map(str => {
// raw will look like:
// [ '[guides website', 'http://guide.freecodecamp.org)' ]
// [ '[guides website', 'https://guide.freecodecamp.org)' ]
const raw = str.slice(0).split('](');
const formatted = [ raw[0].replace('[', ''), raw[1].replace(')', '') ];
const [ childText, url ] = formatted;
Expand Down
7 changes: 5 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
siteMetadata: {
siteUrl: 'http://guide.freecodecamp.org',
siteUrl: 'https://guide.freecodecamp.org',
title: 'freeCodeCamp Guides'
},
plugins: [
Expand All @@ -15,7 +15,10 @@ module.exports = {
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: ['gatsby-remark-smartypants', 'gatsby-remark-prismjs']
plugins: [
'gatsby-remark-smartypants',
'gatsby-remark-prismjs'
]
}
},
'gatsby-plugin-sitemap',
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/components/search/redux/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createAction, handleActions } from 'redux-actions';

const initialState = {
isSearching: false,
lastPage: '/articles',
lastPage: '/',
results: [],
searchTerm: ''
};
Expand Down
2 changes: 1 addition & 1 deletion src/pages/404.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function FourOhFour() {
<h3>404 - Page not found</h3>
<p>The page you were looking for could not be found.</p>
<p>You can try searching for something, or</p>
<Link to={ '/articles' }>
<Link to={ '/' }>
<Button
bsSize='large'
className='button'
Expand Down
2 changes: 1 addition & 1 deletion src/pages/bootstrap/bootstrap-get-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Bootstrap Get Started

Bootstrap is a responsive web design framework originally created by designers at Twitter.

Among other things, it offers a set of <a href='http://guide.freecodecamp.org/articles/bootstrap/bootstrap-icons' target='_blank' rel='nofollow'>icons</a>.
Among other things, it offers a set of <a href='/bootstrap/bootstrap-icons'>icons</a>.

#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->
Expand Down
2 changes: 1 addition & 1 deletion src/pages/certificates/make-a-person/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ Often the code would not work the way you expect it due to wrong variable names,
* Categorize the solution in one of the following categories — **Basic**, **Intermediate** and **Advanced**. ![:traffic_light:](https://forum.freecodecamp.com/images/emoji/emoji_one/traffic_light.png?v=3 ":traffic_light:")
* Please add your username only if you have added any **relevant main contents**. (![:warning:](https://forum.freecodecamp.com/images/emoji/emoji_one/warning.png?v=3 ":warning:") **_DO NOT_** _remove any existing usernames_)

> See ![:point_right:](https://forum.freecodecamp.com/images/emoji/emoji_one/point_right.png?v=3 ":point_right:") <a href='http://forum.freecodecamp.com/t/algorithm-article-template/14272' target='_blank' rel='nofollow'>**`Wiki Challenge Solution Template`**</a> for reference.
> See ![:point_right:](https://forum.freecodecamp.com/images/emoji/emoji_one/point_right.png?v=3 ":point_right:") <a href='https://forum.freecodecamp.com/t/algorithm-article-template/14272' target='_blank' rel='nofollow'>**`Wiki Challenge Solution Template`**</a> for reference.
6 changes: 3 additions & 3 deletions src/pages/certificates/repeat-a-string/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Make the variable created store the current value and append the word to it.
#### Relevant Links

* <a>JS while Loop</a>
* <a href='http://forum.freecodecamp.com/t/javascript-for-loop/14666s-Explained' target='_blank' rel='nofollow'>JS For Loops Explained</a>
* <a href='https://forum.freecodecamp.com/t/javascript-for-loop/14666s-Explained' target='_blank' rel='nofollow'>JS For Loops Explained</a>

## ![:sunflower:](https://forum.freecodecamp.com/images/emoji/emoji_one/sunflower.png?v=3 ":sunflower:") Intermediate Code Solution:

Expand Down Expand Up @@ -103,7 +103,7 @@ Make the variable created store the current value and append the word to it.

#### Relevant Links

* <a href='http://forum.freecodecamp.com/t/javascript-ternary-operator/15973' target='_blank' rel='nofollow'>JS Ternary</a>
* <a href='https://forum.freecodecamp.com/t/javascript-ternary-operator/15973' target='_blank' rel='nofollow'>JS Ternary</a>

## ![:clipboard:](https://forum.freecodecamp.com/images/emoji/emoji_one/clipboard.png?v=3 ":clipboard:") NOTES FOR CONTRIBUTIONS:

Expand All @@ -112,4 +112,4 @@ Make the variable created store the current value and append the word to it.
* Categorize the solution in one of the following categories — **Basic**, **Intermediate** and **Advanced**. ![:traffic_light:](https://forum.freecodecamp.com/images/emoji/emoji_one/traffic_light.png?v=3 ":traffic_light:")
* Please add your username only if you have added any **relevant main contents**. (![:warning:](https://forum.freecodecamp.com/images/emoji/emoji_one/warning.png?v=3 ":warning:") **_DO NOT_** _remove any existing usernames_)

> See ![:point_right:](https://forum.freecodecamp.com/images/emoji/emoji_one/point_right.png?v=3 ":point_right:") <a href='http://forum.freecodecamp.com/t/algorithm-article-template/14272' target='_blank' rel='nofollow'>**`Wiki Challenge Solution Template`**</a> for reference.
> See ![:point_right:](https://forum.freecodecamp.com/images/emoji/emoji_one/point_right.png?v=3 ":point_right:") <a href='https://forum.freecodecamp.com/t/algorithm-article-template/14272' target='_blank' rel='nofollow'>**`Wiki Challenge Solution Template`**</a> for reference.
6 changes: 3 additions & 3 deletions src/pages/certificates/sum-all-primes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Generate a list of all the numbers up to and including the one you got as a para
## ![:speech_balloon:](https://forum.freecodecamp.com/images/emoji/emoji_one/speech_balloon.png?v=3 ":speech_balloon:") Hint: 2

Check this <a href='http://stackoverflow.com/questions/11966520/how-to-find-prime-numbers-between-0-100' target='_blank' rel='nofollow'>link</a> if you prefer to find a solution for finding primes, or try learning and implementing your own <a href='https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes' target='_blank' rel='nofollow'>Sieve of Eratosthenes</a>
Check this <a href='https://stackoverflow.com/questions/11966520/how-to-find-prime-numbers-between-0-100' target='_blank' rel='nofollow'>link</a> if you prefer to find a solution for finding primes, or try learning and implementing your own <a href='https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes' target='_blank' rel='nofollow'>Sieve of Eratosthenes</a>

> _try to solve the problem now_
Expand Down Expand Up @@ -84,7 +84,7 @@ This problem is hard if you have to create your own code to check for primes, so

#### Relevant Links

* <a href='http://forum.freecodecamp.com/t/javascript-for-loop/14666s-Explained' target='_blank' rel='nofollow'>JS For Loops Explained</a>
* <a href='https://forum.freecodecamp.com/t/javascript-for-loop/14666s-Explained' target='_blank' rel='nofollow'>JS For Loops Explained</a>

## ![:sunflower:](https://forum.freecodecamp.com/images/emoji/emoji_one/sunflower.png?v=3 ":sunflower:") Intermediate Code Solution:

Expand Down Expand Up @@ -173,4 +173,4 @@ This problem is hard if you have to create your own code to check for primes, so
* Add an explanation of your solution.
* Categorize the solution in one of the following categories — **Basic**, **Intermediate** and **Advanced**. ![:traffic_light:](https://forum.freecodecamp.com/images/emoji/emoji_one/traffic_light.png?v=3 ":traffic_light:")

> See ![:point_right:](https://forum.freecodecamp.com/images/emoji/emoji_one/point_right.png?v=3 ":point_right:") <a href='http://forum.freecodecamp.com/t/algorithm-article-template/14272' target='_blank' rel='nofollow'>**`Wiki Challenge Solution Template`**</a> for reference.
> See ![:point_right:](https://forum.freecodecamp.com/images/emoji/emoji_one/point_right.png?v=3 ":point_right:") <a href='https://forum.freecodecamp.com/t/algorithm-article-template/14272' target='_blank' rel='nofollow'>**`Wiki Challenge Solution Template`**</a> for reference.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ As you might have guessed by now is that our code is actually a script that does
We must leverage `Source Maps` to assign a name to the JavaScript from our editor. Its pretty simple:

Lets say we are on the <a href='http://www.freecodecamp.com/challenges/factorialize-a-number' target='_blank' rel='nofollow'>Factorialize</a> challenge, and our code looks like this:
Lets say we are on the <a href='https://www.freecodecamp.com/challenges/factorialize-a-number' target='_blank' rel='nofollow'>Factorialize</a> challenge, and our code looks like this:

function factorialize(num) {
if(num <= 1){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Please note that Free Code Camp is not partnered with, nor do we receive a refer
* <a href='https://www.squarespace.com/' target='_blank' rel='nofollow'>https://www.squarespace.com/</a>
* <a href='https://wordpress.com/' target='_blank' rel='nofollow'>https://wordpress.com/</a>
* <a href='https://xprs.imcreator.com' target='_blank' rel='nofollow'>https://xprs.imcreator.com</a>
* <a href='http://forum.freecodecamp.com/t/how-to-build-a-website-without-writing-any-code/19503' target='_blank' rel='nofollow'>or build it for free without writing any code</a>
* <a href='https://forum.freecodecamp.com/t/how-to-build-a-website-without-writing-any-code/19503' target='_blank' rel='nofollow'>or build it for free without writing any code</a>

## Donor and Volunteer Management Systems

Expand Down
10 changes: 5 additions & 5 deletions src/pages/meta/free-code-camps-summit-december-2015/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ Here is a summary for those who don't have time to watch the full 90 minutes:

-There is a <a href='https://gitter.im/FreeCodeCamp/DataScience' target='_blank' rel='nofollow'>FCC Data Science Chat</a> on Gitter where some cool analysis about FCC is being posted.

-<a href='http://www.freecodecamp.com/labs' target='_blank' rel='nofollow'>FCC Labs</a> has some cool apps that you can use to look at some of the data visualization that has been built so far.
-<a href='https://www.freecodecamp.com/labs' target='_blank' rel='nofollow'>FCC Labs</a> has some cool apps that you can use to look at some of the data visualization that has been built so far.

**--New FCC Wiki--**

-Wiki was moved to a new repo due to spam. Campers who want to contribute can make a pull request on <a href='http://www.github.com/freecodecamp/wiki' target='_blank' rel='nofollow'>The Repo</a>.
-Wiki was moved to a new repo due to spam. Campers who want to contribute can make a pull request on <a href='https://www.github.com/freecodecamp/wiki' target='_blank' rel='nofollow'>The Repo</a>.

-The new wiki itself is available on the <a href='http://beta.freecodecamp.com/wiki' target='_blank' rel='nofollow'>Beta Site</a>.
-The new wiki itself is available on the <a href='https://beta.freecodecamp.com/wiki' target='_blank' rel='nofollow'>Beta Site</a>.

**--Q&A--**

Expand All @@ -63,12 +63,12 @@ Here is a summary for those who don't have time to watch the full 90 minutes:

**-How do you see Reddit being used by campers?** [@QuincyLarson](/users/quincylarson) - Reddit is a place for our community to share ideas and ask questions. The FCC community is spread over many different platforms (e.g. Gitter chat, Facebook, meetups, etc). Reddit is a great way for people to share stories, ask questions, etc., to the ENTIRE community at once.

As an aside, [@QuincyLarson](/users/quincylarson) pulled up <a href='http://stackoverflow.com/research/developer-survey-2015' target='_blank' rel='nofollow'>A stackoverflow page</a> and discussed the trend of more and more software developers being self taught and/or coming from non CS fields.
As an aside, [@QuincyLarson](/users/quincylarson) pulled up <a href='https://stackoverflow.com/research/developer-survey-2015' target='_blank' rel='nofollow'>A stackoverflow page</a> and discussed the trend of more and more software developers being self taught and/or coming from non CS fields.

**-Last month, you said that about 200 people had finished the Front End Developer Certificate. Has this changed and at what rate are people earning this certificate?** [@BerkeleyTrue](/users/berkeleytrue) - 311\. [@QuincyLarson](/users/quincylarson) - The pace has picked up. If you have completed that certificate, internet high-five. 913 people have pledged donations to nonprofit organizations.

As an aside, /u/quicnylarson discussed future plans to expand the number of nonprofit organizations that campers can pledge to for their nonprofit pledge. No specific numbers, just that it will be expanding in the future.

**-How can people hire FCC graduates?** [@QuincyLarson](/users/quincylarson) - Employers can use the <a href='http://www.freecodecamp.com/jobs' target='_blank' rel='nofollow'>Free Code Camp Job Board</a> to post positions. FCC wants only high quality jobs from high quality employers, so they are currently charging $1000 to post a job on the job board. FCC is still trying to figure out how to market to employers and help them understand what they will get when they hire an FCC graduate. Only about 5% of people in the U.S. learn to code compared to 100% in China. Already, software developer is the most common job in some U.S. states. Providing coding education to everyone for free is a big and ambitious goal. The job board (and its cost) is just another manifestation of that.
**-How can people hire FCC graduates?** [@QuincyLarson](/users/quincylarson) - Employers can use the <a href='https://www.freecodecamp.com/jobs' target='_blank' rel='nofollow'>Free Code Camp Job Board</a> to post positions. FCC wants only high quality jobs from high quality employers, so they are currently charging $1000 to post a job on the job board. FCC is still trying to figure out how to market to employers and help them understand what they will get when they hire an FCC graduate. Only about 5% of people in the U.S. learn to code compared to 100% in China. Already, software developer is the most common job in some U.S. states. Providing coding education to everyone for free is a big and ambitious goal. The job board (and its cost) is just another manifestation of that.

**-If I'm an established developer, can I start work on nonprofit projects immediately?** [@QuincyLarson](/users/quincylarson) - No. Everyone who works on our nonprofit projects has to earn the Full Stack Development Certification first. Completing the program isn't just about demonstrating ability, it's also about demonstrating commitment to the program. It's important that people who work on the nonprofits are dedicated and have put in the time and effort to get to that point; FCC doesn't want people quitting half way through a project. [@QuincyLarson](/users/quincylarson) pointed out that FCC is intentionally difficult and is probably among the most difficult coding resources around. Even people who have experience coding can take hours to complete a Front End Project or Back End Project. This is by design. [@SaintPeter](/users/saintpeter) - As a reminder, all of the Challenges are optional (for everyone). If you have a coding background, you only have to complete the Algorithms, Front End Projects, and Back End Projects in order to get the certificates.
4 changes: 2 additions & 2 deletions src/pages/miscellaneous/creating-a-new-github-issue/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Creating a New Github Issue
---
Before submitting an issue try <a href='http://forum.freecodecamp.com/t/searching-for-existing-issues-in-github/18390' target='_blank' rel='nofollow'>Searching for Your Issue on Github</a>
Before submitting an issue try <a href='https://forum.freecodecamp.com/t/searching-for-existing-issues-in-github/18390' target='_blank' rel='nofollow'>Searching for Your Issue on Github</a>

Crafting a good issue will make it much easier for the dev team to replicate and resolve your problem. Follow these steps to do it right:

Expand All @@ -16,7 +16,7 @@ Crafting a good issue will make it much easier for the dev team to replicate and

* When referencing other issues or pull requests, simply write <span class="hashtag">#issue</span>/pr-number.

5. Paste in any relevant code using proper <a href='http://forum.freecodecamp.com/t/markdown-code-formatting/18391' target='_blank' rel='nofollow'>Code Formatting</a>
5. Paste in any relevant code using proper <a href='https://forum.freecodecamp.com/t/markdown-code-formatting/18391' target='_blank' rel='nofollow'>Code Formatting</a>

6. **Take a screenshot** of the issue and include it in the post.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ There are several general classes of Issues:

> Thank you for reporting this issue.
>
> This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the **"Help"** button on the challenge on freeCodeCamp, which will take you to the help chatroom for that specific challenge. You can also view our <a href='[http://forum.freecodecamp.com/t/free-code-camp-official-chat-rooms/19390' target='_blank' rel='nofollow'>**full list of official chatrooms**</a>).
> This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the **"Help"** button on the challenge on freeCodeCamp, which will take you to the help chatroom for that specific challenge. You can also view our <a href='https://forum.freecodecamp.com/t/free-code-camp-official-chat-rooms/19390' target='_blank' rel='nofollow'>**full list of official chatrooms**</a>).
>
> If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding.
2. **Bug or Clarification issues** Confirm the bug yourself if possible. Seek additional details as necessary, such as Steps to Reproduce. Once the issue has been reproduced - or at least deemed legitimate - label it `confirmed`. Then:

* If it's a simple change to an existing challenge, flag as `help wanted` and, optionally, as `first-timers-only`. Use other tags as appropriate.
* If the issue is more significant, flag as `bug`.
* <a href='http://forum.freecodecamp.com/t/free-code-camp-issue-labels/19556' target='_blank' rel='nofollow'>Label Usage Guide</a>
* <a href='https://forum.freecodecamp.com/t/free-code-camp-issue-labels/19556' target='_blank' rel='nofollow'>Label Usage Guide</a>

If there is any ambiguity as to the proper course of action on an issue, feel free to tag **`@freeCodeCamp/moderators`** to get opinions from other moderators. Flag as `Discussing`.
3. **Duplicate Issues** If an issue is the same as another reported issue, the prior reported issue should take precedence. Flag as `Duplicate`, paste the following message replacing `#XXXXX` with the issue number, then close the issue.
Expand Down
Loading

0 comments on commit e2451f6

Please sign in to comment.