Skip to content

Instantly share code, notes, and snippets.

View pawelsawicz's full-sized avatar

Pawel Sawicz pawelsawicz

View GitHub Profile
{
"events": [
{
"completionDate": "/Date(1444950000000+0100)/",
"description": "",
"eventType": 0,
"expiryDate": "/Date(1452902400000+0000)/",
"id": 2441274,
"location": "",
"name": "Barclays Moontrekker 2015",
if(a<=b){
return 1;
}
else{
return 0;
}
IL changes to
if(a>b){
Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET 5 Web Application deployment.
Downloading dnx-clr-win-x86.1.0.0-beta7 from https://www.nuget.org/api/v2
Installing to D:\local\UserProfile\.dnx\runtimes\dnx-clr-win-x86.1.0.0-beta7
Adding D:\local\UserProfile\.dnx\runtimes\dnx-clr-win-x86.1.0.0-beta7\bin to process PATH
Native image generation (ngen) is skipped. Include -Ngen switch to turn on native image generation to improve application startup time.
Microsoft .NET Development Utility CLR-x86-1.0.0-beta7-15532
GET https://api.nuget.org/v3/index.json
OK https://api.nuget.org/v3/index.json 577ms
Restoring packages for D:\home\site\repository\src\dotNetConfPL.Web\project.json
Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET 5 Web Application deployment.
'dnx-clr-win-x86.1.0.0-beta7' is already installed.
Adding D:\local\UserProfile\.dnx\runtimes\dnx-clr-win-x86.1.0.0-beta7\bin to process PATH
Microsoft .NET Development Utility CLR-x86-1.0.0-beta7-15532
CACHE https://api.nuget.org/v3/index.json
Restoring packages for D:\home\site\repository\src\dotNetConfPL.Web\project.json
GET https://api.nuget.org/v3-flatcontainer/microsoft.dnx.runtime/index.json
GET https://api.nuget.org/v3-flatcontainer/microsoft.aspnet.mvc/index.json
GET https://api.nuget.org/v3-flatcontainer/microsoft.aspnet.mvc.taghelpers/index.json
public int Add(int a, int b)
{
return a + b;
}
// Example program
#include <iostream>
#include <string>
using namespace std;
int main()
{
int liczbaKostek;
cout << "Podaj liczbe kostek : \n";

To obtain barear token access_token additionally this tutorial contain flow for offline_access which allows you to refresh access token, you have to :

  1. At the beginning, you have to specify client_id which is your app id, and scopes openid, profile, email, account are required one. Additionally if you want to be able to refresh access token then add offline_access. This step is usually what user will see.

    a. https://identity.justgiving.com/connect/authorize?client_id=68d9341b&response_type=code&scope=openid+profile+email+account+fundraise+offline_access&redirect_uri=http%3A%2F%2Flocalhost&nonce=ba3c9a58dff94a86aa633e71e6afc4e3

  2. When you obtain code from previous call you can call

    POST: /connect/token

HTTP/1.1 200 OK
Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With, Referer, User-Agent, Origin, Accept, Host, x-app-id, x-api-key, x-application-key
Access-Control-Allow-Methods: HEAD, GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 300
Age: 0
X-AspNetMvc-Version: 5.2
X-Cacheable: TTL expired
X-Country-Code: GB
X-FinalDomain: Final domain = web_api_services
conemu
git
atom
thunderbird
poshgit
ilspy
conemu
git
atom
poshgit
ilspy