This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Author: Guillermo Siliceo Trueba | |
" | |
" Add the virtualenv's site-packages to vim path | |
py << EOF | |
import os.path | |
import sys | |
import vim | |
if 'VIRTUAL_ENV' in os.environ: | |
project_base_dir = os.environ['VIRTUAL_ENV'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def self.create_from_webhook_notification(params) | |
data = params['data'] | |
object = data['object'] | |
payment_data = object['payment_method'] | |
order_receipt = object['reference_id'] | |
# Parse | |
payment_method = payment_data['object'] | |
fee = object['fee'].to_f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"" The Silver Searcher | |
if executable('ag') | |
" Use ag over grep | |
set grepprg=ag\ --nogroup\ --nocolor | |
" Use ag in CtrlP for listing files. Lightning fast and respects .gitignore | |
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""' | |
" " ag is fast enough that CtrlP doesn't need to cache | |
let g:ctrlp_use_caching = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="https://s3.amazonaws.com/cdn-production.bebitos.mx/assets/logo-para-video.png" height="110" width="200"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I believe in Moot, the patriarch almighty, creator of Reddit and 9gag. | |
I believe in Elliot Rodger, his only bean, our Lord. | |
He was conceived by the power of euphoria and born of the Virgin Wizard. | |
He suffered under grills, was bullied, went postal and an hero'd. | |
He descended to 4chan. | |
On the third day he became a meme. | |
He ascended into virgin heaven and is seated at the right hand of Muhammed. | |
He will come again when his ass is awarded to some Jihadist martyr. | |
I believe in euphoria, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style='max-width: 400px'> | |
Canvasaurs, | |
We were recently made aware of a security breach that affected all of our servers hosted with Amazon, which includes the ones that previously hosted Canvas. The person(s) used our account to order hundreds of expensive servers, likely to mine Bitcoin or other cryptocurrencies. When we detected this activity, we immediately locked down the account. | |
Unfortunately we have no way of knowing what, if any, information was accessed by the attacker(s). It’s possible they only used our account to order servers, however it’s also possible they accessed our database, and thus user e-mail addresses, encrypted passwords, and other information. | |
We’d suggest you consider changing your e-mail account password, and the passwords of any services you connected with Canvas. Although Canvas account passwords were encrypted in our database using a modern, secure method called bcrypt, it’s better to be safe than sorry. To reiterate, we found no evidence of an attack targeting Canvas or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib.admin import SimpleListFilter | |
from store.models import Box | |
class Items(Model): | |
name = CharField(max_length=200) | |
class Box(Model): | |
items = ManyToManyField(Items) | |
box_color = CharField(max_length=200,choices=( | |
('yellow','yellow'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="content"> | |
<div class="notification info"> | |
<p>Te extrañaremos, vuelve pronto.</p> | |
<span class="close">x<span></span></span></div> | |
<div id="header"> | |
<img src="/static/images/logo.png"> | |
<h1>Tú descubres a la banda, entre todos la traemos</h1> | |
<div id="teaser"> |
NewerOlder