Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
technocrat committed Apr 19, 2024
0 parents commit 54cecb8
Show file tree
Hide file tree
Showing 501 changed files with 13,804 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build and Deploy
on:
push:
branches:
- main
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
# NOTE: Python is necessary for the pre-rendering (minification) step
- name: Install python
uses: actions/setup-python@v2
with:
python-version: '3.8'
# NOTE: Here you can install dependencies such as matplotlib if you use
# packages such as PyPlot.
# - run: pip install matplotlib
- name: Install Julia
uses: julia-actions/setup-julia@v1
with:
version: '1' # Latest stable Julia release.
# NOTE
# The steps below ensure that NodeJS and Franklin are loaded then it
# installs highlight.js which is needed for the prerendering step
# (code highlighting + katex prerendering).
# Then the environment is activated and instantiated to install all
# Julia packages which may be required to successfully build your site.
# The last line should be `optimize()` though you may want to give it
# specific arguments, see the documentation or ?optimize in the REPL.
- run: julia -e '
using Pkg; Pkg.activate("."); Pkg.instantiate();
using NodeJS; run(`$(npm_cmd()) install highlight.js`);
using Franklin;
optimize()'
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: __site
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
__site/
.DS_Store
node_modules/
package-lock.json
20 changes: 20 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
image: julia:1.6

before_script:
- apt-get -qq update; apt-get -y install git python3-dev python3-pip
- pip3 install css-html-js-minify

pages:
stage: deploy
script:
- julia --project=@. -e 'import Pkg; Pkg.instantiate();
using NodeJS; run(`$(npm_cmd()) install highlight.js`);
using Franklin;
optimize()'
- mv __site public
artifacts:
paths:
- public
only:
- main

54 changes: 54 additions & 0 deletions 12th.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
+++
title = "Twelfth Amendment"
+++

## Tie scenarios

Five outcomes result in a 269-269 tie in the Electoral College In each case, the states shown are those assumed to be won by Biden and the remaining three won by Trump. This assumes also that except for the seven swing states, every other state is won by the candidate who won it in 2020.

~~~
<table>
<thead>
<tr class = "header">
<th style = "text-align: right;">Ties</th>
</tr>
</thead>
<tbody>
<tr>
<td style = "text-align: right;">NV, MI, NC and PA</td>
</tr>
<tr>
<td style = "text-align: right;">NV, NC, PA and GA</td>
</tr>
<tr>
<td style = "text-align: right;">MI, WI, NC and GA</td>
</tr>
<tr>
<td style = "text-align: right;">MI, WI, AZ and PA</td>
</tr>
<tr>
<td style = "text-align: right;">WI, AZ, PA and GA</td>
</tr>
</tbody>
</table>
~~~

## Constitutional framework for a tied vote

> The person having the greatest number of votes for President, shall be the President, if such number be a majority of the whole number of Electors appointed; and if no person have such majority, then from the persons having the highest numbers not exceeding three on the list of those voted for as President, the House of Representatives shall choose immediately, by ballot, the President. But in choosing the President, the **votes shall be taken by states, the representation from each state having one vote**; a quorum for this purpose shall consist of a member or members from two-thirds of the states, and **a majority of all the states shall be necessary to a choice**.
U.S. Constitution, Twelfth Amendment [emphasis added]

## Current situation

A majority of 50 state delegations is 26, which is currently what the Republican Party controls. In addition, Maine, Minnesota and North Carolina have equally divided delegations. The remaining 20 delegations are controlled by the Democratic party.

## Following the presidential and congressional elections

If the Republican Party retains control of 26 states, it is in a position to choose the President.

If the Republican Party loses control of one state, no party has sole power to choose the President.

In that case, the provisions of the [Presidential Succession Act](https://www.law.cornell.edu/uscode/text/3/19) come into operation.

Should a majority of states fail to agree on the selection of the President and also fail to agree on the selection of a Vice President, the Speaker of the House will become President on Inauguration Day or, if there is no Speaker, the President Pro Tem of the Senate. If there should be no President Pro Tem of the Senate, the Secretary of State would become President.
16 changes: 16 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
+++
title = "404"
+++


~~~
<img src="/assets/logo.png" style="width: 100%; display: block;">
~~~

~~~
<div style="margin-top: 40px; font-size: 40px; text-align: center;">
<div style="margin-bottom: 300px; font-size: 24px">
<a href="/">Page not found: return to the homepage.</a>
</div>
</div>
~~~
18 changes: 18 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Copyright <2024> <Richard Careaga> All rights reserved; provided, however, that
permission is hereby granted, free of charge, to any person obtaining a copy of the software
located within the _assets/scripts folder at http://github.com/technocrat/swingwatch.org directory
and associated documentation files (the “Software”), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

3 changes: 3 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[deps]
Franklin = "713c75ef-9fc9-4b05-94a9-213340da978e"
NodeJS = "2bd173c7-0d6d-553b-b6af-13a54713934c"
Loading

0 comments on commit 54cecb8

Please sign in to comment.