Skip to content

Instantly share code, notes, and snippets.

View youngershen's full-sized avatar
🎯
Focusing

Younger Shen youngershen

🎯
Focusing
View GitHub Profile
// author : youngershen
// email : [email protected]
//
var SUPERCLASS = function(){};
(function(SUPERCLASS){
SUPERCLASS = SUPERCLASS || {};
var CLASS = SUPERCLASS;
// author : youngershen
// email : [email protected]
//
var SUPERCLASS = function(){};
(function(SUPERCLASS){
SUPERCLASS = SUPERCLASS || {};
var CLASS = SUPERCLASS;
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,
sdfsdfsfsfsdsfsf
sfsdfsfsfsfd
sdfsfsfsfsdfsdfsdfsdf
@youngershen
youngershen / gist:f6c0b42317215f60050a
Created March 3, 2015 06:38
web design sample site
http://dicksonfong.com/
http://www.rubicon-world.com/
http://apparatusstudio.com/
https://www.trippeo.com/features
http://www.nardelligioielli.it/it/design
@youngershen
youngershen / gist:29cf8562d73f03cd7636
Created March 25, 2015 02:11
下载songtaste歌曲的脚本
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import urllib2
from bs4 import BeautifulSoup
import requests
BASEURL = 'http://www.songtaste.com/time.php'
def get_song_url(url):
html = urllib2.urlopen(url).read()
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
"use strict";
var Buffer = require("buffer").Buffer;
// Multibyte codec. In this scheme, a character is represented by 1 or more bytes.
// Our codec supports UTF-16 surrogates, extensions for GB18030 and unicode sequences.
// To save memory and loading time, we read table files only when requested.
exports._dbcs = DBCSCodec;