Skip to content

Instantly share code, notes, and snippets.

Zike Zhao cqcn1991

View GitHub Profile
View gist:a330a5eaa7e9621e56fb
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "",
"signature": "sha256:9685c5d0f663be78b3bccac808e2fbc1c80e6546f15a0451c07ba555efc96e8b"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
@cqcn1991
cqcn1991 / .html.erb
Last active Aug 29, 2015
Adaptive Twitter Bootstrap Thumbnail
View .html.erb
<!--.html.erb-->
<div class="col-md-3 col-sm-4">
<div class="my-thumbnail clearfix">
<%= image_tag(product.screenshot_url, class: 'img responsive') %>
<div class="caption">
<h4 class="title" title="<%= product.name %>">
<%= link_to(truncate(product.name,length: 20), product.url, target: '_blank') %>
</h4>
<p class="tagline"> <%= product.tagline %></p>
</div>
View Adaptive Thumbnail.markdown
View data.csv
We can't make this file beautiful and searchable because it's too large.
time,x,y
2006-01-01 00:00:00,-2.9045495999999997,-0.6454696999999999
2006-01-01 06:00:00,0.81156635,-3.0295353
2006-01-01 12:00:00,3.0493622000000005,-5.0081596
2006-01-01 18:00:00,4.777541,-8.415271
2006-01-02 00:00:00,3.8887644,-8.350561
2006-01-02 06:00:00,0.54268074,-3.1246405
2006-01-02 12:00:00,0.23449099,-1.5288763
2006-01-02 18:00:00,0.87281895,2.1894054
2006-01-03 00:00:00,-3.0993738,1.5956001
View press.one
{"sig":"2c01caa84a1fa0b189925d7185be57c81555786a3665b728b553af5a3cde617d95f88846ef4321f3d9ff2829b86e52746e37f14abe0b4181fa868b590687d4211","msghash":"c9a7c8d108f25fe35f5a1c4764cebfb9e6a38da7f2369555a399179952cf6f2c"}
You can’t perform that action at this time.