I hereby claim:
- I am zsiciarz on github.
- I am zsiciarz (https://keybase.io/zsiciarz) on keybase.
- I have a public key whose fingerprint is 0AA1 FE0C 36A6 04DC 2251 A1DD 3B83 919C CC13 C058
To claim this, I am signing this object:
fn solution1 () -> int { | |
let mut sum = 0; | |
for i in range(1, 1000) { | |
if i % 3 == 0 || i % 5 == 0 { | |
sum += i; | |
} | |
} | |
sum | |
} |
#include "HMyClass.h" | |
#include <stdio.h> | |
void my_eh( const char * error_message, void * unused) | |
{ | |
printf("my_eh: %s\n", error_message); | |
} | |
int main() | |
{ |
Install-WindowsUpdate -AcceptEula | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
choco install 7zip -version 9.22.01.20130618 | |
choco install 7zip.install -version 9.22.01.20130618 | |
choco install cmake -version 2.8.12 | |
choco install Firefox -version 32.0.1 | |
choco install git -version 1.9.4 | |
choco install git.install -version 1.9.4 | |
choco install javaruntime -version 7.0.67.20140907 |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env sh | |
set -eu | |
IFS=$'\n\t' | |
PREFIX="workon siciarz.net" | |
gnome-terminal \ | |
--maximize \ | |
--working-directory=Development/siciarz.net \ | |
--tab \ | |
--title="editor" \ |
import functools | |
import types | |
@functools.singledispatch | |
def fmap(value, fun): | |
return value | |
@fmap.register(list) |
./configure --enable-perlinterp \ | |
--enable-pythoninterp \ | |
--enable-rubyinterp \ | |
--enable-cscope \ | |
--enable-gui=auto \ | |
--enable-gtk2-check \ | |
--enable-gnome-check \ | |
--with-features=huge \ | |
--enable-multibyte \ | |
--with-x \ |
defmodule Functools do | |
def reduce(func, [head|tail], acc) do | |
reduce(func, tail, func.(head, acc)) | |
end | |
def reduce(_func, [], acc) do | |
acc | |
end | |
def map(func, [head|tail]) do |
#include "aquila/tools/TextPlot.h" | |
#include <cstddef> | |
int main(int argc, char *argv[]) | |
{ | |
const std::size_t SIZE = 64; | |
int arr[SIZE]; | |
for (std::size_t i = 0; i < SIZE; ++i) | |
{ | |
arr[i] = i % 10; |
--- D:/Python26/Lib/site-packages/django_notification-0.1.4-py2.6.egg/notification/views.py Tue Jun 08 14:21:04 2010 | |
+++ D:/Python26/Lib/site-packages/django_notification-0.1.4-py2.6.egg/notification/views2.py Tue Jun 08 14:21:12 2010 | |
@@ -19,7 +19,7 @@ | |
@login_required | |
def notices(request): | |
notice_types = NoticeType.objects.all() | |
- notices = Notice.objects.notices_for(request.user, on_site=True) | |
+ notices = Notice.objects.notices_for(request.user, on_site=True).select_related(depth=1) | |
settings_table = [] | |
for notice_type in NoticeType.objects.all(): |