Skip to content

Commit

Permalink
Deploying to gh-pages from @ 7bc4b73 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
ppaeps committed Oct 9, 2024
0 parents commit 042ef08
Show file tree
Hide file tree
Showing 10 changed files with 3,833 additions and 0 deletions.
69 changes: 69 additions & 0 deletions circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
261 changes: 261 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,261 @@
<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8" />
<title>dsl balance</title>
<style>
@font-face {
font-family: 'ps2p';
src: url('pressstart2p.ttf');
}

html {
background-color:#000;
font-family: ps2p,monospace;
}

body {
width:95%;
text-align:center;
}

.bill_desc {
font-size:30px;
color:#eee;
text-align:right;
}

.bill_value {
font-size:42px;
text-align:right;
}

.color_neg {
/* negative numbers are bad */
color:red;
}

.color_pos {
/* positive numbers are good */
color:#00E100;
}

.membership_fees {
font-size:20px;
color:#fff;
text-align:center;
}

.grid {
font-size:17px;
color:#00E100;
text-align:left;
margin:0;
font-family: ps2p,monospace;
}

.donate {
font-size:25px;
color:pink;
text-align:center;
}

.lastupdate {
color:white;
position: fixed;
bottom: 0;
right: 0;
}

.rowodd {
background-color: #202020;
}

.tractorbar {
border-color: #404040;
background-image: url(circle.svg);
background-repeat: repeat-y;
background-position: center top;
}

.tractorleft {
border-style: none dotted none none;
}

.tractorright {
border-style: none none none dotted;
}

#overlay_dim {
position: fixed; /* Sit on top of the page content */
width: 100%; /* Full width (cover the whole page) */
height: 100%; /* Full height (cover the whole page) */
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0,0,0,0.5); /* Black background with opacity */
z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
}

#overlay_text{
position: absolute;
top: 25%;
left: 50%;
font-size: 50px;
color: red;
transform: rotate(-45deg) translate(-50%,-50%);
}


</style>
</head>
<body>

<div class="membership_fees">Membership fee <span class="color_pos">700&nbsp;HKD</span> per month, <span class="color_pos">300&nbsp;HKD</span> for students.</div>

<table width=100%>
<tr>
<td colspan=2 class="bill_desc">Monthly Balance:</td>
<td class="bill_value color_pos">2553&nbsp;HKD</td>
</tr>
<tr>
<td colspan=2 class="bill_desc">(due: <span class="color_neg">2024-10-24</span>) Rent:</td>
<td class="bill_value color_neg">14000&nbsp;HKD</td>
</tr>
<tr>
<td class="donate">Donate if you can!</td>
<td class="bill_desc">Bills:</td>
<td class="bill_value color_neg">~2000&nbsp;HKD</td>
</tr>
</table>






<table width=100%>
<tr>
<td class="tractorbar tractorleft">&nbsp;
<td>
<pre class="grid rowodd"> 2024-06 2024-07 2024-08 2024-09 2024-10</pre>



<pre class="grid ">Alex 700 700 700 700 700</pre>



<pre class="grid ">Alex2 700 700 700 700 700</pre>



<pre class="grid rowodd">Alicia 700 </pre>



<pre class="grid rowodd">Antonia 700 700 700 700 </pre>



<pre class="grid ">Boyun 300 </pre>



<pre class="grid ">Cat 700 700 700 700 700</pre>



<pre class="grid rowodd">Darkangel 666 666 666 666 666</pre>



<pre class="grid rowodd">Ella 300 300 300 300 </pre>



<pre class="grid ">Felix 2000 2000 2000 2000 2000</pre>



<pre class="grid ">Gabriel 700 700 700 700 700</pre>



<pre class="grid rowodd">Iulian 700 700 700 700 700</pre>



<pre class="grid rowodd">Jerry 2000 2000 500 500 </pre>



<pre class="grid ">Max 300 300 300 300 </pre>



<pre class="grid ">Meebey 1337 1337 3072 3072 3072</pre>



<pre class="grid rowodd">Mrhill 1024 1024 700 700 </pre>



<pre class="grid rowodd">Neil 1000 1000 1000 1000 1000</pre>



<pre class="grid ">Nigel 700 700 700 700 </pre>



<pre class="grid ">Philip 3888 3888 3888 3888 3888</pre>



<pre class="grid rowodd">Philipp 700 700 700 700 700</pre>



<pre class="grid rowodd">Portia 700 700 700 700 700</pre>



<pre class="grid ">Rhys 700 700 700 700 700</pre>



<pre class="grid ">Vincent 300 300 300 300 300</pre>

<td class="tractorbar tractorright">&nbsp;
</tr>
</table>

<br>
<table width=100%>
<tr>
<td>&nbspc;&nbspc;&nbspc;</td>
<td class="bill_desc">Members loans to DSL:</td>
<td class="bill_value color_neg">0&nbsp;HKD</td>
</tr>
</table>

<div class="lastupdate">
Data last updated 2024-10-09T15:32:04+08:00
<a href="https://github.com/dimsumlabs/dsl-accounts/actions">
<img src="https://github.com/dimsumlabs/dsl-accounts/actions/workflows/ci.yml/badge.svg">
</a>
</div>
<!-- If needed, this can be uncommented
<div id="overlay_dim"><div id="overlay_text">BROKEN!</div></div>
TODO:
- use javascript and fetch https://api.github.com/repos/dimsumlabs/dsl-accounts/actions/runs?per_page=3
- add a big visible overlay if two of the last three jobs were .conclusion=="failure"
-->
</body>
</html>
1 change: 1 addition & 0 deletions payments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"unknown": "2024-09", "workshop": "2024-10", "dues:lio": "2020-07", "dues:tom": "2019-03", "dues:adam": "2022-08", "donation:members": "2021-11", "dues:william": "2017-10", "dues:manolis": "2021-09", "dues:christine": "2016-10", "dues:tobias": "2018-12", "bookshelves": "2017-11", "dues:james": "2022-01", "dues:luca": "2017-10", "dues:stigo": "2018-05", "fridge": "2024-10", "dues:hamish": "2020-11", "dues:leviathan": "2017-09", "dues:brad": "2018-07", "dues:charles": "2017-04", "dues:sunny": "2020-11", "dues:jd": "2017-10", "dues:colin": "2016-10", "dues:syed": "2017-06", "dues:aurelio": "2017-02", "dues:julianlee": "2019-11", "dues:jerry": "2024-09", "dues:jake": "2016-12", "dues:steph": "2017-02", "dues:meebey": "2024-10", "dues:benedict": "2017-01", "merch:tshirt": "2019-11", "dues:michelle": "2019-06", "dues:nicolas": "2023-03", "dues:mathis": "2019-09", "dues:devon": "2018-11", "dues:joakimn": "2017-04", "dues:pierre": "2018-02", "dues:sean": "2017-07", "dues:kenneth": "2017-07", "dues:audrey": "2020-02", "dues:anthony": "2021-02", "dues:elliot": "2017-09", "dues:tim": "2017-10", "dues:hans": "2017-09", "dues:shing": "2017-09", "dues:kam": "2017-09", "dues:alex": "2024-10", "dues:igor": "2017-10", "dues:neil": "2024-10", "donation:c3": "2017-10", "loan": "2021-11", "dues:christopher": "2018-06", "dues:jim": "2018-02", "dues:richard": "2023-10", "dues:mb": "2018-01", "dues:harry": "2018-01", "dues:mazakazu": "2018-09", "dues:jonathan": "2018-02", "dues:marble": "2018-05", "fees:paypal": "2019-10", "dues:ente": "2018-04", "supporters": "2024-09", "dues:gregg": "2018-06", "merch:sticker": "2018-11", "dues:ana": "2018-08", "dues:sam": "2018-07", "dues:cathy": "2019-01", "dues:daniel": "2018-08", "donation": "2024-08", "dues:lawrence": "2020-12", "merch:kits": "2019-12", "dues:gary": "2020-03", "merch:rpikit": "2019-03", "dues:philip": "2024-11", "dues:max": "2024-09", "dues:antonia": "2024-09", "dues:felix": "2024-10", "dues:nathan": "2019-06", "dues:urd": "2019-11", "dues:xro": "2019-09", "dues:neilg": "2020-07", "dues:oliver": "2019-11", "dues:bryan": "2020-01", "dues:tania": "2020-02", "dues:georgia": "2020-01", "dues:sayon": "2021-08", "dues:yeojin": "2020-11", "recycling": "2020-03", "dues:nick": "2020-11", "dues:mikael": "2020-06", "dues:noche": "2020-06", "dues:khng": "2021-09", "dues:vincentdjojo": "2020-12", "dues:kimlegend": "2021-03", "dues:kerrie": "2022-01", "dues:ella": "2024-09", "dues:anders": "2022-09", "dues:cat": "2024-10", "dues:david": "2024-01", "dues:abhi": "2021-11", "dues:briann": "2021-10", "dues:gabriel": "2024-10", "dues:vincent": "2024-10", "dues:iravan": "2022-11", "dues:benny": "2022-01", "dues:fung": "2022-01", "bills:rent": "2022-03", "dues:miranda": "2022-08", "dues:calvin": "2022-08", "dues:maki": "2023-01", "dues:andy": "2022-12", "dues:jenny": "2022-11", "dues:jay": "2024-01", "dues:michael": "2023-04", "dues:diana": "2024-05", "dues:philipp": "2024-10", "dues:arachnia": "2023-12", "dues:theerapol": "2023-04", "dues:sammy": "2024-01", "dues:cedric": "2023-07", "dues:alun": "2023-11", "dues:nigel": "2024-09", "dues:portia": "2024-10", "dues:iulian": "2024-10", "dues:alex2": "2024-10", "dues:darkangel": "2024-10", "dues:mrhill": "2024-09", "dues:alicia": "2024-06", "dues:rhys": "2024-10", "dues:boyun": "2024-07"}
Binary file added pressstart2p.ttf
Binary file not shown.
65 changes: 65 additions & 0 deletions report.future.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
make[1]: Entering directory '/home/runner/work/dsl-accounts/dsl-accounts'
git describe --always --dirty
7bc4b73

./balance.py --includefuture grid --display_days_prev 270 --display_days_post 150
2024-02 2024-03 2024-04 2024-05 2024-06 2024-07 2024-08 2024-09 [2024-10] 2024-11 2024-12 2025-01 2025-02 2025-03
bills:accounting ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834 ~-834
bills:br -179 -179 -179 -179 -179 -187 -183 -183 -183 -183 -183 -183 -183 -183
bills:dns ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10 ~-10
bills:electricity ~-400 -434 ~-400 -1333 ~-400 -1885 -1140 ~-400 ~-400 ~-400 ~-400 ~-400 ~-400 ~-400
bills:hosting ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40 ~-40
bills:internet ~-268 -298 -298 ~-268 ~-268 ~-268 ~-268 ~-268 ~-268 ~-268 ~-268 ~-268 ~-268 ~-268
bills:meetup ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207 ~-207
bills:rent -13800 -13800 -13800 -15434.5 -13800 -14400 -14400 -14400 -14400
donation 580 500 220 370 5000
donation:members ~257 ~257 ~257 ~257 ~257 ~257 ~257 ~257 ~257 ~257 ~257 ~257 ~257 ~257
dues:alex 700 700 700 700 700 700 700 700 700 ~670 ~670 ~670 ~670 ~670
dues:alex2 0 700 700 700 700 700 700
dues:alicia 700
dues:anders ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670
dues:antonia 700 700 700 700 700 700 700 700 ~700 ~700 ~700 ~700 ~700 ~700
dues:boyun 300
dues:cat 700 700 700 700 700 700 700 700 700 ~700 ~700 ~700 ~700 ~700
dues:darkangel 700 666 666 666 666 666
dues:david ~300 ~300 ~300 ~300 ~300 ~300 ~300 ~300 ~300 ~300 ~300 ~300 ~300 ~300
dues:diana 700 700 700 700
dues:ella 300 300 300 300 300 300 300 300
dues:felix 2000 2000 2000 2000 2000 2000 2000 2000 2000
dues:gabriel 700 700 700 700 700 700 700 700 700 ~700 ~700 ~700 ~700 ~700
dues:iravan ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700
dues:iulian 0 700 700 700 700 700 700 700
dues:jerry 500 500 500 2000 2000 500 500
dues:kerrie ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700
dues:khng ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700
dues:kimlegend ~500 ~500 ~500 ~500 ~500 ~500 ~500 ~500 ~500 ~500 ~500 ~500 ~500 ~500
dues:lawrence ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670
dues:maki ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700
dues:manolis ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670
dues:max 300 300 300 300 300 300 300 300 ~300 ~300 ~300 ~300 ~300 ~300
dues:meebey 1337 1337 1337 1337 1337 1337 3072 3072 3072 ~1337 ~1337 ~1337 ~1337 ~1337
dues:michael ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700
dues:miranda ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700
dues:mrhill 0 1024 1024 700 700
dues:neil 1000 1000 1000 1000 1000 1000 1000 1000 1000 ~808 ~808 ~808 ~808 ~808
dues:nick ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88 ~708.88
dues:nicolas ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700 ~700
dues:nigel 700 700 700 700 700 700 700 700
dues:philip 3888 3888 3888 3888 3888 3888 3888 3888 3888 3072 ~1000 ~1000 ~1000 ~1000
dues:philipp 700 700 700 700 700 700 700 700 700
dues:portia 700 700 700 700 700
dues:rhys 700 700 700 700 700
dues:richard ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670
dues:sayon ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670 ~670
dues:vincent 300 300 300 300 300 300 300 300 300 ~670 ~670 ~670 ~670 ~670
fridge 200 340 270 480 780 260 250
loan -19000
supporters 600 600 400 1405 400 400 400 600 ~93 ~93 ~93 ~93 ~93 ~93
unknown 0 0 0 0 0 0 0 0
workshop 360 360

MONTH Sub Total ~9102.88~10258.88~10642.88~10440.38~16332.88~13069.88 ~-940.12~14259.88~11902.88~17123.88~15051.88~15051.88~15051.88~15051.88
RUNNING Balance ~234081.22~244340.10~254982.98~265423.36~281756.24~294826.12 ~293886~308145.88~320048.76~337172.64~352224.52~367276.40~382328.28~397380.16
TOTAL: ~406658.04

make[1]: Leaving directory '/home/runner/work/dsl-accounts/dsl-accounts'
Loading

0 comments on commit 042ef08

Please sign in to comment.