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
# -*- coding: utf-8 -*- | |
from BeautifulSoup import BeautifulSoup | |
import json | |
import os | |
import requests | |
def max(x,y): | |
return x if x > y else y |
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 edu.calpoly.android.lab2; | |
/** | |
* This class encapsulates the data pertaining to a Joke. | |
*/ | |
public class Joke { | |
/** The three possible rating values for jokes. */ | |
public static final int UNRATED = 0; | |
public static final int LIKE = 1; |
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 edu.calpoly.android.lab2; | |
import java.util.ArrayList; | |
import android.app.Activity; | |
import android.content.res.Resources; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.util.TypedValue; | |
import android.widget.Button; |
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
.INCLUDE "m168def.inc" | |
.LIST | |
.CSEG | |
.ORG 0 | |
jmp main | |
.DEF addr1 = R30 | |
.DEF addr2 = R31 | |
.DEF data = R29 |
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
.INCLUDE "m168def.inc" | |
.LIST | |
.CSEG | |
.ORG 0 | |
jmp main | |
.DEF addr1 = R30 | |
.DEF addr2 = R31 | |
.DEF data = R29 |
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
.INCLUDE "m168def.inc" | |
.LIST | |
.CSEG | |
.ORG 0 | |
jmp main | |
.DEF addr1 = R21 | |
.DEF addr2 = R22 | |
.DEF data = R23 |
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
Script started on Sun 30 Jun 2013 06:06:43 PM ICT | |
nut@nut-ubuntu:~$ sudo adduser adduser 5431010121 --force-badname | |
sudo | |
[sudo] password for nut: | |
Allowing use of questionable username. | |
Adding user `5431010121' ... | |
Adding new group `5431010121' (1003) ... | |
Adding new user `5431010121' (1003) with group `5431010121' ... | |
Creating home directory `/home/5431010121' ... |
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
#include <avr/io.h> | |
#define F_CPU 1600000UL | |
#include <util/delay.h> | |
#define PORT_LED PORTB | |
#define DIR_LED DDRB | |
#define LED1 1 | |
#define LED2 2 | |
#define BTN 0 |
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
#include <avr/io.h> | |
#define F_CPU 1600000UL | |
#include <util/delay.h> | |
#define PORT_LED PORTB | |
#define DIR_LED DDRB | |
#define LED1 1 | |
#define LED2 2 | |
#define BTN 0 |
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
#include <avr/io.h> | |
#define F_CPU 1600000UL | |
#include <util/delay.h> | |
#define PORT_LED PORTB | |
#define DIR_LED DDRB | |
#define LED1 1 | |
#define LED2 2 | |
#define BTN 0 | |
#define t 200 |
OlderNewer