Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am hyunchel on github.
* I am hyunchel (https://keybase.io/hyunchel) on keybase.
* I have a public key whose fingerprint is 3879 32E2 B51B F3D8 0A32 C2E9 5AB6 1588 C2F1 0820
To claim this, I am signing this object:
@hyunchel
hyunchel / getNames.js
Created March 3, 2017 02:13
Get a list of names on Google search result.
// as of 2017.03.01
console.log(window.location.href);// https://www.google.com/#q=soccer+player+names&*
var names = Array.prototype.slice.call(document.getElementsByClassName('klitem')).map(function(node) { return node.getAttribute('title'); });
console.log(names); // ["Cristiano Ronaldo (Real Madrid C.F.)", "Lionel Messi (Argentina national under-23 football team)", ...]L
(fashionmetric)Hyunchel-ui-MacBook-Air:api_algo_tests hyunchelkim$ python algo_test.py TestExampleRequest.test_3B_URLRETRIEVE_multiple_requests
E
======================================================================
ERROR: test_3B_URLRETRIEVE_multiple_requests (__main__.TestExampleRequest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "algo_test.py", line 335, in test_3B_URLRETRIEVE_multiple_requests
self.test_3A_URLRETRIEVE_single_request()
File "algo_test.py", line 314, in test_3A_URLRETRIEVE_single_request
urllib.urlretrieve(requestURL, 'jsonfeedback.html')
"""
Django settings for hellodjango project.
For more information on this file, see
https://docs.djangoproject.com/en/1.6/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.6/ref/settings/
"""
@hyunchel
hyunchel / hi
Last active December 26, 2015 12:18
$git push heroku master
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 283 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
-----> Ruby/Rails app detected
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using Bundler version 1.3.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
@hyunchel
hyunchel / noexeclog
Created October 24, 2013 21:17
log..
Verynew-ui-MacBook-Air:testingrails verynew$ NOEXEC_DEBUG=2 rails -v
Bin used: /Users/verynew/.rvm/gems/ruby-2.0.0-p247/bin/rails
Bin calculated: rails
Noexec - starting check
rubygems_specs: actionmailer-4.0.0 actionmailer-3.2.11 actionpack-4.0.0 actionpack-3.2.11 activemodel-4.0.0 activemodel-3.2.11 activerecord-4.0.0 activerecord-3.2.11 activerecord-deprecated_finders-1.0.3 activeresource-3.2.11 activesupport-4.0.0 activesupport-3.2.11 arel-4.0.1 arel-3.0.2 atomic-1.1.14 builder-3.1.4 builder-3.0.4 bundler-1.3.5 bundler-unload-1.0.2 coffee-rails-4.0.1 coffee-rails-3.2.2 coffee-script-2.2.0 coffee-script-source-1.6.3 erubis-2.7.0 execjs-2.0.2 executable-hooks-1.2.6 hike-1.2.3 i18n-0.6.5 jbuilder-1.5.2 journey-1.0.4 jquery-rails-3.0.4 json-1.8.1 mail-2.5.4 mail-2.4.4 mime-types-1.25 minitest-4.7.5 multi_json-1.8.2 pg-0.17.0 polyglot-0.3.3 rack-1.5.2 rack-1.4.5 rack-cache-1.2 rack-ssl-1.3.3 rack-test-0.6.2 rails-4.0.0 rails-3.2.11 rails_12factor-0.0.2 rails_serve_static_assets-0.0.1 rails_stdout_logging-0.0.3