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> | |
void fancy_function( void * a ) { | |
unsigned char * bytes = (unsigned char *) &a ; | |
size_t i; | |
for (i = 0; i < 8; i++) { | |
printf("%d\n", bytes[i]); | |
} |
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
function make_node(value) { | |
return { | |
value: value, | |
next: null, | |
}; | |
} | |
var first = make_node(1); | |
var second = make_node(2); | |
var third = make_node(4); |
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
let rec read_inp () = | |
try | |
let i = read_float() in | |
i::(read_inp ()) | |
with End_of_file -> [] | |
;; | |
(* todo tail recursive *) | |
let rec fact = function | |
| 1 -> 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 htmlEditor; | |
import java.awt.*; | |
import java.awt.event.*; | |
import java.io.*; | |
import javax.swing.*; | |
import java.awt.datatransfer.*; | |
import javax.swing.undo.*; | |
import javax.swing.event.*; | |
import javax.swing.text.*; | |
import java.util.*; |
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
<html> | |
<head> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/svg.js/1.0.0-rc.8/svg.min.js"></script> | |
</head> | |
<body> | |
<div id="drawing"> | |
</div> | |
</body> |
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
get covered on earth —president obama and raise the team! | |
i were calling on record not the white house of the quiet tolerance of our families today! | |
watch here in 50 states. | |
after issue before it! | |
we couldnt stop. | |
on! | |
weve got to get covered join them know where we have gone without leaving more boldly than 13! | |
heres your voice heard thats what you should be able to make less than it. | |
its more hardworking americans. | |
. |
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
get covered on earth —president obama and raise the team! | |
i were calling on record not the white house of the quiet tolerance of our families today! | |
watch here in 50 states. | |
after issue before it! | |
we couldnt stop. | |
on! | |
weve got to get covered join them know where we have gone without leaving more boldly than 13! | |
heres your voice heard thats what you should be able to make less than it. | |
its more hardworking americans. | |
. |
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
lets make it! | |
icymi. | |
heres your chance to get done! | |
a childs course in life should be doing and what drives me nuts is washington isnt doing it —president obama on legislation to prevent gun violence steals from us each. | |
next on the right thing and one thing that we arrived at this point today —president obama at 105. | |
thanks to the white! | |
every day across the country more than half. | |
go team usa —president obama! | |
theres been progress in job creation has exceeded 200000. | |
if you want the next deadline to enroll in health care at an unprecedented rate. |
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 weka.classifiers.Classifier; | |
import weka.classifiers.Evaluation; | |
import weka.classifiers.functions.Logistic; | |
import weka.classifiers.functions.SMO; | |
import weka.classifiers.functions.MultilayerPerceptron; | |
import weka.core.Instances; | |
import weka.core.converters.ConverterUtils.DataSource; | |
import weka.filters.Filter; | |
import weka.filters.supervised.instance.Resample; | |
import weka.filters.unsupervised.attribute.RemoveUseless; |
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
#!/usr/bin/env python3 | |
# ------------------------------------------------------------------------ | |
# PHY466/MSE485 Atomic Scale Simulations | |
# Homework 2: Introduction to Molecular Dynamics | |
# ------------------------------------------------------------------------ | |
import numpy, math, random |
OlderNewer