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> | |
int main(int argc, char *argv[]) { | |
int fahr, celsius; | |
/*Accessing a c.l. arg: argv[n];*/ | |
fahr = lower; |
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
int main() { | |
int i, j, rows; | |
scanf("%d", &rows); | |
printf("\n"); | |
} | |
} |
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
int main() { | |
scanf("%d", &rows); | |
#include <stdio.h> | |
return 0; | |
for (j = 1; j <= i; ++j) { | |
} | |
} | |
for (i = rows; i >= 1; --i) { | |
} | |
int i, j, rows; |
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
#! /Users/bgideon/PycharmProjects/KeywordComparison/venv/bin/python | |
### !!!! Your interpreter path will be different! Find it with `which python3` | |
import sys | |
def get_kws(): | |
py_kws = [] | |
c_kws = [] |
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 com.fasterxml.jackson.databind.ObjectMapper; | |
import java.io.IOException; | |
import java.net.URISyntaxException; | |
import java.net.http.HttpClient; | |
import java.net.http.HttpRequest; | |
import java.net.http.HttpResponse; | |
import java.net.URI; | |
import java.util.HashMap; |
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
<dependencies> | |
<dependency> | |
<groupId>com.twilio.sdk</groupId> | |
<artifactId>twilio</artifactId> | |
<version>8.21.0</version> | |
</dependency> | |
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core --> | |
<dependency> | |
<groupId>com.fasterxml.jackson.core</groupId> |
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
while (true) { /////////////////////////////// E | |
Date now = new Date() ///////////////// I | |
secs_str = now.format("ss"). ///////////////// F | |
secs_int = secs_str.toInteger(). ///////////////// C | |
println secs_int///////////////// | |
if (secs_int % 15 == 0) { /////////////////////// B |
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
to setup | |
clear-all | |
create-turtles 100 | |
ask turtles | |
move-to one-of patches with [not any? turtles-here]] | |
ask patches [ |
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 googlemaps | |
import json | |
from pprint import pprint | |
import time | |
## Import API Key | |
with open('config.json') as config_file: | |
config_data = json.load(config_file) |
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/perl | |
use warnings; | |
use strict; | |
my @a = (1..9); | |
for(@a){ | |
print("$_","\n"); | |
} |