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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class keyboardInput : MonoBehaviour { | |
private Rigidbody2D rigidbody2D; | |
public float JumpForce; |
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 System; | |
using System.CodeDom; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Security.Cryptography.X509Certificates; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Xml.Schema; |
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 System; | |
using System.CodeDom; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Security.Cryptography.X509Certificates; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Xml.Schema; |
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 com.company; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
public class Main { | |
public static void main(String[] args) { | |
// write your code here |
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
<?php | |
$client = new SoapClient("http://footballpool.dataaccess.eu/data/info.wso?wsdl"); | |
$result = $client->TopGoalScorers(array('iTopN'=>15)); | |
?> | |
<pre> | |
<?php | |
echo print_r($result); | |
$arrayOfPlayers = $result->TopGoalScorersResult->tTopGoalScorer; | |
foreach ($arrayOfPlayers as $value) |
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
import {Component} from '@angular/core'; | |
import {NavController} from 'ionic-angular'; | |
import { AlertController } from 'ionic-angular'; | |
@Component({ | |
templateUrl: 'build/pages/contact/contact.html' | |
}) | |
export class ContactPage { | |
constructor(public navCtrl: NavController, public alertCtrl: AlertController) { | |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
import {Component} from '@angular/core'; | |
import {NavController} from 'ionic-angular'; | |
import { AlertController } from 'ionic-angular'; | |
import {Platform, ActionSheet, } from 'ionic-angular'; | |
import {ActionSheetController} from 'ionic-angular'; | |
import {Catch} from '../models/catch'; |
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
<ion-header> | |
<ion-navbar> | |
<ion-title>New Catch</ion-title> | |
</ion-navbar> | |
</ion-header> | |
<ion-content padding class="home"> | |
<h2>Save your catches</h2> | |
<ion-list> |
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
#experimenting with analogToDigital converter | |
# august 2016 Ebbe Vang | |
# for python3. smbus module required | |
import smbus | |
bus = smbus.SMBus(1) | |
print("Read from analog to digital converter") | |
print("Ctrl+c to stop") |