alias gh='git config --get remote.origin.url | ruby -ne "puts %{https://github.com/#{\$_.split(/.com[\:\/]/)[-1].gsub(%{.git},%{})}}"| xargs open'
I have a relation like this:
context-[EXPRESSED_AS]->root
Assume that I have two contexts. The first has roots with base_forms of "temperature", "cool" and "hot". The second has roots with base_forms of "cool" and "hot". I want to find all contexts, sorted by the number of matches for the set ["cool", "temperature"].
I attempted it using this Cypher query, which doesn't work since the IN operator returns true or false instead of the matches:
"MATCH (w:`context`), s-[EXPRESSED_AS]->n1 WHERE n1.base_form in ["cool", "temperature"] WITH s, COUNT(n1.base_form in ["cool", "temperature"]) AS rootCount RETURN s.name, rootCount ORDER BY rootCount
Books for kids on programming:
- Ruby Wizardry http://www.amazon.com/dp/1593275668
- Super Scratch Programming Adventure http://www.amazon.com/Scratch-Programming-Adventure-Covers-Version/dp/1593274092
- Best Practices of Spell Design http://www.amazon.com/gp/aw/d/1481921916/ref=mp_s_a_1_2?qid=1418347862&sr=8-2&pi=AC_SY200_QL40
- Computational Fairy Tales http://www.amazon.com/gp/aw/d/1477550291/ref=mp_s_a_1_1?qid=1418347862&sr=8-1&pi=AC_SY200_QL40
- Javascript for Kids http://www.nostarch.com/javascriptforkids
- Python for Kids http://www.nostarch.com/pythonforkids
- Lauren Ipsum http://www.amazon.com/Lauren-Ipsum-Carlos-Bueno/dp/1461178185
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
We are committed to making participation in this project a harrasment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
Examples of unacceptable behavior by participants include the use of sexual langauge or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
| # Needed to load an application without enabling a certain feature unless I explicitly wanted it. | |
| # The use case was not wanting listeners to load unless the server was starting up; otherwise | |
| # running rake or any of the rails aliases would fire up the listener which would block the thread. | |
| # To complete this thought, check for the value of the environment variable in an initializer, e.g. | |
| # | |
| # config/initializers/listeners.rb | |
| # if ENV['WITH_LISTENERS'] | |
| # Rails.logger.info "Starting listeners..." | |
| # Listener.start(:customer) |
Hi.
I'd like tell you about a matter that is quite personal but will result in some changes in the way I present myself and interact with the commnunity.
I am transgender.
I have known that my body did not match my internal gender since I was a very small child, but I kept those feelings hidden and did my best to make my life work with the body I was born into. The result was chronic stress, physical and psychological pain, and a severe depression that culminated in an acute crisis in October of 2012. At that time I entered psychotherapy to explore my options.
I was diagnosed with Gender Identity Disorder, the treatment for which includes psychotherapy, hormonal treatments and potentially several surgeries. I have been working with my therapist and doctors, following the Standards of Care that set out treatment guidelines for my condition.
| git config --get remote.origin.url | ruby -ne 'puts %{https://github.com/#{$_.split(/.com[\:\/]/)[-1].gsub(".git","")}}' | xargs open |
| activities = Activity.where(:date.gte => dates.first, :date.lte => dates.last) | |