| Models | Examples |
|---|---|
| Display ads | Yahoo! |
| Search ads |
This file contains hidden or 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
| %!PS-Adobe-3.0 | |
| %%LanguageLevel: 2 | |
| %%BoundingBox: 0 0 595 842 | |
| % from inches to mm | |
| 2.833 2.833 scale | |
| % Линейка | |
| 0 setgray | |
| 0.1 setlinewidth |
This file contains hidden or 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 | |
| response=$(mysql -P 9306 -h 127.0.0.1 --connect-timeout=3 -e 'select count(*) from products\G' | grep count | cut -d' ' -f2) | |
| if [ "${response}" == "" ]; then | |
| sudo /etc/init.d/sphinxsearch restart | |
| fi |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert $1 -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 $2
This file contains hidden or 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 | |
| f=$(pwd) | |
| sips --resampleWidth 512 "${f}/${1}" --out "${f}/iTunesArtwork" | |
| sips --resampleWidth 1024 "${f}/${1}" --out "${f}/iTunesArtwork@2x" | |
| sips --resampleWidth 57 "${f}/${1}" --out "${f}/Icon.png" | |
| sips --resampleWidth 114 "${f}/${1}" --out "${f}/[email protected]" | |
| sips --resampleWidth 29 "${f}/${1}" --out "${f}/Icon-Small.png" | |
| sips --resampleWidth 58 "${f}/${1}" --out "${f}/[email protected]" | |
| sips --resampleWidth 50 "${f}/${1}" --out "${f}/Icon-Small-50.png" |
This file contains hidden or 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
| response=$(curl --write-out %{http_code} --silent --output /dev/null http://httpbin.org/status/200) | |
| if [ $response -gt 302 ]; then | |
| echo ${response} | |
| fi |
This file contains hidden or 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
| #!/usr/bin/env python | |
| import argparse | |
| import logging | |
| import os | |
| import re | |
| import subprocess | |
| from itertools import islice |
This file contains hidden or 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
| // Copyright 2010 Google Inc. | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, software | |
| // distributed under the License is distributed on an "AS IS" BASIS, |
This file contains hidden or 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
| Абрикосовый | #fbceb1 | 251, 206, 177 | 0, 18, 29, 2 | |
|---|---|---|---|---|
| Абрикосовый Крайола | #fdd9b5 | 253, 217, 181 | 0, 14, 28, 1 | |
| Агатовый серый | #b5b8b1 | 181, 184, 177 | 2, 0, 4, 28 | |
| Аквамариновый | #7fffd4 | 127, 255, 212 | 50, 0, 17, 0 | |
| Аквамариновый Крайола | #78dbe2 | 120, 219, 226 | 47, 3, 0, 11 | |
| Ализариновый красный | #e32636 | 227, 38, 54 | 0, 83, 76, 11 | |
| Алый | #ff2400 | 255, 36, 0 | 0, 86, 100, 0 | |
| Амарантово-глубоко-пурпурный | #9f2b68 | 159, 43, 104 | 0, 73, 35, 38 | |
| Амарантово-пурпурный | #ab274f | 171, 39, 79 | 0, 77, 54, 33 | |
| Амарантово-розовый | #f19cbb | 241, 156, 187 | 0, 35, 22, 5 |
This file contains hidden or 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
| <script> | |
| OTA = window.OTA || {}; | |
| OTA.experiments = { | |
| 'browser_session_key': 'ab_sess_id', | |
| 'forced_experiment_name': 'experiment_name', | |
| 'forced_experiment_group': 'experiment_group', | |
| 'forced_test': 'test', | |
| 'forced_control': 'control', |