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
const fs = require('fs'); | |
const https = require('https'); | |
const path = require('path'); | |
// replace below folder you want to save this to | |
const outputFolder = '/path/to/local/folder/'; | |
// add Bandcamp URLs here - here is an example url that will take you to a great album, by the way | |
// note - Bill did not work on Fourtet - he just likes this music | |
const bandcampUrls = [ |
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 <mpi.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <string.h> | |
#include <ctype.h> | |
#define min(x, y) ((x)<(y)?(x):(y)) | |
//code altered by Bill Moriarty for Temple University |
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
public class MyClass { | |
public static void main(String args[]) { | |
int N=125; | |
int q=2; | |
double k=Math.floor( Math.log(N) ); | |
System.out.println("k is " + k); |
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
/* Hi all - I am currently a student. The code below was developed during student projects. It may not be the most efficient or robust. | |
Use it if it's helpful for you. | |
-Bill Moriarty | |
*/ | |
#include <stdio.h> | |
#define BUF_SIZE 64 | |
/* get the user's input and output filename from the keyboard */ | |
char inKey[BUF_SIZE]; |
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
/* Hi all - I am currently a student. The code below was developed during student projects. It may not be the most efficient or robust. | |
Use it if it's helpful for you. | |
-Bill Moriarty | |
*/ | |
/* written by J. Fiore for 2107 class* / | |
/* | |
For the "C" locale, white-space characters are any of: | |
' ' (0x20) space (SPC) | |
'\t' (0x09) horizontal tab (TAB) |