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
[USERNAME] Formula:$ brew reinstall readline | |
Warning: You are using macOS 10.11. | |
We (and Apple) do not provide support for this old version. | |
You will encounter build failures with some formulae. | |
Please create pull requests instead of asking for help on Homebrew's GitHub, | |
Discourse, Twitter or IRC. You are responsible for resolving any issues you | |
experience while you are running this old version. | |
==> Reinstalling readline | |
Warning: Your Xcode (7.3.1) is outdated. |
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
class Readline < Formula | |
desc "Library for command-line editing" | |
homepage "https://tiswww.case.edu/php/chet/readline/rltop.html" | |
url "https://ftp.gnu.org/gnu/readline/readline-7.0.tar.gz" | |
mirror "https://ftpmirror.gnu.org/readline/readline-7.0.tar.gz" | |
version "7.0.1" | |
sha256 "750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334" | |
%w[ | |
001 9ac1b3ac2ec7b1bf0709af047f2d7d2a34ccde353684e57c6b47ebca77d7a376 |
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 koans | |
# https://sanctum.geek.nz/arabesque/vim-koans/ | |
# https://sanctum.geek.nz/etc/emperor-sh-and-the-traveller.txt | |
# https://blog.samwhited.com/2015/04/the-dharma-of-vi/ | |
#### remapping keys links | |
# remap escape - https://news.ycombinator.com/item?id=13100718 | |
# spacebar leader - https://news.ycombinator.com/item?id=6916194 | |
# https://www.reddit.com/r/vim/comments/4d6iym/what_do_you_all_do_with_caps_lock_control_and/ | |
# http://vim.wikia.com/wiki/Avoid_the_escape_key |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.example</groupId> | |
<artifactId>root-pom</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>pom</packaging> | |
<name>Root POM</name> | |
<url>http://git.example.com/rootpom.git</url> |
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 bash | |
# Original: http://www.insanelymac.com/forum/topic/308533-how-to-create-a-bootable-el-capitan-iso-fo-vmware/ | |
echo "Mount the installer image" | |
sudo hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app | |
echo "Create the ElCapitan Blank ISO Image of 7316mb with a Single Partition - Apple Partition Map" | |
hdiutil create -o /tmp/ElCapitan.cdr -size 7316m -layout SPUD -fs HFS+J |
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
import sqlite3 | |
# open connection and get a cursor | |
conn = sqlite3.connect(':memory:') | |
c = conn.cursor() | |
# create schema for a new table | |
c.execute('CREATE TABLE IF NOT EXISTS sometable (name, age INTEGER)') | |
conn.commit() |
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 | |
# -*- coding: utf-8 -*- | |
""" | |
Frédéric Grosshans, 19 January 2012 | |
Nathan R. Yergler, 6 June 2010 | |
This file does not contain sufficient creative expression to invoke | |
assertion of copyright. No warranty is expressed or implied; use at | |
your own risk. |
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
Closing connections idle longer than 100 MILLISECONDS | |
Closing connections idle longer than 100 MILLISECONDS | |
Jan 11, 2012 6:27:40 PM org.openqa.selenium.remote.RemoteWebDriver execute | |
INFO: Executing: [null, newSession {"desiredCapabilities":"Capabilities [{platform=ANY, browserName=firefox, version=}]"}] | |
Get connection: HttpRoute[{}->http://127.0.0.1:4444], timeout = 120000 | |
[HttpRoute[{}->http://127.0.0.1:4444]] total kept alive: 0, total issued: 0, total allocated: 0 out of 2000 | |
No free connections [HttpRoute[{}->http://127.0.0.1:4444]][null] | |
Available capacity: 2000 out of 2000 [HttpRoute[{}->http://127.0.0.1:4444]][null] | |
Creating new connection [HttpRoute[{}->http://127.0.0.1:4444]] | |
Connecting to 127.0.0.1:4444 |
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
import java.net.MalformedURLException; | |
import java.net.URL; | |
import com.thoughtworks.selenium.*; | |
import org.junit.After; | |
import org.junit.Before; | |
import org.junit.Test; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebDriverBackedSelenium; | |
import org.openqa.selenium.remote.DesiredCapabilities; | |
import org.openqa.selenium.remote.RemoteWebDriver; |
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
Jan 11, 2012 5:49:00 PM org.openqa.selenium.remote.RemoteWebDriver execute | |
INFO: Executing: [null, newSession {"desiredCapabilities":"Capabilities [{platform=ANY, browserName=firefox, version=}]"}] | |
Get connection: HttpRoute[{}->http://10.149.0.254:4444], timeout = 120000 | |
[HttpRoute[{}->http://10.149.0.254:4444]] total kept alive: 0, total issued: 0, total allocated: 0 out of 2000 | |
No free connections [HttpRoute[{}->http://10.149.0.254:4444]][null] | |
Available capacity: 2000 out of 2000 [HttpRoute[{}->http://10.149.0.254:4444]][null] | |
Creating new connection [HttpRoute[{}->http://10.149.0.254:4444]] | |
Connecting to 10.149.0.254:4444 | |
CookieSpec selected: best-match | |
Auth cache not set in the context |