Skip to content

Instantly share code, notes, and snippets.

We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 6 in line 1.
year;2013;2012;2011;2010;2009;2008;2007;2006;2005;2004;2003;2002;2001;2000
commercial housing average selling price (yuan/m2);6237;5790,99;5357,1;5032;4681;3800;3863,9;3366,79;3167,66;2778;2359;2250;2170;2112
commercial residential housing average selling price (yuan/m2);5850;5429,93;4993,17;4725;4459;3576;3645,18;3119,25;2936,96;2608;2197;2092;2017;1948
villa and upscale housing average selling price (yuan/m2);12591;11460,19;10993,92;10934;9662;7801;7471,25;6584,93;5833,95;5576;4145;4154;4348;4288
office average selling price (yuan/m2);12997;12306,41;12327,28;11406;10608;8378;8667,02;8052,78;6922,52;5744;4196;4336;4588;4751
housing for business use average selling price (yuan/m2);9777;9020,91;8488,21;7747;6871;5886;5773,83;5246,62;5021,75;3884;3675,14;3488,57;3273,53;3260,38
other commercial housing average selling price (yuan/m2);4907;4305,73;4182,11;4099;3671;3219;3351,44;3131,31;2829,35;2235;2240,74;1918,83;2033,08;1864,37
@ellcorey
ellcorey / index.html
Created August 25, 2015 19:34
jPgepx
<div class="container">
<div class="left-col">
</div>
<div class="right-col">
</div>
</div>
File "/opt/bbc/openstack-10.0-bbc68/swift/local/lib/python2.7/site-packages/keystoneclient/session.py",
line 420, in _send_request#012
raise exceptions.SSLError(msg)#012SSLError: SSL exception connecting to https://bbg-staging-01.openstack.blueboxgrid.com:35358:
[Errno bad ca_certs: '"/etc/ssl/certs/ca-certificates.crt"']
[('system library', 'fopen', 'No such file or directory'),
('BIO routines', 'BIO_new_file', 'no such file'),
('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
@warlyware
warlyware / gulpconfig.js
Created August 25, 2015 19:34
Gulp config file
module.exports = function() {
var client = './src/client';
var config = {
dir: {
temp: './.tmp',
// all js that needs checking and concating
js: [
'./src/**/*.js',
'./*.js'
require 'spec_helper'
describe Hydra::Works::FullTextExtractionService do
describe "extract pdf file" do
before do
@myfile = Hydra::Works::GenericFile::Base.create
Hydra::Works::AddFileToGenericFile.call(@myfile, File.open(File.join(fixture_path, 'test4.pdf')), :original_file)
Hydra::Works::FullTextExtractionService.run(@myfile)
package com.tamr.features.register;
import cucumber.api.PendingException;
import cucumber.api.java.en.And;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
/**
* Created by steve on 8/25/15.
@preslavrachev
preslavrachev / The Technical Interview Cheat Sheet.md
Last active August 25, 2015 19:35 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
#!/usr/bin/env python
import bisect
import subprocess
import sys
def lookup(lib, find_addr):
funcs = {}
for line in subprocess.check_output(['readelf', '-s', lib]).splitlines():
line = line.strip()
var selectCtrl = function($element) {
var ctrl = this;
$element.on('click', function(e){
//use a method that I have to see in the docs for select the text in an input that I don't remember now, should be accesible
//$element
})
};
@jarmokivekas
jarmokivekas / 1087-grid.gpx
Last active August 25, 2015 19:35
quick python script for generating a coordinate grid for a given area
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<gpx xmlns="http://www.topografix.com/GPX/1/1" creator="" version="1.1">
<trk>
<trkseg>
<trkpt lon="15.300000" lat="5.500000"></trkpt>
<trkpt lon="11.000000" lat="5.500000"></trkpt>
</trkseg>
<trkseg>
<trkpt lon="15.300000" lat="5.505000"></trkpt>