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
| # Versión de CircleCI | |
| version: 2 | |
| # Pipeline de ejecución | |
| jobs: | |
| build: | |
| working_directory: ~/code | |
| # Imagen de Docker en donde se ejecutarán nuestras pruebas | |
| docker: | |
| - image: circleci/android:api-25-alpha | |
| environment: |
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
| ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
| // CANVAS API Call Template | |
| // by Jake Standish [jacob.standish@cms.k12.nc.us] | |
| // Written December, 2016 | |
| // You are free to copy and moodify this code at your own risk. | |
| // | |
| // INSTRUCTIONS | |
| // 1. Copy this code. | |
| // 2. Open a google apps script file from a Google Spreadsheet, Form, Document, or Google Apps Script (script.google.com). | |
| // 3. Obtain your access token from Canvas and paste it's value in the parenthese after var accessToken = |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- Layout for a single list item --> | |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="@dimen/list_item_height" | |
| android:background="@color/tan_background" | |
| android:orientation="horizontal"> |
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
| // Find the View that shows the numbers category | |
| TextView numbers = (TextView) findViewById(R.id.numbers); | |
| // Set a click listener on that View | |
| numbers.setOnClickListener(new View.OnClickListener() { | |
| // The code in this method will be executed when the numbers View is clicked on. | |
| @Override | |
| public void onClick(View view) { | |
| Intent numbersIntent = new Intent(MainActivity.this, NumbersActivity.class); | |
| startActivity(numbersIntent); |
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.android.lifecycle; | |
| import android.os.Bundle; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.util.Log; | |
| public class MainActivity extends AppCompatActivity { | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { |
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
| struct student | |
| { | |
| int id; | |
| string name; | |
| string classNumber; | |
| }; |
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
| #include <stdio.h> | |
| /* | |
| * See also : http://class.ece.iastate.edu/arun/CprE281_F05/ieee754/ie5.html | |
| */ | |
| union FloatingPointIEEE754 { | |
| struct { | |
| unsigned int mantissa : 23; | |
| unsigned int exponent : 8; | |
| unsigned int sign : 1; |