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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css"> | |
* { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
text-decoration: none; | |
border: none; |
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 src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script> |
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
$(document).ready(function() { | |
}); |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int NUMASCII = 127; | |
struct Ascii { | |
int code; // ascii character code | |
int occurrences; // number of occurrences | |
}; |
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 "string.h" | |
#include "stdlib.h" | |
#include "stdio.h" | |
char *wrap(char *s, char wchars[]) { | |
char *result = malloc(strlen(s) + 3); | |
result[0] = wchars[0]; | |
strcat(result, s); | |
result[strlen(s) + 1] = wchars[1]; | |
return result; |
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 "string.h" | |
#include "stdlib.h" | |
#include "stdio.h" | |
int NUM_KEYS = 9; // 2 - 9 and 0 | |
struct Number { | |
int number; // number on keypad | |
char *letters; // letters associated with number | |
int hits; // number of times pressed |
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 "string.h" | |
#include "stdlib.h" | |
#include "stdio.h" | |
int denominations[] = { 10000, 5000, 2000, 1000, 500, 100, 25, 10, 5, 1 }; | |
int NUM_DENOMINATIONS = sizeof(denominations) / sizeof(denominations[0]); | |
int count[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; | |
int main(int argc, char const *args[]) { | |
int due = atof(args[1]) * 100; | |
int paid = 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
import SwiftUI | |
import PlaygroundSupport | |
struct Screen: View { | |
var body: some View { | |
ScrollView { | |
VStack { | |
Text("5:45").font(.system(size: 64, weight: .thin)) | |
Text("Monday, May 11").font(.system(size: 24)) | |
}.padding(.vertical, 32) |
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 SwiftUI | |
import PlaygroundSupport | |
struct Screen: View { | |
var body: some View { | |
VStack { | |
ForEach(1...4, id: \.self) { _ in | |
HStack { | |
Spacer() | |
VStack { |
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 SwiftUI | |
import PlaygroundSupport | |
struct Screen: View { | |
var body: some View { | |
NavigationView { | |
List { | |
Section { | |
NavigationLink(destination: Text("Detail View")) { | |
HStack { |
OlderNewer