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
<?php | |
/** | |
* Generic Class that can be extended for creating admin screens for plugins. | |
* @package KB_Includes | |
*/ | |
class KB_Admin { | |
/** |
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
<!-- Demo 1 --> | |
<style type = 'text/css'> | |
input.demo-1 { display: none } | |
label.demo-1 { | |
background-color: #ddd; | |
text-shadow: 0 1px 0 #fff; | |
background-image: -webkit-gradient( | |
linear, | |
left bottom, | |
left top, |
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
/** | |
* Set the theme compat theme properties | |
* | |
* @since bbPress (r3311) | |
* | |
* @global bbPress $bbp | |
* @param BBP_Theme_Compat $theme | |
* @uses current_theme_supports() | |
*/ | |
function bbp_setup_new_theme_compat() { |
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
// Copyright 2012-present Facebook. All Rights Reserved. | |
class Rangoli extends LXPattern { | |
private boolean board[][]; | |
private int rule = 182; | |
private int leftCounter = 10; | |
private int seedDistance = 17; | |
final SinLFO yoffset = new SinLFO(1, 100, 5000); | |
final SinLFO xoffset = new SinLFO(1, 100, 5000); |
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
// Copyright 2012-present Facebook. All Rights Reserved. | |
class Life extends LXPattern { | |
final float hBase = hue(fbBlue); | |
private int board[][] = new int[lx.height][lx.width]; | |
private Click tick = new Click(500); | |
public Life(HeronLX lx) { | |
super(lx); |
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
{"nodes":[ | |
{"name":"Agricultural 'waste'"}, | |
{"name":"Bio-conversion"}, | |
{"name":"Liquid"}, | |
{"name":"Losses"}, | |
{"name":"Solid"}, | |
{"name":"Gas"}, | |
{"name":"Biofuel imports"}, | |
{"name":"Biomass imports"}, | |
{"name":"Coal imports"}, |
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> | |
<meta charset="utf-8"> | |
<title>Sankey Diagram</title> | |
<style> | |
@import url(http://bost.ocks.org/mike/style.css?20120521); | |
#chart { | |
height: 500px; | |
} |
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
<html> | |
<head> | |
<title>Cyclic Sankeys</title> | |
<style type="text/css"> | |
#chart { | |
height: 500px; | |
} | |
.node rect { | |
cursor: move; |
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
<html> | |
<head> | |
<title>Cyclic Sankeys</title> | |
<style type="text/css"> | |
#chart { | |
height: 500px; | |
} | |
.node rect { | |
cursor: move; |
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
['rg_di', 'rg_li'].forEach(function(cl){Array.prototype.slice.call(document.getElementsByClassName(cl)).forEach(function(el){el.style.margin = 0;});}) |
OlderNewer