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 checkBoxManager = { | |
| allSelected: false, | |
| checkBoxes: null, | |
| init: function ($checkBoxes) { | |
| var that = this; | |
| that.checkBoxes = $checkBoxes; | |
| }, |
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
| <!--https://www.esendex.com/secure/messenger/formpost/SendSMS.aspx? | |
| [email protected]& | |
| account=ex000xxxx& | |
| password=xxx& | |
| recipient=xxx& | |
| body=xxx& | |
| plaintext=1--> | |
| <form method="post" action="https://www.esendex.com/secure/messenger/formpost/SendSMS.aspx?"> | |
| <label for="username">Enter your username:</label> |
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 NUnit.Framework; | |
| namespace TestWithExceptions | |
| { | |
| /// <summary> |
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
| Imports System.ServiceModel | |
| Module Module1 | |
| Sub Main() | |
| Dim service = New ServiceReference1.InboxServiceSoapClient() | |
| Dim messageHeader = New EsendexSoap.ServiceReference1.MessengerHeader | |
| messageHeader.Account = "" |
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
| package com.example.test1; | |
| import android.app.Activity; | |
| public class BaseActivity extends Activity { | |
| protected <T> T GetViewById(int id) { | |
| return (T)findViewById(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
| Module LambdasAndAnonymousFunctions | |
| Sub Main() | |
| Dim people = { | |
| New With {.Name = "Mick", .Age = 12}, | |
| New With {.Name = "Michelle", .Age = 24} | |
| } | |
| Dim nameBeginsWithM = Function(name) name.ToUpper.StartsWith("M") | |
| Dim ageIsEven = Function(age) age Mod 2 = 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
| namespace CSharpEquiv | |
| { | |
| public static class Recursion | |
| { | |
| public static int Fib1(int x) | |
| { | |
| return (x == 1 || x == 2) ? 1 : Fib1(x - 1) + Fib1(x - 2); | |
| } | |
| public static int Fib2(int x) |
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 addTwoNumbers(x, y) { | |
| var oldX = x, oldY = y; | |
| if (typeof oldY === "undefined") { | |
| return function(newY) { | |
| return oldX + newY; | |
| }; | |
| } | |
| return x + y; |
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
| //some sort of request | |
| { | |
| consoleId: '0c84f45c-b7e4-4d88-9efd-2a3e62acda55' | |
| userId: 'affc5de4-cc3f-4e3f-9dec-0b4af26cc2cd' | |
| gameId: 'dbb4c1dd-3f29-4f5f-b993-5f09d36659db' | |
| } | |
| //some sort of response |
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 greeter = function greet(people) { | |
| if (people.length > 0) { | |
| console.log("hola " + people.pop()); | |
| greet(people); | |
| } | |
| } | |
| greeter(["Hotrod", "Cup", "Grimlock", "Blaster"]); |