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 |
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
curl https://wl.dev.cwist.com/api/v1/login/ -d "email=cvrt@mailinator.com&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
---------- | |
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
{ | |
'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
<?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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"/> | |
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> | |
<script type="text/javascript" src="http://github.com/mbostock/d3/raw/v1.8.4/d3.js"></script> | |
<style type="text/css"> | |
html, body, #map { | |
width: 100%; |
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
#Config is there http://github.com/spyou/vim-config | |
#Give a go to vimtutor in order to have a little overview of Vim. | |
"open/save" | |
#:w (save) | |
#:q (quit) | |
#:qa (quit all buffers) | |
#:q! (quit without saving) | |
#:wq (save and quit) |
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
Весы | |
Коротко - эстет хуев. Семь пятниц на неделе - а туда же: пикассо, гогены-хуены, о святое искусство, а ведра мусорного за собой вынести не догадается. Не до того. Всю сознательную жизнь мечется в поисках светлого идеала, поэтому времени на то, чтоб научиться готовить или пришивать пуговицы не находит. Любит принарядиться, при этом заебет всех окружающих, выбирая между вооон тем с перламутровыми пуговичками и воооот этим с шелковой отстрочкой. Не дурак сходить налево, при этом может иметь постоянного партнера и объяснять измены тем, что душой он всегда верен Единственному/ой, а тело - это так, суть прах зловонный. В общем, тот еще гондон. Гоняется за душевным равновесием, которое для Весов в принципе недостижимо, потому что блядская натура всегда перевешивает высокодуховные идеалы. Как и все нерешительные уебаны, зачастую мучается нервическими болезнями навроде псориаза и гастрита. Завистлив, но не злобен. Склонен подставлять задницу, причем делает это исключительно из мазохистической любви к человечеству, |
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 | |
set_time_limit(0); | |
require '../../common/wlGenerator.php'; | |
include_once '../../common/triggermail.php'; | |
require 'SnapFish.php'; | |
include_once 'snapfish_order_completed.php'; | |
/** | |
* WLHandler class | |
* Work list handler for Snapfish | |
* This work list generator will create a work list |
NewerOlder