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 TCB { | |
private Thread thread = null; | |
private int tid = 0; | |
private int pid = 0; | |
private boolean terminate = false; | |
// User file descriptor table: | |
// each entry pointing to a file (structure) table entry | |
public FileTableEntry[] ftEnt = null; |
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
FROM java:8-jre | |
ENV CATALINA_HOME /usr/local/tomcat | |
ENV PATH $CATALINA_HOME/bin:$PATH | |
RUN mkdir -p "$CATALINA_HOME" | |
WORKDIR $CATALINA_HOME | |
# see https://www.apache.org/dist/tomcat/tomcat-8/KEYS | |
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys \ | |
05AB33110949707C93A279E3D3EFE6B686867BA6 \ |
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
SELECT | |
# Find the average temperature | |
ROUND(AVG(temp),2) AS temp_avg_f, | |
stn AS noaa_station_number FROM | |
( | |
SELECT * FROM `bigquery-public-data.noaa_gsod.gsod2015` UNION ALL SELECT * FROM `bigquery-public-data.noaa_gsod.gsod2016` UNION ALL SELECT * FROM `bigquery-public-data.noaa_gsod.gsod2017` | |
) | |
GROUP BY 2 ORDER BY 1 DESC LIMIT 5; |
OlderNewer