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
<?php | |
// Snippet code goes here! | |
if (!current_user_can('administrator')) : | |
show_admin_bar(false); | |
endif; | |
?> |
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
{ | |
'Charges':[ | |
{ | |
'ChargeData':{ | |
'PrimaryInsuranceInsuranceAllowed':None, | |
'ServiceStartDate':u'05/26/2014', | |
'TotalCharges':u'0.0000', | |
'BatchNumber':None, | |
'TertiaryInsuranceCompanyPlanName':u'Medicare CA', | |
'OtherPaymentAmount':None, |
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
---------- | |
Publishing prod using rsync from /srv/eloquens/dev/catalog/ ... | |
** Giving ownership & rights to bsn while synchronizing... | |
[DRY RUN] Nothing done | |
** Synchronizing dev toward prod... | |
sending incremental file list | |
.htaccess | |
LICENSE |
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
curl https://wl.dev.cwist.com/api/v1/login/ -d "[email protected]&password=cvrt" -k | |
# response {"token":"8ae254cca97772f4269ac5af93ad55b67284de41"} | |
curl -X POST -H "Content-Type:multipart/form-data" -H "Authorization: Token 8ae254cca97772f4269ac5af93ad55b67284de41" -F "ext_media_url=http://zacronym.com/wp-content/uploads/2014/04/Mickey-Mouse51.jpg" -F "description=Test desciprtion for media" -F "title=Mickey Mouse" https://wl.dev.cwist.com/api/v1/remixes/ -k | |
# result | |
{"id":1984,"preview_url":"https://wl-media-dev.s3.amazonaws.com/cwist/gallery/bb/43/838f60d0bb4349dea1f68197b4328b3b_250_250.jpg","big_preview_url":"https://wl-media-dev.s3.amazonaws.com/cwist/gallery/bb/43/838f60d0bb4349dea1f68197b4328b3b_500_500.jpg","media_is_video":false,"media_is_image":true,"is_program":false,"kid_or_parent":"Cvrt the #1","rel_cwist":null,"rel_cwist_name":null,"rel_cwist_id":null,"rating_dict":{},"rating":"0","url":"https://wl.dev.cwist.com/api/v1/remixes/1984/","status":"private","robots":[],"parent_image_url":" |
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
#!/bin/bash | |
### | |
### my-script — does one thing well | |
### | |
### Usage: | |
### my-script <input> <output> | |
### | |
### Options: | |
### <input> Input file to read. | |
### <output> Output file to write. Use '-' for stdout. |
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
-- Set selected Address Book contact pictures from Gravatar. | |
-- Released under GPL. | |
-- by Doug Smith, http://smithsrus.com | |
-- Fixed md5_email routine by Tatsuhiko Miyagawa | |
-- Grab the selected records and see how many there are. | |
tell application "Address Book" | |
set selected_contacts to selection | |
set count_selected to number of items in selected_contacts |
OlderNewer