When using an Input method editor (IME) to input text. The event will be fired
A Pen by CarterTsai on CodePen.
When using an Input method editor (IME) to input text. The event will be fired
A Pen by CarterTsai on CodePen.
<div class="box"> | |
<div class="fixed w15em"> | |
<h3> Do </h3> | |
</div> | |
<div class="fixed w20em"> | |
<h3> Re </h3> | |
</div> | |
<div class="fixed w5em"> | |
<h3> Mi </h3> | |
</div> |
A Pen by CarterTsai on CodePen.
* { | |
font-family: 'Oxygen', sans-serif; | |
font-size: 18px; | |
} | |
.icon.edit { | |
font-size: 25px; | |
color: #000; | |
text-decoration: none; | |
} |
<link href='http://fonts.googleapis.com/css?family=Chau+Philomene+One' rel='stylesheet' type='text/css'> | |
<div class="slider"> | |
<div class="bar"> | |
<ul> | |
<li class='active'> <a href="#">1999</a> </li> | |
<li> <a href="#">2000</a></li> | |
<li> <a href="#">2011</a> </li> | |
<li> <a href="#">2012</a> </li> | |
<li> <a href="#">2013</a> </li> |
import os | |
import ycm_core | |
from clang_helpers import PrepareClangFlags | |
# Set this to the absolute path to the folder (NOT the file!) containing the | |
# compile_commands.json file to use that instead of 'flags'. See here for | |
# more details: http://clang.llvm.org/docs/JSONCompilationDatabase.html | |
# Most projects will NOT need to set this to anything; you can just change the | |
# 'flags' list of compilation flags. Notice that YCM itself uses that approach. | |
compilation_database_folder = '' |
This is an ad-hoc Java-to-Dart translator originally written on two (admittedly long) evenings.
See http://sma.github.io/stuff/java2dartweb/java2dartweb.html for a demo.
Note: It doesn't support the complete Java grammar specification and cannot translate everything. It only translates syntax and does not attempt to translate Java library classes and methods to Dart equivalents (with the exception of String.charAt
and StringBuffer.append
). You will have to make changes to the resulting Dart code. It does not support anonymous inner classes.
However, I was able to successfully convert a 7000+ line command line application with only minimal fixes in 30 minutes.
Very easy example for cpu usage chart with d3.js
A Pen by CarterTsai on CodePen.
A Pen by CarterTsai on CodePen.
A Pen by CarterTsai on CodePen.