This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hej Datavetenskap, | |
VIKTIGT! | |
Under det senaste mötet med DVKV hade vi en lång och allvarlig diskussion | |
gällande alkohol på DV:s evenemang. DVKVs utveckling under de senaste åren har | |
gått mer och mer mot att vara en organisation som främst gör alkohol | |
tillgänglig för dess medlemmar, och vi i DVKV:s styrelse känner att det inte | |
är den vägen vi vill fortsätta på. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static IQueryable<T> Order<T>( this IQueryable<T> source, IOrderDetails co ) { | |
if( co == null || co.GetOrderColumn() == null ) | |
return source; | |
try { | |
var x = Expression.Parameter( source.ElementType, "x" ); | |
var selector = Expression.Lambda( Expression.PropertyOrField( x, co.GetOrderColumn() ), x ); | |
return source.Provider.CreateQuery( | |
Expression.Call( typeof( Queryable ), co.IsDescending() ? "OrderByDescending" : "OrderBy", new Type[] { source.ElementType, selector.Body.Type }, | |
source.Expression, selector | |
) ) as IQueryable<T>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Subject: This Company Demands Your Attention! Our New Pick is Primed for Action | |
From: <[email protected]> | |
Message-ID: <083F6923086A4479BD2FA8FA0B5BFDA0.MAI@home> | |
Flashing buy signals from every direction! | |
Date: Monday, Oct 1st | |
Name: Face Up Entertainment Group, Inc. | |
Traded as: FUE G | |
Buy it at: .303 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <math.h> | |
#include "kernel.h" | |
#include "kernel_id.h" | |
#include "ecrobot_interface.h" | |
/* OSEK declarations */ | |
DeclareCounter(SysTimerCnt); | |
DeclareAlarm(display_cyclic_alarm); | |
DeclareAlarm(color_sensor_cyclic_alarm); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: Per Eric Rosén <[email protected]> | |
To: [email protected] | |
Subject: gamla prylar i386 skänkes | |
Hej! | |
Käns synd att slänga fungerande saker ... | |
Behöver i alla fall rensa ut: | |
* datorer och moderkort från 486 till Pentium 4 | |
* OS/2 många versioner i kartong |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA1 | |
- -=# SUNET-CERT #=- | |
Titel : Skype orm | |
Publication date : 20121009 | |
Advisory ID : SUNET CERT-2012-093 | |
Version : 1.00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Proceed with installation? [Y/n] | |
(192/192) checking package integrity [#####################################] 100% | |
(192/192) loading package files [#####################################] 100% | |
(192/192) checking for file conflicts [#####################################] 100% | |
(199/199) checking available disk space [#####################################] 100% | |
(1/7) removing eject [#####################################] 100% | |
(2/7) removing udev [#####################################] 100% | |
(3/7) removing sqlite3 [#####################################] 100% | |
(4/7) removing gnupg2 [#####################################] 100% | |
(5/7) removing libusb [################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kära damer och herrar! | |
En utländsk klinik erbjuder dig att arbeta som fjärrassistent. | |
Det här jobbet kräver inte några särskilda förberedelser eller speciell erfarenhet. | |
Man kan börja jobba en timma i veckan och tjäna 90 EUR i timman. Betalning får ni genast i kontanter. | |
Arbetet innefattar att ta emot beställningar från våra kunder i din stad via internet. | |
Du behöver ej göra samtal eller resa långt. | |
Vi kommer att skicka dig mer information och ett formellt avtal innan du börjar jobba. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var loltable = new[] { | |
new { Property = "Name", Value = "Glenn", Id = 7 }, | |
new { Property = "LastName", Value = "Brax", Id = 7 }, | |
new { Property = "Active", Value = "1", Id = 7 }, | |
new { Property = "Name", Value = "Kossa", Id = 5 }, | |
new { Property = "LastName", Value = "Mu", Id = 5 }, | |
new { Property = "Active", Value = "0", Id = 5 }, | |
new { Property = "Name", Value = "Trololol", Id = 2 }, | |
new { Property = "LastName", Value = "Håhåhå", Id = 2 }, | |
new { Property = "Active", Value = "1", Id = 2 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void matrix_multiply(int *A, int *B, int *C, int N) | |
{ | |
for(int i=0,j=0; i<N & j<N ? 1 : j<N ? 1 +(i=0*j++) : 0; C[(i++)*N+j]=0); | |
for(int i=0,j=0,k=0; k++<N ? 1 : ++j<N ? k=1 : ++i<N ? k=1+(j=0) : 0;C[i*N + j] += A[i*N + k -1] * B[(k-1)*N + j]); | |
} |