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
SELECT COUNT(DISTINCT isbn) | |
FROM stud.egzempliorius | |
WHERE EXTRACT(MONTH FROM grazinti)=10; |
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
for var i = 0, elements = 0; i < circles; i++ { | |
x = helixRadius * cos(t) | |
z = helixRadius * sin(t) | |
y = pitchInherent * pitchCurrent * t | |
t += yIncrement | |
helixAngle = atan2(x, z) | |
let circleCenter = Float3(x: x, y: y, z: z) | |
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
#include <sstream> | |
#include <string> | |
#include <iostream> | |
#include <fstream> | |
#include <vector> | |
using namespace std; | |
void printVector(vector<string> v) | |
{ |
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
set nocompatible | |
set expandtab | |
set autoindent | |
set smartindent | |
set softtabstop=4 | |
set tabstop=4 | |
set shiftwidth=4 | |
set showmatch | |
set ruler | |
set nohls |
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
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(newChallenge:) name:@"ZZChallengedReady" object:nil]; | |
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(foundPartner:) name:@"NSActivityReady" object:nil]; |
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 |
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
<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
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
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 |