- is new?
- use DB?
- read File?
- send mail?
- LOC
This file contains hidden or 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 main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"os" | |
"os/exec" | |
"os/signal" | |
) |
This file contains hidden or 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 <signal.h> | |
#ifdef _WIN32 | |
#include <Windows.h> | |
#else | |
#include <unistd.h> | |
#endif | |
#define BUFSIZE 128 |
This file contains hidden or 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 inputLayer = [ | |
[1, 5], | |
[2, 7], | |
[3, 9], | |
[5, 10], | |
]; | |
const labels = [ | |
18, | |
27, |
This file contains hidden or 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
# docker build . -t selenium_build -f Dockerfile | |
FROM ubuntu:18.04 | |
RUN apt update | |
RUN apt install -y git yarn python3 python3-pip npm curl | |
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - | |
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list | |
RUN apt update |
This file contains hidden or 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 sample; | |
public class BinaryReader { | |
enum Endian { | |
Little, | |
Big | |
} | |
private Endian endianness; | |
public BinaryReader(Endian endian) { | |
this.endianness = endian; |
This file contains hidden or 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 ubuntu:17.10 | |
RUN apt update | |
RUN apt install curl git python3 python3-pip -y | |
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash | |
RUN export NVM_DIR="$HOME/.nvm" | |
RUN [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | |
RUN [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" |
This file contains hidden or 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
CC=gcc | |
CFLAGS=-O3 | |
all: prime pi | |
pi: | |
$(CC) $(CFLAGS) -o $@ pi.c | |
prime: | |
$(CC) $(CFLAGS) -o $@ prime.c -lm |
This file contains hidden or 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
# docker build . -t pandas_jupyter -f Dockerfile.jupyter | |
FROM jupyter/notebook:latest | |
RUN pip install --upgrade pip | |
RUN pip install pandas-datareader matplotlib scipy | |
# RUN apt update | |
# RUN apt install python3-tk -y |
This file contains hidden or 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
""" | |
setup: | |
pip3 install PyMySQL | |
""" | |
import sys | |
import pymysql.cursors | |
def printPrompt(): |