Compare commits
13 Commits
409ad95c05
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| c64c4a1ba4 | |||
| c941397e7b | |||
| 0fb617976d | |||
| a724716d7e | |||
| c3cfef4ae3 | |||
| b7c4c1a207 | |||
| 00f15f1879 | |||
| ddae692f0b | |||
| 20330437ea | |||
| 83de5f58a2 | |||
| e87f45bcd8 | |||
| 678204ec71 | |||
| 743d6ec5ca |
@@ -1,26 +1,34 @@
|
|||||||
Nettiquette and misc:
|
Nettiquette:
|
||||||
http://www.nohello.com
|
http://www.nohello.com
|
||||||
https://nohello.net/
|
https://nohello.net/
|
||||||
https://sol.gfxile.net/dontask.html
|
https://sol.gfxile.net/dontask.html
|
||||||
https://dontasktoask.com/
|
https://dontasktoask.com/
|
||||||
http://slash7.com/2006/12/22/vampires/
|
http://slash7.com/2006/12/22/vampires/
|
||||||
http://xyproblem.info/
|
http://xyproblem.info/
|
||||||
|
|
||||||
|
Politicking:
|
||||||
https://ncase.me/ballot
|
https://ncase.me/ballot
|
||||||
https://digdeeper.neocities.org/ghost/email.html
|
|
||||||
http://www.kanjidamage.com
|
|
||||||
https://innermantheatre.com/2021/03/29/lightspeed-lab-homosexuality/,The Christian stance on homosexuality in 3 panels
|
https://innermantheatre.com/2021/03/29/lightspeed-lab-homosexuality/,The Christian stance on homosexuality in 3 panels
|
||||||
|
|
||||||
|
Economics:
|
||||||
https://archive.secondspring.co.uk/articles/borruso.htm
|
https://archive.secondspring.co.uk/articles/borruso.htm
|
||||||
|
|
||||||
Computers and languages are hard:
|
Computers are hard:
|
||||||
http://www.zompist.com/yingzi/yingzi.htm
|
|
||||||
https://gankra.github.io/blah/text-hates-you/
|
https://gankra.github.io/blah/text-hates-you/
|
||||||
https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/
|
https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/
|
||||||
https://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time
|
https://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time
|
||||||
https://infiniteundo.com/post/25509354022/more-falsehoods-programmers-believe-about-time
|
https://infiniteundo.com/post/25509354022/more-falsehoods-programmers-believe-about-time
|
||||||
https://eev.ee/blog/2015/09/12/dark-corners-of-unicode/
|
https://eev.ee/blog/2015/09/12/dark-corners-of-unicode/
|
||||||
https://faculty.georgetown.edu/jod/texts/twain.german.html,Languages are angry
|
|
||||||
http://michael.orlitzky.com/articles/motherfuckers_need_package_management.xhtml
|
http://michael.orlitzky.com/articles/motherfuckers_need_package_management.xhtml
|
||||||
https://idlewords.com/talks/website_obesity.htm
|
https://idlewords.com/talks/website_obesity.htm
|
||||||
|
https://digdeeper.club/articles/email.xhtml
|
||||||
|
https://spyware.neocities.org/articles/brave.html,Computers are your enemy
|
||||||
|
https://prose.sh/
|
||||||
|
|
||||||
|
Languages are hard:
|
||||||
|
http://www.zompist.com/yingzi/yingzi.htm
|
||||||
|
http://www.kanjidamage.com,The right way to learn kanji
|
||||||
|
https://faculty.georgetown.edu/jod/texts/twain.german.html,Languages are angry
|
||||||
|
|
||||||
Otome! And maybe other game design:
|
Otome! And maybe other game design:
|
||||||
https://uguucageoflove.wordpress.com/2020/05/17/preferences-of-otome-gamers-a-survey-of-japanese-players/
|
https://uguucageoflove.wordpress.com/2020/05/17/preferences-of-otome-gamers-a-survey-of-japanese-players/
|
||||||
|
|||||||
@@ -11,8 +11,10 @@
|
|||||||
|
|
||||||
<h4>Notices:</h4>
|
<h4>Notices:</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Apr 5th: I think I've figured out what was causing constant dropouts, uptime should be back to >99%.</li>
|
<li>2022 Nov 8th: False alarm, I just needed to restart the DB.</li>
|
||||||
<li>Mar 27th: Oh yeah I found those other things. One is now at <a href="https://rakka.tk/r/support">https://rakka.tk/r/support</a>, the other is <a href="https://bae.st/media/38f1485d-a6bd-4b30-a409-0d9e75f22d19/bf313a3566fc2ada.png">here</a></li>
|
<li>2022 Nov 7th: Database access is fucked, I don't know why, but large parts of my site will be inaccessible as a result (including, annoyingly, the contact page). I will probably redo the whole thing as a static site instead of trying to fix it.</li>
|
||||||
<li>Feb 15th: Here are some links for a certain person I was speaking to. Actually a couple of people. <a href='https://mangadex.org/manga/c6a51a13-74fd-46bd-989e-5cdaa26542f6'>Hero BBS</a>, parodying isekai before isekai was big. I still haven't found the other things I mentioned.</li>
|
<li>2022 Apr 5th: I think I've figured out what was causing constant dropouts, uptime should be back to >99%.</li>
|
||||||
<li>Feb 9th: Someone discovered that my ftp server was externally accessible and allowed anonymous writes and edits. Unfortunately I am too incompetent to have had it logging properly so I didn't get their IP, sad! Still, I feel special. Now I know I've made it.</li>
|
<li>2022 Mar 27th: Oh yeah I found those other things. One is now at <a href="https://rakka.tk/r/support">https://rakka.tk/r/support</a>, the other is <a href="https://bae.st/media/38f1485d-a6bd-4b30-a409-0d9e75f22d19/bf313a3566fc2ada.png">here</a></li>
|
||||||
|
<li>2022 Feb 15th: Here are some links for a certain person I was speaking to. Actually a couple of people. <a href='https://mangadex.org/manga/c6a51a13-74fd-46bd-989e-5cdaa26542f6'>Hero BBS</a>, parodying isekai before isekai was big. I still haven't found the other things I mentioned.</li>
|
||||||
|
<li>2022 Feb 9th: Someone discovered that my ftp server was externally accessible and allowed anonymous writes and edits. Unfortunately I am too incompetent to have had it logging properly so I didn't get their IP, sad! Still, I feel special. Now I know I've made it.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -5,15 +5,25 @@
|
|||||||
<title>
|
<title>
|
||||||
Tas [] & Van Canto - {{ title }}
|
Tas [] & Van Canto - {{ title }}
|
||||||
</title>
|
</title>
|
||||||
<!--<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.body.textContent = 'Please disable JavaScript to view this site.'
|
function b(){
|
||||||
</script>Need to add a timer to remove it first. I'm not *that* mean. Credit: https://soc.punktrash.club/objects/bfe4fc29-96d5-4f90-9f9e-4092e7c273a4-->
|
a=document.body.innerHTML
|
||||||
|
document.body.innerHTML = '<main><p>Please disable JavaScript to view this site.</p><p><a href="/javashit">Why?</a> <a href="https://www.wikihow.com/Disable-JavaScript">How?</a></p><p id="tock" class="tick">Or wait <n id="tick">3</n> seconds...</p></main>'
|
||||||
|
function t1(){document.getElementById('tick').textContent=2}
|
||||||
|
function t2(){document.getElementById('tick').textContent=1}
|
||||||
|
function c(){console.log("fucking normie"); document.body.innerHTML=a}
|
||||||
|
window.setTimeout(t1,1000)
|
||||||
|
window.setTimeout(t2,2000)
|
||||||
|
window.setTimeout(c,3000)
|
||||||
|
}
|
||||||
|
</script><!--Need to add a timer to remove it first. I'm not *that* mean. Credit: https://soc.punktrash.club/objects/bfe4fc29-96d5-4f90-9f9e-4092e7c273a4-->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body onload=b()>
|
||||||
{{ nav }}
|
<!--Move navbar to the bottom and use flex to reorder it to the top, so it isn't as intrusive without CSS.-->
|
||||||
<main>
|
<main>
|
||||||
{% autoescape off %}{{ content }}{% endautoescape %}
|
{% autoescape off %}{{ content }}{% endautoescape %}
|
||||||
</main>
|
</main>
|
||||||
<p class="foot">Page last updated {{ date }}</p>
|
<p class="foot">Page last updated {{ date }}</p>
|
||||||
|
{{ nav }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -68,7 +68,7 @@ def articles():
|
|||||||
out=[]
|
out=[]
|
||||||
for k,v in arts.items():
|
for k,v in arts.items():
|
||||||
out.append(f'<h4>{k}</h4>\n'+ '<br/>\n'.join([f'<a href="{l[0]}">{l[1] or l[0]}</a>' for l in v]))
|
out.append(f'<h4>{k}</h4>\n'+ '<br/>\n'.join([f'<a href="{l[0]}">{l[1] or l[0]}</a>' for l in v]))
|
||||||
return {'title':'Articles','content':'<p>'+('</p>\n<p>'.join(out))+'</p>','date':'2022/04/11'}
|
return {'title':'Articles','content':'<p>'+('</p>\n<p>'.join(out))+'</p>','date':'2022/07/25'}
|
||||||
|
|
||||||
def redirect(req,src):
|
def redirect(req,src):
|
||||||
return HttpResponse(status=302,headers={'Location':src.output})
|
return HttpResponse(status=302,headers={'Location':src.output})
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ class BankAccount(models.Model):
|
|||||||
physical=models.CharField(max_length=100)
|
physical=models.CharField(max_length=100)
|
||||||
currency=models.CharField(max_length=5)
|
currency=models.CharField(max_length=5)
|
||||||
@property
|
@property
|
||||||
def balance(self): return sum(map(Payment.objects.filter(account=self)))
|
def balance(self): return sum(map(lambda x:x.amount,Payment.objects.filter(account=self)))
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return str(self.name)+', '+str(self.balance)
|
return str(self.name)+', '+str(self.balance)
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ def nerdshope():
|
|||||||
sums={curr:sum([n.balance for n in filter(lambda x:x.currency==curr,accounts)]) for curr in set(map(lambda x:x.currency,accounts))}
|
sums={curr:sum([n.balance for n in filter(lambda x:x.currency==curr,accounts)]) for curr in set(map(lambda x:x.currency,accounts))}
|
||||||
moneyblob='</li>\n<li>'.join([f'{k}: {v}' for k,v in sums.items()])
|
moneyblob='</li>\n<li>'.join([f'{k}: {v}' for k,v in sums.items()])
|
||||||
moneyblob='Current monetary state: <ul>\n<li>'+moneyblob+'</li>\n</ul>'
|
moneyblob='Current monetary state: <ul>\n<li>'+moneyblob+'</li>\n</ul>'
|
||||||
return {'title':"Nerds' Hope",'content':"Store stuff. TODOing. Will include inventory and budget. <a href='https://facebook.com/nerdshope'>FB</a><br/>\nAddress is 21 Kensington St, Glenorchy<br/>\nOff dates 2022: 29th April, 6th May, 27th May, 17th June, 24th June<br/>\n"+moneyblob,'date':Update.objects.get_or_create(page='nh_main')[0].date}
|
return {'title':"Nerds' Hope",'content':"Store stuff. TODOing. Will include inventory and budget. <a href='https://facebook.com/nerdshope'>FB</a><br/>\nAddress is 21 Kensington St, Glenorchy<br/>\nThe store isn't open when other events happen on Fridays, usually the last Friday of each month. Additionally, on the first and third weeks of each month the store will move around the back (through the gate) around 18:00 to make room for a youth group. If in doubt, ask the youth group for directions.<br/>\nFull list of dates:\n<ol><li>16th Sept - round the back later</li>\n<li>30th Sept - closed</li>\n<li>21st Oct - round the back later</li>\n<li>28th Oct - closed</li>\n<li>4th Nov - round the back later</li>\n<li>18th Nov - round the back later</li>\n<li>25th Nov - closed</li>\n<li>2nd Dec - round the back later</li>\n<li>16th Dec - round the back later</li>\n<li>30th Dec - maybe party</li></ol>\n"+moneyblob,'date':Update.objects.get_or_create(page='nh_main')[0].date}
|
||||||
|
|
||||||
@rerender
|
@rerender
|
||||||
def budget():
|
def budget():
|
||||||
|
|||||||
@@ -5,6 +5,11 @@ body
|
|||||||
|
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
|
||||||
|
/*Move navbar to the bottom and use flex to reorder it to the top, so it isn't as intrusive without CSS.
|
||||||
|
Thanks to @heftig:archlinux.org (matrix) for showing me this.*/
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav
|
nav
|
||||||
@@ -21,6 +26,7 @@ nav
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
||||||
background-color: #9999ff;
|
background-color: #9999ff;
|
||||||
|
order: 1; /*flex thing*/
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
@@ -41,6 +47,7 @@ main
|
|||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
border: 2px solid;
|
border: 2px solid;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
order: 2; /*flex thing*/
|
||||||
}
|
}
|
||||||
|
|
||||||
main *
|
main *
|
||||||
@@ -64,7 +71,7 @@ li.navpiece
|
|||||||
position:relative;
|
position:relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.navpiece, div.navpiece
|
a.navpiece/*, div.navpiece Apparently this wasn't doing anything either.*/
|
||||||
{
|
{
|
||||||
text-decoration-line:none;
|
text-decoration-line:none;
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
@@ -123,7 +130,13 @@ h1
|
|||||||
background-color: #cccccc;
|
background-color: #cccccc;
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: 0; /* Need to set this for flex thing*/
|
||||||
border: 2px solid;
|
border: 2px solid;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
order: 3; /*flex thing*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.tick
|
||||||
|
{
|
||||||
|
color: #dddddd;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user