This file contains hidden or 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
program Bevarde; | |
type Taskas3D = record | |
X:real; | |
Y:real; | |
Z:real; | |
end; | |
type atkarpa = record | |
Taskas1: ^Taskas3D; | |
Taskas2: ^Taskas3D; |
This file contains hidden or 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
" Configuration file for vim | |
set modelines=0 " CVE-2007-2438 | |
" Normally we use vim-extensions. If you want true vi-compatibility | |
" remove change the following statements | |
set nocompatible " Use Vim defaults instead of 100% vi compatibility | |
set backspace=2 " more powerful backspacing | |
" Don't write backup file if vim is being called by "crontab -e" | |
au BufWrite /private/tmp/crontab.* set nowritebackup |
This file contains hidden or 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
kvs := map[string]string{"a": "apple", "b": "banana"} | |
for k, v := range kvs { | |
fmt.Printf("%s -> %s\n", k, v) // If I press Enter here | |
// <-- The cursor jumps here | |
} |
This file contains hidden or 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
||| fib( 0 ): 0 | |
||| fib( 1 ): 1 | |
||| fib( 2 ): 1 | |
||| fib( 3 ): 2 | |
||| fib( 4 ): 3 | |
||| fib( 5 ): 5 | |
||| fib( 6 ): 8 | |
||| fib( 7 ): 13 | |
--- fib( 0 ): 0 | |
||| fib( 8 ): 21 |
This file contains hidden or 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
||| fib( 0 ): 0 | |
||| fib( 1 ): 1 | |
||| fib( 2 ): 1 | |
||| fib( 3 ): 2 | |
||| fib( 4 ): 3 | |
||| fib( 5 ): 5 | |
||| fib( 6 ): 8 | |
||| fib( 7 ): 13 | |
||| fib( 8 ): 21 | |
||| fib( 9 ): 34 |
This file contains hidden or 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
numcpus: 8 | |
||| fib( 0 ): 0 | |
||| fib( 1 ): 1 | |
||| fib( 2 ): 1 | |
||| fib( 3 ): 2 | |
||| fib( 4 ): 3 | |
||| fib( 5 ): 5 | |
||| fib( 6 ): 8 | |
||| fib( 7 ): 13 | |
||| fib( 8 ): 21 |
This file contains hidden or 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
program Antrasis_lab_2_uzduotis; | |
//Gretos Gedminaites FDM2 | |
//Parasykite funkcija, kuri teksto eiluciu saraso( funkcijos parametras ) priekyje prideda tokia pat eilute kaip paskutine eilute. Naujai | |
//suformuota sarasa funkcija grazina kaip rezultata. | |
type PSar = ^TSar; | |
TSar = record | |
duomuo : string; | |
kitas : PSar; |
This file contains hidden or 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
<html> | |
<body> | |
<div> | |
MSDOS | |
<span style='color:#308080;'>2</span>. | |
<span style='color:#308080;'>0</span> | |
<span style='color:#308080;'>0</span> | |
Function Library for Lattice C | |
</div> | |
<div> <!-- What is this?! --> |
This file contains hidden or 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
CGFloat height = 20; | |
CGRect frameMessage = CGRectMake(0, 0, self.view.bounds.size.width, height); | |
MessageView *messageView;// = [[MessageView alloc] initWithFrame:frameMessage message:@"Font list" font:@"Thonburi-Bold"]; | |
// Iterate over all the fonts in iOS | |
NSArray *fonts = [NSArray arrayWithObjects:@"Thonburi-Bold", @"Thonburi", @"Thonburi-Light", @"SnellRoundhand-Black", @"SnellRoundhand-Bold", @"SnellRoundhand", @"AcademyEngravedLetPlain", @"MarkerFelt-Thin", @"MarkerFelt-Wide", @"Avenir-Heavy", @"Avenir-Oblique", @"Avenir-Black", @"Avenir-Book", @"Avenir-BlackOblique", @"Avenir-HeavyOblique", @"Avenir-Light", @"Avenir-MediumOblique", @"Avenir-Medium", @"Avenir-LightOblique", @"Avenir-Roman", @"Avenir-BookOblique", @"GeezaPro-Bold", @"GeezaPro", @"GeezaPro-Light", @"ArialRoundedMTBold", @"Trebuchet-BoldItalic", @"TrebuchetMS", @"TrebuchetMS-Bold", @"TrebuchetMS-Italic", @"ArialMT", @"Arial-BoldItalicMT", @"Arial-ItalicMT", @"Arial-BoldMT", @"Marion-Regular", @"Marion-Italic", @"Mar |
This file contains hidden or 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
- (Activity *)initiateActivityForPerson | |
{ | |
Activity *activity = [[Activity alloc] init]; | |
/* Set all the prerequisites */ | |
activity.user = [self.sdk currentUser]; | |
activity.name = [NSString stringWithFormat:@"Play %@", self.level.name]; | |
activity.activityType = 1; | |
activity.multiplayer = YES; | |
activity.level = self.level.level + 1; | |
// Questions for this activity |