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 customer_name, cust_date | |
| FROM customer | |
| JOIN cust ON customer.customer = cust.customer_id | |
| WHERE EXTRACT(MONTH FROM cust_date) = EXTRACT(MONTH FROM DATEADD(-1 MONTH TO CURRENT_DATE)) |
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 | |
| [Project6].[id] AS [id], | |
| [Project6].[C1] AS [C1], | |
| [Project6].[stimul] AS [stimul], | |
| [Project6].[C3] AS [C2], | |
| [Project6].[C2] AS [C3], | |
| [Project6].[reaction] AS [reaction], | |
| [Project6].[C4] AS [C4] | |
| FROM ( SELECT | |
| [Project1].[id] AS [id], |
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
| CREATE TABLE dae.dbo.stimuls( | |
| id INT IDENTITY, | |
| stimul NVARCHAR(100) NOT NULL, | |
| CONSTRAINT PK_stimuls PRIMARY KEY (id) | |
| ) | |
| GO |
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 | |
| [Project2].[id] AS [id], | |
| [Project2].[stimul] AS [stimul] | |
| FROM ( SELECT | |
| [Extent1].[id] AS [id], | |
| [Extent1].[stimul] AS [stimul] | |
| FROM [dbo].[stimuls] AS [Extent1] | |
| WHERE EXISTS (SELECT | |
| 1 AS [C1] | |
| FROM [dbo].[reactions] AS [Extent2] |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Windows.Networking; | |
| using Windows.Networking.Sockets; | |
| using Windows.Storage.Streams; | |
| namespace AzalyDC.Common.Networking |
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
| function insert(item, user, request) { | |
| var topTable = tables.getTable('Leaderboard'); | |
| var minItem = topTable.orderBy('Score').take(1).read({ | |
| success: function(results) { | |
| if(item.Score > minItem.Score) | |
| { | |
| request.execute(); | |
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
| var ret = JObject.Parse(@"{ | |
| 'response': [{ | |
| id: 205387401, | |
| first_name: 'Tom', | |
| last_name: 'Cruise', | |
| sex: 2, | |
| city: '5331', | |
| country: '9' | |
| }]}"); | |
| Mock<IApi> mock = new Mock<IApi>(); |
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
| if(client != null) { | |
| try { | |
| client.onConnected = new OnConnected() { | |
| public void run(final OrtcClient sender) { | |
| Log.i(LOG_TAG, "connected to " + sender.getUrl()); | |
| client.subscribe(notificationChannel, true, new OnMessage() { | |
| public void run(OrtcClient sender, String channel, String message) { |
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
| { | |
| "response":{ | |
| "game":[ | |
| { | |
| "game_id":1, | |
| "interaction":{ | |
| "max":100.0, | |
| "type":"VoteGame", | |
| "id":1, | |
| "min":0.0 |
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
| #define _CRT_SECURE_NO_WARNINGS 1 | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <map> | |
| #include <vector> | |
| #include <set> | |
| #include <algorithm> | |
| #include <iterator> |
OlderNewer