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
#!/bin/bash | |
IS_INTERNAL=0 | |
IS_WIRELESS_CONNECTED=0 | |
IS_WIRED_CONNECTED=0 | |
IS_BTSYNC_RUNNING=0 | |
PID_FILE=$HOME/.btsync.pid | |
LOG_FILE=$HOME/.btsync-check.log | |
TEST_WIRELESS=`ifconfig wlan0 | grep -i running` |
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
config/databytes | |
================ | |
26214400 | |
testing | |
======= | |
swaks --to [email protected] --server 127.0.0.1 --from [email protected] |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "redis" | |
config.vm.network :forwarded_port, guest: 6379, host: 6379 |
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 | |
echo "** Updating apt cache list" | |
sudo apt-get -qq update | |
echo "** Installing apt-add-repository" | |
sudo apt-get -y install python-software-properties curl pwgen | |
echo "** Adding chris-lea/redis-server ppa" | |
sudo apt-add-repository -y ppa:chris-lea/redis-server |
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
net.core.somaxconn = 32768 | |
net.ipv4.conf.all.send_redirects = 1 | |
net.ipv4.ip_nonlocal_bind = 1 | |
net.ipv4.tcp_abort_on_overflow = 0 | |
net.ipv4.tcp_fin_timeout = 10 | |
net.ipv4.tcp_keepalive_time = 300 | |
net.ipv4.tcp_max_orphans = 262144 | |
net.ipv4.tcp_max_syn_backlog = 16384 | |
net.ipv4.tcp_max_tw_buckets = 262144 | |
net.ipv4.tcp_mem = 200000 280000 300000 |
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
wget https://gist.githubusercontent.com/cabrel/81525fce104864b3ed5e/raw/221d45906278ee999d88c6727ae2e3d6b10424db/cloud-config.yaml | |
wget https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install |
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
#cloud-config | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9nWTtBwYlGX6Kce3MXg2tDGuqUwL1WxkBjEfpRKeI+jDVXVOiNJQjqTQ0VgaJxF89BoYbCZG2hMj8Pgz2dBsNC1CqHuiilkpJQaaOsHnfyI2BxpVijtFCUO5fHmKCJNq3MD4zg9RcewQVN48mgzbif3eaQRWFtnqCke03hVyfXACAz9OaZicmkODPWPJGo2gLlmB0NYH1JsCKAkzFADPVyYB/6+WM8t2m39Urz6OX2kr1ksNRCpZZ+DbR+lttzboOKPwfSr877UHGChtvk7pZuIWssaRKisfQWJB3+m01qHbK49dQ0oRwryOmnO7PXmFveagNRflw0OYugv59NiO7 [email protected] | |
coreos: | |
units: | |
- name: etcd.service | |
command: start | |
- name: fleet.service | |
command: start |
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 | |
wget https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install | |
chmod +x coreos-install | |
wget https://gist.githubusercontent.com/cabrel/cffc790ae9c27346b510/raw/cdc60c3de1d051d986cfc8da50c8c0b0e58e7c40/gistfile1.yml | |
mv gistfile1.yml cloud-config.yml |
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
--- | |
# ^^^ YAML documents must begin with the document separator "---" | |
# | |
#### Example docblock, I like to put a descriptive comment at the top of my | |
#### playbooks. | |
# | |
# Overview: Playbook to bootstrap a new host for configuration management. | |
# Applies to: production | |
# Description: | |
# Ensures that a host is configured for management with Ansible. |