- Browse to chrome://extensions in a non-incognito window.
- Drag the file widengithubs.user.js onto the window (the extensions list).
- Accept the security warning. Please review the script to determine that we are not, in fact, installing a malicious script.
- Find the script in the list and tick the "Allow in incognito" box for the script.
- Profit.
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
using com.esendex.sdk.sent; | |
... | |
const int pageNumber = 1; | |
const int pageSize = 20; | |
var sentService = new SentService(USERNAME, PASSWORD); | |
try | |
{ |
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
using com.esendex.sdk.inbox; | |
... | |
const int pageNumber = 1; | |
const int pageSize = 20; | |
var inboxService = new InboxService(USERNAME, PASSWORD); | |
try | |
{ |
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
using com.esendex.sdk; | |
using com.esendex.sdk.messaging; | |
... | |
var credentials = new EsendexCredentials(USERNAME, PASSWORD); | |
var messagingService = new MessagingService(true, credentials); | |
try | |
{ | |
var message = new SmsMessage("447123456789", "This is a test message...", "<myAccountReference>"); |
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
using com.esendex.sdk.messaging; | |
using com.esendex.sdk.sent; | |
... | |
const int pageNumber = 1; | |
const int pageSize = 20; | |
var credentials = new EsendexCredentials(USERNAME, PASSWORD); | |
var sentService = new SentService(credentials); |
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
module Main where | |
import Test.Hspec | |
someNumbers2 :: [Int] | |
someNumbers2 = 1:2:3:[] | |
-- someNumbers3 = 4:5:[1,2,3] | |
mapList2 :: (Int -> Int) -> [Int] -> [Int] |
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
module FizzBuzzFSharp.``FizzBuzz in F#`` | |
open NUnit.Framework | |
open FsUnit | |
let fizzbuzz n = | |
match n with | |
| n when n % 15 = 0 -> "fizzbuzz" | |
| n when n % 5 = 0 -> "buzz" | |
| n when n % 3 = 0 -> "fizz" |
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
% Run tests with: erlc fizzbuzz.erl && erl -noshell -pa ebin -eval "eunit:test(fizzbuzz, [verbose])" -s init stop | |
-module(fizzbuzz). | |
-compile(export_all). | |
-include_lib("eunit/include/eunit.hrl"). | |
fizzbuzz(N) when N rem 15 == 0 -> fizzbuzz(3) ++ fizzbuzz(5); | |
fizzbuzz(N) when N rem 3 == 0 -> "fizz"; | |
fizzbuzz(N) when N rem 5 == 0 -> "buzz"; | |
fizzbuzz(N) -> integer_to_list(N). |
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
#! /bin/bash | |
# functions | |
vscode() { | |
# opens Visual Studio Code with the specified parameters | |
VSCODE_CWD=$PWD | |
$USERPROFILE/AppData/Local/Code/Update.exe --processStart Code.exe -a="$*" | |
} | |
# aliases |
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
package main | |
import dispatch._, Defaults._ | |
object DispatchMessage extends App { | |
def DispatchRequest(reference: String, body: String, to: String): scala.xml.Elem = <messages> | |
<accountreference>{ reference }</accountreference> | |
<message> | |
<to>{ to }</to> |
OlderNewer