Redis dashing widget to display the number of connected clients to a redis server, as well as the instance memory usage.
({:username "imakewebthings", | |
:name "Caleb Troughton", | |
:language "JavaScript", | |
:score 5476.8} | |
{:username "flyerhzm", | |
:name "Richard Huang", | |
:language "Ruby", | |
:score 2776.2} | |
{:username "fredwu", | |
:name "Fred Wu", |
#!/bin/sh | |
# This file should be placed in /jffs/scripts/ folder. | |
# 后台申请token | |
# https://support.dnspod.cn/Kb/showarticle/tsid/227/ | |
login_token='xxxxxxx,yyyyyyyyyyyyyyyyyyyyyyyyyyyyy' | |
# 先调 Domain.List 和 Record.List 接口取得 id | |
# https://www.dnspod.cn/docs/domains.html#domain-list | |
# https://www.dnspod.cn/docs/records.html#record-list |
#!/usr/bin/env python | |
from scapy.all import * | |
ap_list = [] | |
def PacketHandler(pkt) : | |
if pkt.haslayer(Dot11) : | |
if pkt.type == 0 and pkt.subtype == 8 : |
from exampleapp import app | |
import IPython | |
app.testing = True | |
test_client = app.test_client() | |
welcome_message = """Welcome to your Flask CLI environment. | |
The following variables are available to use: | |
app -> Your Flask app instance. |
Portions taken from http://www.cs.utexas.edu/~mitra/csSpring2011/cs327/cx_mac.html (in case that link ever dies.)
Assume you've got homebrew installed.
Download the following files from Oracle
The reason you might not be able to remove the Open Sans font that Wordpress >= 3.8 adds to the frontend is that quite a few WP styles and scripts list 'open-sans' as a dependancy when being registered and enqueued. When you remove the 'open-sans' style the other plugins dependant on it will not load. So you just need to deregister WP's open sans style and register your own, with a false
value for the src
like below.
Credit to seventhsteel from http://wordpress.org/support/topic/turning-off-open-sans-for-the-38-dashboard
##Preview
Display your iOS App Rating info. It uses iTunes Store website as the source.
##Usage
curl -XDELETE localhost:9200/*
import java.io.*; | |
import java.util.*; | |
import sun.jvm.hotspot.memory.*; | |
import sun.jvm.hotspot.oops.*; | |
import sun.jvm.hotspot.debugger.*; | |
import sun.jvm.hotspot.runtime.*; | |
import sun.jvm.hotspot.tools.*; | |
public class DumpClassURL extends Tool { | |
public void run() { |