This file contains 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
sdfsdfsfsfsdsfsf |
This file contains 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
class List_Node(): | |
def __init__(self, v): | |
self.Value = str(v) | |
self.Next = None | |
##define node initialization | |
def __str__(self): | |
return str(self.Value) + ("" if self.Next == None else (" " + str(self.Next))) | |
##deine print out the node when call print(obj) | |
## do not write any additional code in this class, |
This file contains 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
// author : youngershen | |
// email : younger.x.shen@gmail.com | |
// | |
var SUPERCLASS = function(){}; | |
(function(SUPERCLASS){ | |
SUPERCLASS = SUPERCLASS || {}; | |
var CLASS = SUPERCLASS; |
This file contains 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
// author : youngershen | |
// email : younger.x.shen@gmail.com | |
// | |
var SUPERCLASS = function(){}; | |
(function(SUPERCLASS){ | |
SUPERCLASS = SUPERCLASS || {}; | |
var CLASS = SUPERCLASS; |
This file contains 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
// author : youngershen | |
// email : younger.x.shen@gmail.com | |
// | |
var SUPERCLASS = function(){}; | |
(function(SUPERCLASS){ | |
SUPERCLASS = SUPERCLASS || {}; | |
var CLASS = SUPERCLASS; |
This file contains 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
#!/usr/bin/env python | |
#-*- coding: utf-8 -*- | |
# author : younger shen | |
# email : younger.x.shen@gmail.com | |
# implement all of the task except extra bonus 3 | |
This file contains 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
(function(window,document) { | |
if (!window.jigsaw) { | |
jigsaw = {}; | |
window.jigsaw = jigsaw; | |
} | |
jigsaw.clip_buffer = []; | |
jigsaw.total_steps = 0; | |
jigsaw.total_clip = 0; | |
jigsaw.current_index = 0; |
This file contains 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
<html> | |
<head> | |
<style> | |
.jigsaw{ | |
position: relative; | |
border: 2px solid #7f9db9; | |
overflow: hidden; | |
} | |
.jigsaw div{ |
This file contains 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
(function(window, document){ | |
if(window.jigs4w){ | |
return window.jigs4w; | |
}else{ | |
jigs4w = {}; | |
window.jigs4w = jigs4w; |
This file contains 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 SongTasteHelper | |
// @namespace com.youngershen.songtaste | |
// @description 安装该插件之后会自动在songtaste的音乐播放页面显示获取歌曲链接的按钮,然后点击之,再然后,你懂的.... | |
// @include http://www.songtaste.com/song/* | |
// @version 1 | |
// ==/UserScript== | |
var button_str = "<button onclick = 'window.getSongURL()'>获取链接</button>"; | |
document.body.innerHTML = button_str + document.body.innerHTML; |