下载地址:
<label onclick="openurl('itms-services://?action=download-manifest&url=https://www.bjrbj.gov.cn/wsbs/download/bjsi.plist');">
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import sys | |
| import textwrap | |
| def uuid2path(uuid): | |
| uuid2 = uuid.replace("-", "") | |
| list = textwrap.wrap(uuid2, 4) | |
| path = "/".join(list) |
| #!/bin/bash | |
| # Create scene and render with Blender. | |
| # This script depends some other scripts to work. | |
| # Run this script in jenkins: http://192.168.2.21:8080/view/render/job/render | |
| # You can download this script from https://gist.github.com/xxd3vin/feffe28c4da50b666422 | |
| # Copyright (C) 2015 Devin Chen - All Rights Reserved | |
| # Permission to copy and modify is granted under the MIT license | |
| # Last modified 2/23/2016 |
| #!/bin/bash | |
| # Usage: | |
| # Save xiaoguotu table to /tmp/joblist.txt | |
| # remove_preview_node.sh pansuo | |
| # Download this script: https://gist.github.com/xxd3vin/ce339cb02d2645bc9102 | |
| joblist=/tmp/joblist.txt | |
| tmpfile=${joblist}.tmp |
| // http://stackoverflow.com/a/4389429 | |
| function extend(base, sub) { | |
| // Avoid instantiating the base class just to setup inheritance | |
| // See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create | |
| // for a polyfill | |
| // Also, do a recursive merge of two prototypes, so we don't overwrite | |
| // the existing prototype, but still maintain the inheritance chain | |
| // Thanks to @ccnokes | |
| var origProto = sub.prototype; | |
| sub.prototype = Object.create(base.prototype); |
| #!/bin/bash | |
| # SVN pre-commit hook for "svn-read-only" | |
| ############################################################## | |
| # | |
| # FEATURES: | |
| # | |
| # 1) Introduces the "svn-read-only" property for SVN. | |
| # |
| <script src="http://libs.baidu.com/jquery/1.10.2/jquery.js"></script> | |
| <script src="http://libs.baidu.com/jqueryui/1.10.2/jquery-ui.min.js"></script> | |
| <link rel="stylesheet" href="http://libs.baidu.com/jqueryui/1.10.2/themes/smoothness/jquery-ui.css"> | |
| <!--<link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> | |
| <script src="http://code.jquery.com/jquery-1.10.2.js"></script> | |
| <script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>--> | |
| a:<input id="a" value="56.5" /><div id="s-a" class="slider"></div><br> | |
| b:<input id="b" value="56.5" /><div id="s-b" class="slider"></div><br> |
| // input file `/tmp/xx3` is created by: | |
| // | |
| // ``` | |
| // $ ls -d -1 $PWD/**/* | |
| // ``` | |
| var util = require('util'); | |
| var lineReader = require('readline').createInterface({ | |
| input: require('fs').createReadStream('/tmp/xx3') |
| // http://mongodb.github.io/node-mongodb-native/2.0/getting-started/quick-tour/ | |
| var MongoClient = require('mongodb').MongoClient | |
| , assert = require('assert'); | |
| // Connection URL | |
| var url = 'mongodb://localhost:27017/myproject'; | |
| var insertDocuments = function(db, callback) { | |
| // Get the documents collection |
| var link_Pre = "P_U_R_L_"; | |
| var tipShowFlag = false; | |
| var currentTipMeta = ""; | |
| $(function() { | |
| window.NCPortalSupportPortletMode = ["view", "edit", "help"]; | |
| window.NCPortalSupportPortletModeName = { | |
| view: trans("ml_portlet_mode_view"), | |
| edit: trans("ml_portlet_mode_edit"), | |
| help: trans("ml_portlet_mode_help") | |
| }; |
下载地址:
<label onclick="openurl('itms-services://?action=download-manifest&url=https://www.bjrbj.gov.cn/wsbs/download/bjsi.plist');">