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
| $ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/screen co screen | |
| $ curl https://gist.githubusercontent.com/georgantasp/6b2e6e5849766134bfafe7dfb4cadb7a/raw/ab933216aec3191397eb00f5c9584e950bf56340/gnu-screen-vertsplit.patch > gnu-screen-vertsplit.patch | |
| $ cd screen/src | |
| $ patch < ../../gnu-screen-vertsplit.patch | |
| $ ./configure --enable-locale --enable-telnet --enable-colors256 --enable-rxct_osc | |
| $ make | |
| $ sudo make 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
| require 'uri' | |
| require 'net/http' | |
| require 'nokogiri' | |
| require 'json' | |
| class NjLookUp | |
| def perform_search(options) | |
| uri = URI.parse("http://tax1.co.monmouth.nj.us/cgi-bin/inf.cgi") | |
| http = Net::HTTP.new(uri.host, uri.port) |
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
| [2013-03-05 17:26:16,541] WARN [stat-listener-jetty-28] (MetricsServlet.java:392) : Error evaluating gauge | |
| Status Code: 400, AWS Service: AmazonElasticMapReduce, AWS Request ID: c92f245a-85b9-11e2-a8ab-6dad9b639363, AWS Error Code: Throttling, AWS Error Message: Rate exceeded | |
| at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:614) | |
| at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:312) | |
| at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:165) | |
| at com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduceClient.invoke(AmazonElasticMapReduceClient.java:651) | |
| at com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduceClient.describeJobFlows(AmazonElasticMapReduceClient.java:402) | |
| at com.rightaction.logimporter.mapreduce.AWSClusterService.lookupJobFlowDetailsByJobFlowId(AWSClusterService.java:94) | |
| at com.rightaction.logimporter.mapreduce.AWSClusterService.lookupJobFlowDetail(AWSClus |
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
| <!-- vim:set ts=2 sw=2 et ai syn=xml: --> | |
| <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 | |
| http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
| <servers> | |
| <server> | |
| <id>rightaction</id> | |
| <username></username> | |
| <password></password> |
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
| def parse_url url_string | |
| begin | |
| if url_string.start_with?('http') | |
| uri = URI.parse(url_string) | |
| else | |
| uri = URI.parse('http://' + url_string) | |
| end | |
| domain = uri.host unless uri.host.nil? | |
| if domain.start_with? "www." |
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
| require 'cipher_wrapper' | |
| require 'cipher' | |
| class CipherWrapper | |
| initialize | |
| self.cipher = Cipher.new | |
| end |
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
| testt |