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
velocityFromAngle: function (angle, speed, point) { | |
if (speed === undefined) { speed = 60; } | |
point = point || new Phaser.Point(); | |
return point.setTo((Math.cos(this.game.math.degToRad(angle)) * speed), (Math.sin(this.game.math.degToRad(angle)) * speed)); | |
} | |
Phaser.Math.degToRad = function degToRad (degrees) { |
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
學了條件、迴圈 | |
卻還是不知道程式應該怎麼寫嗎? | |
感覺只能拿來解決數學問題 | |
卻沒辦法做出一個活生生的「程式」嗎? | |
這堂課,推薦給資訊科系大二的妳 | |
接下來三堂課,每週一晚上 | |
臺科程式社將會帶大家學習如何開發簡單的遊戲 | |
透過遊戲開發,讓大家了解原來「程式設計」是這麼回事! |
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
我的作品在這裡: | |
對程式設計有興趣嗎? 歡迎來參加臺科程式社茶會,瞭解今年的社課、演講資訊哦! | |
茶會報名:https://ntust.me/yqcmg | |
電子報:http://goo.gl/Md5YUT | |
討論區:http://goo.gl/fuW6Ce |
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
想好開學前的最後假日要做什麼了嗎? | |
不如來程式設計研究社,體驗寫程式的樂趣吧! | |
這是一場專屬新手的的程式設計初體驗課程 | |
四小時,你將從頭開始打造屬於妳的 Flappy Bird | |
過程中將會讓你對程式設計有基本的認識! | |
你會發現,其實寫程式是十分有趣的事情 | |
透過一行行的指令命令電腦 | |
一步步,妳的想法會逐漸成形 |
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
即將成為大一新鮮人的你 | |
想好要參加什麼社團了嗎? | |
聽過 FinTech、大數據、比特幣嗎? | |
想把腦袋中的好點子實現成 App 嗎? | |
覺得生活中許多不便,想自幹一個程式來解決嗎? | |
如果你的腦中也曾有過這些想法,歡迎加入程式設計研究社! 不用擔心學程式很難或是沒有基礎;臺科程式社希望用有趣的方式讓大家學會程式設計,我們的社課是專為沒有程式基礎的同學所設計,所以放下你對程式設計的恐懼吧,它並不是那個不能說出名字的人XD | |
為了讓大家更了解我們的社團,請務必牢記以下兩個活動哦! |
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
【程式設計社課 設計師招募】 | |
程式設計研究社 社課資訊出爐啦!! | |
接下來這一學期,我們將會針對有興趣卻完全沒有基礎的同學們,開設 麻瓜遊戲社課,透過 JS 帶大家做出有趣的遊戲哦,包含我們的橫向捲軸遊戲(例如楓之谷)、小朋友下樓梯等。 | |
不過在宣傳社課前,要先來公開徵求**設計師大大**們加入啦 | |
如果你也對於程式設計有興趣(有沒有基礎都可以哦),而且想要參與社課的規劃,或是親自上台授課,都歡迎你加入我們的社課籌備團隊哦 | |
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
#! /bin/bash | |
# install | |
# - Fill USERNM (Your Telegram user id) and PWD, then put this script to /usr/local/bin | |
# - Append next line to /etc/pam.d/sshd to enable ssh login notify | |
# - - session optional pam_exec.so seteuid /usr/local/bin/notify | |
# Usage | |
# - run any command and append notify cmd after it | |
# - - Ex. sudo apt-get upgrade;notify |
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
import java.util.List; | |
import java.util.ArrayList; | |
import java.sql.Timestamp; | |
import com.google.cloud.dataflow.sdk.Pipeline; | |
import com.google.cloud.dataflow.sdk.options.PipelineOptionsFactory; | |
import com.google.cloud.dataflow.sdk.io.TextIO; | |
import com.google.cloud.dataflow.sdk.transforms.Create; | |
import com.google.cloud.dataflow.sdk.transforms.DoFn; | |
import com.google.cloud.dataflow.sdk.transforms.ParDo; |
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
import tarfile | |
import os | |
import datetime | |
import csv | |
import urllib.error | |
from urllib import request | |
from glob import glob | |
from multiprocessing.dummy import Pool |
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
<?php | |
$conn = new PDO("mysql:host=127.0.0.1;dbname=rfid;", "root", ""); | |
$cursor = $conn->prepare("select * from :table ;"); | |
$cursor->execute([":table"=>"contrast"]); | |
var_dump($cursor->fetch()); | |
// var_dump($cursor); | |
// var_dump($conn->query("select * from contrast")->fetch()); |