Skip to content

Instantly share code, notes, and snippets.

@vitosamson
vitosamson / git-size.sh
Last active August 29, 2015 14:11
git-size.sh
#!/bin/bash
dir=$1
usage() {
echo "usage: git-size.sh /path/to/repo"
exit 1
}
get_size() {
@vitosamson
vitosamson / index.html
Last active August 29, 2015 14:13
Object.defineProperty data-binding
<html>
<head>
<script src="main.js"></script>
</head>
<body>
<div>
{{ foo }}
</div>
<input type="text" data-model="foo" id="foo">
</body>
@vitosamson
vitosamson / client.html
Last active December 27, 2023 01:07
foscam streaming
<canvas height="720" width="1280" id="canvas"></canvas>
<button id="snapshotBtn">snapshot</button>
<script>
var fragments = [];
var frames = [];
var ws = new WebSocket('ws://192.168.1.3:4001');
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
var reader = new FileReader();
Post ID to test: 5v6ft9
Loaded comments.
(likely) MARKOV BOT FOUND! Comment: First off the claim about a broader definition of rape than other countries is flat out wrong. For example our neighbour Norway has an even broader defintion as you can read about in these two studies: http://juridicum.se/WEB.nsf/(MenuItemByDocId)/IDA42BD8D7B7D314FBC1257D240028A113/$FILE/Hansson%20Sara.pdf https://lup.lub.lu.se/student-papers/search/publication/1730719 Secondly the claim that Sweden records rapes in a very different way than other countries is also flat out wrong as you can read about in these two studies: http://www3.istat.it/istat/eventi/2003/perunasocieta/relazioni/Aebi_abs.pdf https://www.unodc.org/documents/southeasterneurope/Doc_9_Aebi_2008_Counting_rules.doc
(likely) MARKOV BOT FOUND! Comment: Sorry, your comment has been removed for violating [comment rule 2](https://www.reddit.com/r/NeutralPolitics/wiki/guidelines#wiki_comment_rules) as it does not provide sources for its statements of fact. If you edit your