Skip to content

Instantly share code, notes, and snippets.

View 13xforever's full-sized avatar
💮
わたしは あの路で死んだ花

Ilya 13xforever

💮
わたしは あの路で死んだ花
View GitHub Profile
@13xforever
13xforever / x.js
Last active August 29, 2015 18:25
QR-Code generator ubiquity commnd
CmdUtils.CreateCommand({
names: ['qr code', 'encode'],
icon: "http://img205.imageshack.us/img205/231/qrcodezh1.gif",
description: "Generates QR Code image based on selected url",
argument: noun_type_url,
preview: function(pBlock, {object}) {
pBlock.innerHTML = '<img src="' + 'http://qrcode.kaywa.com/img.php?s=6&d=' + escape(object.text) + '" />';
},
execute: function(args) {
Utils.openUrlInBrowser('http://qrcode.kaywa.com/img.php?s=8&d=' + escape(args.object.text));
//he.net
216.218.221.6
216.218.221.42
74.82.46.6
216.66.84.46
216.66.86.114
216.66.87.14
216.66.80.30
216.66.80.26
216.66.84.42
#!/bin/sh
opkg update
opkg remove dnsmasq
opkg install dnsmasq-full 6in4 tc miniupnpd luci-ssl luci-proto-ipv6 luci-app-upnp uhttpd-mod-tls
rm /etc/config/*-opkg
cp /etc/config/uhttpd.crt /etc/config/
cp /etc/config/uhttpd.key /etc/config/
cp /etc/config/dnscachestats.sh ~/
using System.Collections.Generic;
namespace System.Linq.Enumerable
{
public static class Quickselect
{
/// <summary>
/// Selects <b>count</b> <i>smallest</i> elements according to a key. Result is returned in no particular order.
/// </summary>
/// <typeparam name="T">Type of elements in collection</typeparam>