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.*; | |
| /* Class TowerOfHanoiUsingStacks */ | |
| public class HanoiStacks { | |
| public static int N; | |
| public static Stack<Integer>[] tower = new Stack[4]; | |
| // 為什麼是 4 ? 因為為了要用到 1 , 2 , 3 這個數字,不用 0 | |
| public static void main(String[] args) { |
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
| alert("a.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
| // npm i request cheerio json2csv | |
| var fs = require('fs'), | |
| request = require('request'), | |
| cheerio = require('cheerio'), | |
| json2csv = require('json2csv'); | |
| var HOST = 'https://www.ptt.cc'; | |
| var getMenu = function (url, callback, links) { | |
| var links = links || []; // Set default value for links (initial call) |
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
| <!DOCTYPE html> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Element V2: Custom Search Engine Results-only Layout Demo</title> | |
| <style type="text/css"> | |
| h4.warning {color: red;} | |
| h4.recommendation {color: green;} | |
| </style> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link rel="prefetch" href="http://140.119.134.100/co-construction/infoA.php?bid=1" /> | |
| <link rel="prerender" href="http://140.119.134.100/co-construction/infoA.php?bid=1" /> | |
| <script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> | |
| <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
| <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> |
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
| <head> | |
| <script type="text/javascript"> | |
| window.fbAsyncInit = function() { | |
| Parse.initialize("xxx", "xxx"); | |
| Parse.FacebookUtils.init({ | |
| appId : 'xxx', | |
| cookie : true, | |
| xfbml : true, | |
| version : 'v1.0' // !! I change this because some said to do this. I forget the reference |
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
| //music | |
| import ddf.minim.spi.*; | |
| import ddf.minim.signals.*; | |
| import ddf.minim.*; | |
| import ddf.minim.analysis.*; | |
| import ddf.minim.ugens.*; | |
| import ddf.minim.effects.*; | |
| Minim minim; | |
| AudioPlayer popo; | |
| AudioPlayer bling; |
NewerOlder