-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f60801
commit 7896f6f
Showing
36 changed files
with
245 additions
and
19 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block title %}Ace Django Template{% endblock %} | ||
|
||
{% block content %} | ||
<h1>Hello, {{ name|default:"World" }}!</h1> | ||
{% endblock %} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#include "globalDefines.h" | ||
|
||
!========================================================= | ||
program main | ||
!========================================================= | ||
use params_module, only : nx, ny, nz | ||
|
||
implicit none | ||
|
||
integer, parameter :: g = 9.81 | ||
real, allocatable, dimension(:,:,:) :: array | ||
integer :: a, b, c | ||
real*8 :: x, y, z | ||
|
||
b = 5 | ||
c = 7 | ||
|
||
#ifdef ARRAY_COMP | ||
allocate(array(10,10,10), status=a) | ||
|
||
write(c,'(i5.5)') b | ||
#endif | ||
|
||
if(x.lt.5.0) then | ||
array(:,:,:) = g | ||
else | ||
array(:,:,:) = x - y | ||
endif | ||
|
||
return | ||
!======================================================== | ||
end program main | ||
!======================================================== |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Original source from https://eng.libretexts.org | ||
# Kann, Charles W., "Introduction To MIPS Assembly Language Programming" (2015). Open Textbooks. 2. | ||
# https://cupola.gettysburg.edu/oer/2 | ||
|
||
# Program File: Program2-1.asm | ||
# Author: Charles Kann | ||
# Purpose: First program, Hello World | ||
.text # Define the program instructions. | ||
main: # Label to define the main program. | ||
li $v0,4 # Load 4 into $v0 to indicate a print string. | ||
la $a0, greeting # Load the address of the greeting into $a0. | ||
syscall # Print greeting. The print is indicated by | ||
# $v0 having a value of 4, and the string to | ||
# print is stored at the address in $a0. | ||
li $v0, 10 # Load a 10 (halt) into $v0. | ||
syscall # The program ends. | ||
.data # Define the program data. | ||
greeting: .asciiz "Hello World" #The string to print. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
This is just some text! | ||
|
||
// These | ||
# are | ||
-- not | ||
<!-- comments --> | ||
(but indent actions work) | ||
|
||
This is just some text! |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
<meta name="author" content="Fabian Jakobs"> | ||
<!-- | ||
Ace | ||
version 1.12.3 | ||
version 1.12.4 | ||
commit | ||
--> | ||
|
||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.