Skip to content

Instantly share code, notes, and snippets.

const express = require('express');
app = express();
app.get('/', function(req, res) {
const dbData = ['foo', 'bar', 'data', 'log', 'lorm'];
data.forEach(function(el) {
res.write('<p>' + el + '</p>');
@qas612820704
qas612820704 / mnist.ipynb
Created November 16, 2017 05:34
CloudComputing Homework#4 Sameple Code
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/sh
if [[ -z $1 || $1 == "help" ]]; then
echo -e "Usage:\n\t $0 [img]"
exit
fi
docker run --rm --user "$(id -u lego)" --net=host -v $PWD:/app -it $1 /bin/bash
SDIR= src
IDIR= $(SDIR)/include
CC= g++
CFLAGS=-I$(IDIR)
DBG=-g -D DEBUG
ODIR=$(SDIR)/obj
LDIR=$(SDIR)/lib
@qas612820704
qas612820704 / googleClandarHowTo.md
Created September 7, 2015 20:20
中區溜冰社Google Clandar匯入教學

中區溜冰社匯入屬於我們的日曆吧

哈囉不知道大家有沒有用過google calandar

沒用過也沒關係 讓我來教大家用用吧

此圖們為林楊大大提供

感謝林揚 讚嘆林揚

@qas612820704
qas612820704 / make_vim_python3.md
Last active August 29, 2015 14:26
救命阿!!!

這是我下的config

$ sudo ./configure \
        --with-features=huge \
        --enable-multibyte \
        --enable-python3interp=yes \
        --with-python3-config-dir=/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu/ \
        --with-vim-name=vim-python3 \
        --prefix=/usr
@qas612820704
qas612820704 / studenpackfree.md
Last active February 28, 2022 15:11
用學生信箱申請github提供的免費資源申請雲端主機(DigitalOcean+namecheap)

用學生信箱申請github提供的免費資源申請雲端主機(DigitalOcean+namecheap)

現在 github 有提出一系列對學生的優惠服務 詳情請點這裡

只要你是學生(擁有內含edu的信箱 ex:XXXXXX@mail.nchu.edu.tw)

如果你是學生又是黑客的話,就讓我們來申請吧!

Part I Get Student pack