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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
// Execute this on http://store.steampowered.com/explore/ | |
var GenerateQueue = function( queueNumber ) | |
{ | |
console.log( 'Queue #' + ++queueNumber ); | |
jQuery.post( 'http://store.steampowered.com/explore/generatenewdiscoveryqueue', { sessionid: g_sessionID, queuetype: 0 } ).done( function( data ) | |
{ | |
var requests = []; | |
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
{"player_gap":false,"google_apikey":"","placementTransformation":[],"hideFooter":false,"enablePlayerDocking":false,"hideHeaderWhenPlayerPlayingTransitionTime":600,"hideHeaderWhenPlayerPlayingKeepScrollPosition":false,"hideHeaderWhenPlayerPlayingFocus":true,"hideHeaderWhenPlayerPlayingMouseThreshold":90,"hideHeaderWhenPlayerPlayingMouseVisibility":true,"hideHeaderWhenPlayerPlayingTransition":true,"hideHeaderWhenPlayerPlaying":false,"limitSearchRowWidthEnabled":false,"limitSearchRowWidth":700,"useStaticLogo":true,"defaultLanguage":"zh-TW","hideWatchLaterOnPlayer":false,"likedislikeUIEnabled":true,"sparkbarEnabled":true,"videoThumbnailQualityFPS":true,"enableComments":true,"channelUploadedVideosPlaylist":false,"ytOnlyStageMode":false,"playerGlowEffectOnPlayer":"both","bufferEnabled":false,"bufferSize":569228273678,"embedBufferEnabled":false,"embedBufferSize":569228273678,"channelBufferEnabled":false,"channelBufferSize":569228273678,"playlistAutoPlay":true,"playlistAutoPlayFreeze":false,"playerGlowEnabled":false, |
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
{ | |
"quiz": [ | |
{ | |
"title": "金管會推動「金融3.0」政策,是讓民眾可以使用何種方式辦理各項銀行、保險與證券等金融業務?", | |
"option": [ | |
"(1)傳統臨櫃", | |
"(2)親自辦理", | |
"(3)網路或行動裝置", | |
"(4)所有選項皆正確" | |
], |
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
// ==UserScript== | |
// @name Fullscreen VoiceTube | |
// @namespace fullscreen.voicetube | |
// @description Make VoiceTube Video FullScreen ! | |
// @include https://tw.voicetube.com/* | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js | |
// @version 1 | |
// @grant none | |
// ==/UserScript== |
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
# encoding: utf-8 | |
import time | |
i = 1 | |
def ZH(): | |
while i > 0: | |
Policy = str(input('政府政策(電費調漲:UP,節電獎勵:DOWN,維持現狀:HOLD):')) | |
NewerOlder