Memcached dashing widget to display the number of connected clients to one or more memcached servers, as well as the instance memory usage.
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
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
var httpRequest; | |
if (window.XMLHttpRequest) { // Mozilla, Safari, ... |
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 | |
# Clone or update all a user's gists | |
# curl -ks https://gist.githubusercontent.com/fedir/5466075/raw/gist-backup.py | USER=fedir python | |
# USER=fedir python gist-backup.py | |
import json | |
import urllib | |
from subprocess import call | |
from urllib import urlopen | |
import os |
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
var http = require('http'); | |
var options = { | |
hostname: 'api.github.com', | |
path: '/api/endpoint', | |
headers: { | |
'User-Agent': 'UserAgentHere', | |
'Accept': 'application/json' | |
} | |
}; | |
var request = http.request(options, function(response) { |
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(){ | |
'use strict'; | |
function PubSubService(){ | |
/** | |
* based on: http://davidwalsh.name/pubsub-javascript | |
*/ | |
var topics = {}; | |
//---------------------------------------------------------------------------- |
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
// React Class template with inlined documentation from | |
// http://facebook.github.io/react/docs/component-specs.html | |
var component = React.createClass({ | |
/***** Core Methods *****/ | |
render: function () { | |
// Returns ReactComponent |
- Team Dashboard - http://fdietz.github.io/team_dashboard/
- Geckoboard - http://www.geckoboard.com/ - Slick data dashboards.
- Leftronic - https://www.leftronic.com/ - Similar, doesn't seem quite as organised looking
- Dashing - http://shopify.github.io/dashing/ - Simple metric dashboards by Shopify. Widget list
- HighCharts - http://www.highcharts.com/ Not very inspiring but very widely used & performant
- Google Charts - https://developers.google.com/chart/ Again, not very inspiring but can be customised
- Flot - http://www.flotcharts.org/ Gorgeous slick HTML5 graphs
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
import React, { Component } from 'react'; | |
import Header from './components/Header'; | |
import Body from './components/Body'; | |
class App extends Component { | |
constructor(props){ | |
super(props); | |
this.state = {dropdownShow : false}; |
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
import React from 'react' | |
import { Loading } from '../components/loading' | |
function asyncComponent (getComponent) { | |
return class AsyncComponent extends React.Component { | |
static Component = null | |
mounted = false | |
state = { | |
Component: AsyncComponent.Component |
OlderNewer