From: Chris DeSalvo <chris.desalvo@voxer.com>
Subject: Why we can't process Emoji anymore
Date: Thu, 12 Jan 2012 18:49:20 -0800
Message-Id: <AE459007-DF2E-4E41-B7A4-FA5C2A83025F@voxer.com>
--Apple-Mail=_6DEAA046-886A-4A03-8508-6FD077D18F8B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'rest_client' | |
require 'json' | |
require 'cgi' | |
def bye | |
abort("Usage: #{$0} [view_url]\nExample: #{$0} http://admin:secret@127.0.0.1:5984/db/_design/ddoc/_view/recent-posts") |
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/sh | |
# Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the | |
# CREATE block and create them in separate commands _after_ all the INSERTs. | |
# Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. | |
# The mysqldump file is traversed only once. | |
# Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite | |
# Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite |
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
# Refer to CHEF-2815. http://tickets.opscode.com/browse/CHEF-2815 | |
bash -c ' | |
<%= "export http_proxy=\"#{knife_config[:bootstrap_proxy]}\"" if knife_config[:bootstrap_proxy] -%> | |
exists() { | |
if command -v $1 &>/dev/null | |
then | |
return 0 | |
else |
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
<?xml version='1.0' encoding='ASCII'?> | |
<flow_graph> | |
<timestamp>Tue Apr 10 20:21:22 2012</timestamp> | |
<block> | |
<key>options</key> | |
<param> | |
<key>id</key> | |
<value>rtl_nfm_rx</value> | |
</param> | |
<param> |
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
r"""Generate and check password hashes for Ubersmith DE (salted sha1). | |
Example use: | |
>>> my_new_hash = generate_hash('my_new_pass', 'salt') | |
>>> my_new_hash # store this in the database | |
'{ssha1}W77amZWRUSWjDLh04P/dlfsCvYdzYWx0\n' | |
>>> check_password('my_new_pass', my_new_hash) | |
True | |
>>> check_password('not_my_new_pass', my_new_hash) |
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
13:22 luke_: what if it was written in ruby | |
13:22 mstyne: oh jesus | |
13:23 mstyne: $ rake freeballin/dolphin_pants.rb --test --noop --trace --gemsgemsgems | |
13:23 luke_: ruby -ivrq rake::run_test_env guacamole:-:machine:fulfill --env=production_test_mock --debug-level-low=2 --debug=semi-true |
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
# restorecon -R -v /root/.ssh |
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
openssl req -new -nodes -keyout some.domain.com.key -out some.domain.com.csr -newkey rsa:2048 |
Ubersmith, Inc. is hiring! New York's premiere Data Center Management software company is looking to expand our operations team in beautiful downtown Troy, New York.
Our hard and fast requirements for this position:
- Strong Linux system administration skills required. Super strong.
- We're serious about that first one. If you are not comfortable with your Linux administration abilities, please do not apply for this position.
- Significant experience deploying, configuring, and troubleshooting RHEL, CentOS, and Debian Linux distributions.
- Significant experience troubleshooting and deploying Apache, MySQL, PHP, Tomcat, and Postfix on those platforms.
- Experience troubleshooting the source of errors generated by PHP applications.
- Experience working directly with customers to resolve their issues via both email and telephone.
OlderNewer