A CSS in JS micro-tool that's < 1kb (gzipped).
Usage:
const MyComponent = (props) => {
return (
/*! | |
* Chart.js | |
* http://chartjs.org/ | |
* Version: 1.0.1 | |
* | |
* Copyright 2015 Nick Downie | |
* Released under the MIT license | |
* https://github.com/nnnick/Chart.js/blob/master/LICENSE.md | |
*/ |
/*! | |
* Chart.js | |
* http://chartjs.org/ | |
* Version: 1.0.2 | |
* | |
* Copyright 2015 Nick Downie | |
* Released under the MIT license | |
* https://github.com/nnnick/Chart.js/blob/master/LICENSE.md | |
*/ |
/*! | |
* Chart.js | |
* http://chartjs.org/ | |
* Version: 1.0.1 | |
* | |
* Copyright 2015 Nick Downie | |
* Released under the MIT license | |
* https://github.com/nnnick/Chart.js/blob/master/LICENSE.md | |
*/ |
/** | |
* | |
* Date picker | |
* Author: Stefan Petre www.eyecon.ro | |
* | |
* Dual licensed under the MIT and GPL licenses | |
* | |
*/ | |
/*jslint browser: true, vars: true, nomen: true, indent: 4, maxlen: 80, plusplus: true, sloppy: true*/ | |
/*global define: true */ |
body { | |
background-color: #C5CCD6; /* Background color */ | |
color: #222; /* Foreground color used for text */ | |
font-family: Helvetica; | |
font-size: 14px; | |
margin: 0; /* Amount of negative space around the outside of the body */ | |
padding: 0; /* Amount of negative space around the inside of the body */ | |
-webkit-user-select: none; | |
overflow-x: hidden; | |
} |
<!-- Example 1: Normal Template --> | |
<script type="text/html" id="item_tmpl"> | |
<div id="<%=id%>" class="<%=(i % 2 == 1 ? " even" : "")%>"> | |
<div class="grid_1 alpha right"> | |
<img class="righted" src="<%=profile_image_url%>"/> | |
</div> | |
<div class="grid_6 omega contents"> | |
<p><b><a href="/<%=from_user%>"><%=from_user%></a>:</b> <%=text%></p> | |
</div> | |
</div> |
class User < ActiveRecord::Base | |
... | |
# << REMOVE ON NEXT RELASE | |
def new_column | |
if self.class.column_names.include?("old_column") | |
self.class.reset_column_information | |
end | |
has_attribute?(:old_column) ? old_column : super | |
end | |
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |