Skip to content

Commit

Permalink
Use prettier and GitHub actions (hackclub#1320)
Browse files Browse the repository at this point in the history
  • Loading branch information
gleich authored Sep 19, 2020
1 parent f9e60fc commit b34c069
Show file tree
Hide file tree
Showing 149 changed files with 68,213 additions and 55,230 deletions.
10 changes: 0 additions & 10 deletions .circleci/config.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: format

on: push

jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
- name: Format with prettier
run: npx prettier --write .
- name: Check for changes
run: git diff --exit-code
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.min.js
workshops/pico_8/demos/final.js
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contribution Guidelines

This document contains a set of guidelines which any contributions to *any* Hack Club repository must follow.
This document contains a set of guidelines which any contributions to _any_ Hack Club repository must follow.

[If you disagree with something here, you should open up an issue to discuss making a change!](https://github.com/hackclub/hackclub/issues/new)

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@ If you need any help, please contact us at [email protected] or on our [Slack](h
## License

TL;DR: All content is released under the [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/) license. All code is released under the [MIT License](MIT_LICENSE). For the license's full text and attributions, please see [`LICENSE`](LICENSE).

2 changes: 1 addition & 1 deletion clubs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ We'll schedule an onboarding call with you. During the call we'll get to know ea

### How much does this cost?

$0. Null. Nothing. Nada.
\$0. Null. Nothing. Nada.

Our entire program is 100% free.

Expand Down
48 changes: 22 additions & 26 deletions clubs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ making Hack Club feel like a continuous hackathon.
Throughout the year, Hack Clubs go to (and sometimes host) hackathons, work on
large group projects, and, most importantly, develop into a thriving community
of hackers at their high schools.

In the sections below, we'll walk you through the process of setting up your
Hack Club and running your first few meetings. After hosting the first two
meetings, you will get the hang of how to host subsequent meetings.
Expand Down Expand Up @@ -146,15 +146,13 @@ school administration before having your first meeting.

Generally they have an application to fill out [click here for an example][lowell_club_application].
Some schools require having a club constitution that outlines the club's
purpose and operational procedures. We've created a template constitution for
purpose and operational procedures. We've created a template constitution for
you, which you can find [here][club_constitution_template].

This shouldn't take very long, especially once you have a teacher sponsor
backing you.

[lowell_club_application]:
https://docs.google.com/forms/d/1Tr8OkMX3IN8SWsYkWeTTW4GIyNSDdvco8uks9UE_FOE/viewform

[lowell_club_application]: https://docs.google.com/forms/d/1Tr8OkMX3IN8SWsYkWeTTW4GIyNSDdvco8uks9UE_FOE/viewform
[club_constitution_template]: constitution.md

### Student Sign-Ups
Expand Down Expand Up @@ -214,7 +212,7 @@ Check out the [`posters/`](posters/) sub-directory for example club posters.

### Check If Sites Are Blocked

Before starting your first meeting, be sure to make sure that the following
Before starting your first meeting, be sure to make sure that the following
websites are **not** blocked by your school!

- https://hackclub.com
Expand Down Expand Up @@ -280,21 +278,22 @@ recommend doing the following four things to accomplish this:
2. Put some music on (not too loud, [click here][playlist] for a good pre-made
Spotify playlist)
3. Make people feel welcome as they walk in
- Introduce yourself
- Ask a couple questions to initiate conversation
- "How did you hear about Hack Club?"
- "What sorts of things are you interested in learning?"
- "What other interests or hobbies do you have?"
- If someone is sitting alone, be proactive and make conversation with them.
Bring them into existing conversations.
- You want people to feel good about their decision to come to Hack Club

- Introduce yourself
- Ask a couple questions to initiate conversation
- "How did you hear about Hack Club?"
- "What sorts of things are you interested in learning?"
- "What other interests or hobbies do you have?"
- If someone is sitting alone, be proactive and make conversation with them.
Bring them into existing conversations.
- You want people to feel good about their decision to come to Hack Club

4. Tell people what will be happening next (e.g., "We're going to get the first
meeting started in about 10 minutes after people are done trickling in. In
the meantime, please make yourself at home and let me know if I can be
helpful with anything.")

[playlist]:
https://open.spotify.com/user/zachlatta/playlist/16lRCHBANauZr4utynaA2B
[playlist]: https://open.spotify.com/user/zachlatta/playlist/16lRCHBANauZr4utynaA2B

#### Introduction Presentation

Expand All @@ -318,7 +317,7 @@ have the person to your left do the same and then repeat what you said (e.g.,
the same and then say the names and mnemonics for everyone that has gone so
far, in order. Continue doing this through the whole circle until everyone has
gone. This will get significantly more difficult (and fun!) as more people go
-- if someone gets stuck, encourage others to help them out.
-- if someone gets stuck, encourage others to help them out.

#### First Website Workshop

Expand Down Expand Up @@ -518,10 +517,8 @@ Template][hack_day_template]. To use the presentations:

[first_meeting_template]: https://docs.google.com/presentation/d/1QhErlJS6rnqu78guPBWuJ1SUyPJKLbxzLNuSN9qVw0c/edit
[second_meeting_template]: https://docs.google.com/presentation/d/1WCerU9JhJY6L5kM7SrIlYcABwxpqcjmxmSRXilvWAaY/edit
[workshop_day_template]:
https://docs.google.com/presentation/d/1LnbH5c7K-V608jMXNk3VyoVaZLaEuet7faHZCbYhOCs/edit
[hack_day_template]:
https://docs.google.com/presentation/d/1uIcNYRY5ZLaLgEMO_1p-ZPmdaxeh1osy-0UpDjG2Z7w/edit
[workshop_day_template]: https://docs.google.com/presentation/d/1LnbH5c7K-V608jMXNk3VyoVaZLaEuet7faHZCbYhOCs/edit
[hack_day_template]: https://docs.google.com/presentation/d/1uIcNYRY5ZLaLgEMO_1p-ZPmdaxeh1osy-0UpDjG2Z7w/edit

### Workshop Days

Expand Down Expand Up @@ -602,8 +599,7 @@ Here's our suggested schedule for Hack Days:
[Click here][hack_day_template] for our slideshow template for Hack Days. Make
sure to [customize it](#slideshow-presentations).

[slideshow]:
https://docs.google.com/presentation/d/1uIcNYRY5ZLaLgEMO_1p-ZPmdaxeh1osy-0UpDjG2Z7w/edit?usp=sharing
[slideshow]: https://docs.google.com/presentation/d/1uIcNYRY5ZLaLgEMO_1p-ZPmdaxeh1osy-0UpDjG2Z7w/edit?usp=sharing

#### Waiting For Hackers

Expand Down Expand Up @@ -650,7 +646,7 @@ You should warn and ask them stop. You'll want to make sure to tell them what is

If this persists past the warning, then talk to your teacher/club sponsor/school administrator about the proper course of action to take.

Refer to our [Code of Conduct](https://github.com/hackclub/hackclub/blob/master/CONDUCT.md) for more information.
Refer to our [Code of Conduct](https://github.com/hackclub/hackclub/blob/master/CONDUCT.md) for more information.

### What if our adviser does not want to let us meet every week?

Expand All @@ -664,10 +660,10 @@ Alternatively, you could find a public space to meet in and have your club meeti

### What if people come and do non club related activities?

Hack Clubs should be a fun, chill, and creative spaces, where the focus is to create an environment where people want to learn to hack. However, it's not cool when people come with the intention of doing non club related activities, such as playing games or messing around for the fun of it.
Hack Clubs should be a fun, chill, and creative spaces, where the focus is to create an environment where people want to learn to hack. However, it's not cool when people come with the intention of doing non club related activities, such as playing games or messing around for the fun of it.

If this happens, make them aware of their actions, as they themselves might not know what they are doing is wrong.

If this persists past the warning, then talk to your teacher/club sponsor/school administrator about the proper course of action to take.

Refer to our [Code of Conduct](https://github.com/hackclub/hackclub/blob/master/CONDUCT.md) for more information.
Refer to our [Code of Conduct](https://github.com/hackclub/hackclub/blob/master/CONDUCT.md) for more information.
20 changes: 11 additions & 9 deletions clubs/berkeley_high_constitution.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#### Article 1 – Name, Purpose, and Authority

The name of the organization will be “Hack Club” of Berkeley High School. Hack Club is a club that teaches coding to students in a way that empowers them to build things and solve problems.
The name of the organization will be “Hack Club” of Berkeley High School. Hack Club is a club that teaches coding to students in a way that empowers them to build things and solve problems.

This club will be a chapter of the broader "Hack Club" initiative, which provides support and resources to the club itself.

Expand All @@ -19,18 +19,20 @@ Tuesday meetings will consist of a guided workshop in which students will famili
#### Article IV – Club Officers

The club officers shall consist of the following:
- Presidents: Students who take charge of leading the club and communicating with the Hack Club organization. There must be at least one and no more than three active presidents at one time.

- Presidents: Students who take charge of leading the club and communicating with the Hack Club organization. There must be at least one and no more than three active presidents at one time.

#### Article V – Duties

The club officers will have the following duties:
- To plan and prepare club activities
- To attend all club meetings
- To lead workshops
- To maintain contact with the greater Hack Club organization
- To manage finances or logistics if the need arises
- To help club members with any issues and encourage them to use their skills to become self-sufficient learners
- To continually improve the club based on member feedback

- To plan and prepare club activities
- To attend all club meetings
- To lead workshops
- To maintain contact with the greater Hack Club organization
- To manage finances or logistics if the need arises
- To help club members with any issues and encourage them to use their skills to become self-sufficient learners
- To continually improve the club based on member feedback

#### Article VI – Elections / Succession Plan

Expand Down
13 changes: 7 additions & 6 deletions clubs/constitution.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ _**We suggest that you make any other changes to your constitution that you feel

#### Article 1 – Name, Purpose, and Authority

The name of the organization will be “Hack Club” of `YOUR_HIGH_SCHOOL`. Hack Club is a club that teaches coding to students in a way that empowers them to build things and solve problems.
The name of the organization will be “Hack Club” of `YOUR_HIGH_SCHOOL`. Hack Club is a club that teaches coding to students in a way that empowers them to build things and solve problems.

This club will be a chapter of the broader "Hack Club" initiative, which provides support and resources to the club itself.

Expand All @@ -31,11 +31,12 @@ The club officers shall consist of students who work together to lead club activ
#### Article V – Duties

The club officers will have the following duties:
- To plan and prepare club activities
- To attend all club meetings
- To lead workshops
- To maintain contact with the greater Hack Club organization
- To continually improve the club based on member feedback

- To plan and prepare club activities
- To attend all club meetings
- To lead workshops
- To maintain contact with the greater Hack Club organization
- To continually improve the club based on member feedback

#### Article VI – Elections / Succession Plan

Expand Down
40 changes: 25 additions & 15 deletions clubs/posters/simple_red_poster_source/index.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta charset="utf-8" />
<title>Hackclub Poster Creator</title>
<link href="https://fonts.googleapis.com/css?family=Amaranth" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<link href="styles.css" rel="stylesheet">
<link
href="https://fonts.googleapis.com/css?family=Amaranth"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css?family=Open+Sans"
rel="stylesheet"
/>
<link href="styles.css" rel="stylesheet" />
</head>
<body>
<div>
<br>
<br />
<p class="f40">
<b class="huge">Churchill Hack Club</b>
<br>
<br>
<br />
<br />
<b>Create your first website on the <i>first day.</i></b>
<br>
<br>
Prior coding experience or not, everyone is welcome. <b>Beginners encouraged!</b>
<br>
<br>
<br />
<br />
Prior coding experience or not, everyone is welcome.
<b>Beginners encouraged!</b>
<br />
<br />
You'll learn to build <i>games, interactive websites, and apps.</i>
<br>
<br>
<small>After school on Fridays in Room STEM 118 (Marty Wilder's room). Hosted by Alex Anderson.</small>
<br />
<br />
<small
>After school on Fridays in Room STEM 118 (Marty Wilder's room).
Hosted by Alex Anderson.</small
>
</p>
<p class="logo">
<b>h</b>
Expand Down
4 changes: 2 additions & 2 deletions clubs/posters/simple_red_poster_source/styles.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
div {
position: relative;
background-color: #FAFAFA;
color: #E42D40;
background-color: #fafafa;
color: #e42d40;
padding-left: 100px;
padding-right: 100px;
width: 650px;
Expand Down
6 changes: 3 additions & 3 deletions internals/applications/fast_forward_s16.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Hack Club's nonprofit Fast Forward application for Summer 2016.

## Application
## Application

Note: This application uses Hack Club's AngelList profile to apply.

Expand Down Expand Up @@ -48,7 +48,7 @@ We already have a working product and need help building a fundraising strategy

There are 14.9 million high school students in the US, 75% of whom don't have access to coding classes. For us, it's not about beating the competition – there are still 11.2 million students without access. What matters most is finding a model that scales to fill the massive need.

There are a few other organizations in our space, including Girls Who Code, CS First, and Code Club, but none that are both in high schools and fully led by students. By having high schoolers lead the clubs, we're able to bypass the red tape typically associated with bringing computer science to a school or a community. Our leaders don't need to find their own space (the school is their space), recruit external volunteers (their friends are volunteers), or hire teachers (they teach using our pre-written workshops). This model makes the cost of starting a new club virtually $0 from our end and we think it'll let us scale where others haven't.
There are a few other organizations in our space, including Girls Who Code, CS First, and Code Club, but none that are both in high schools and fully led by students. By having high schoolers lead the clubs, we're able to bypass the red tape typically associated with bringing computer science to a school or a community. Our leaders don't need to find their own space (the school is their space), recruit external volunteers (their friends are volunteers), or hire teachers (they teach using our pre-written workshops). This model makes the cost of starting a new club virtually \$0 from our end and we think it'll let us scale where others haven't.

**Who is your target audience? What's your strategy for reaching, acquiring, engaging, and retaining that audience?**

Expand All @@ -66,7 +66,7 @@ It's hard to say whether I failed or succeeded, since there's so much ahead. But

**Please describe your current funding situation. What is your annual budget for this calendar year and next? Do you have any funding secured? What's your funding strategy for the next 6 months? The next 2 years?**

We raised money for the first time in 2015. So far we've raised $165,765.00 from The Reva & David Logan Foundation, Joe Lonsdale, and other individual contributors.
We raised money for the first time in 2015. So far we've raised \$165,765.00 from The Reva & David Logan Foundation, Joe Lonsdale, and other individual contributors.

We don't have a very formal annual budget, but we're currently budgeting to spend $5,000 each month (and spending slightly less than this). We currently have $90k in the bank.

Expand Down
16 changes: 8 additions & 8 deletions internals/applications/google_rise_2016.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Non-profit

**Are you operating under a fiscal sponsor?**

- [X] Yes
- [x] Yes
- [ ] No

**If you are operating under a fiscal sponsor, please complete the following
Expand Down Expand Up @@ -179,7 +179,7 @@ We've developed our content significantly and are now at the point where we have
a "club in a box"---including curriculum, meeting guidelines, and
slideshows---to start clubs with.

We did our first fundraise, bringing in $165,765.00 from the Reva & David Logan
We did our first fundraise, bringing in \$165,765.00 from the Reva & David Logan
Foundation, Joe Lonsdale, the Thiel Foundation, among many other generous
supporters.

Expand All @@ -204,7 +204,7 @@ can take years to start a new computer science program, starting a Hack Club can
take as little as two weeks. Our leaders don't need to find their own space (the
school is their space), recruit external volunteers (their friends are
volunteers), or hire teachers (they teach using our pre-written workshops). This
model makes the cost of starting a new club virtually $0 from our end and we
model makes the cost of starting a new club virtually \$0 from our end and we
think it'll let us scale where others haven't.

Our content is entirely open source and designed for community contribution.
Expand Down Expand Up @@ -283,7 +283,7 @@ deployed their first website. By the end of the second, they've expanded their
websites and demoed them. This model is repeated in subsequent pairs of
meetings. For each pair, a new workshop is chosen and new projects are demoed
at the end.

Our workshops are written documents focused on web development that are meant
for members to follow at their own pace. There aren't any lectures, and we
place a heavy emphasis on using Google to figure things out.
Expand All @@ -297,15 +297,15 @@ this application:**
- [ ] Summer or holiday program (like a camp or school)
- [ ] Teacher training/workshops
- [ ] Club
- [X] Afterschool program
- [x] Afterschool program
- [ ] Weekend program
- [ ] Mentoring
- [ ] Family workshop
- [ ] Other

**Amount of funding requested ($10,000 - $25,000 USD):**

$20,000
\$20,000

**Please share a budget breakdown**

Expand Down Expand Up @@ -426,8 +426,8 @@ context of your organization.
**What is the purpose of your proposal?**

- [ ] Create or add a new program to the organization
- [X] Expand an existing program to more students, a new population, or a new
geography
- [x] Expand an existing program to more students, a new population, or a new
geography
- [ ] Secure funding for an existing program
- [ ] Other

Expand Down
Loading

0 comments on commit b34c069

Please sign in to comment.