I hereby claim:
- I am marcransome on github.
- I am marcransome (https://keybase.io/marcransome) on keybase.
- I have a public key ASBZWoIk_280bRa6txmK8vHF-LY5gdvGG24M18V52d7qQAo
To claim this, I am signing this object:
psql: could not connect to server: No such file or directory | |
Is the server running locally and accepting | |
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"? |
NSSavePanel *savePanel = [NSSavePanel savePanel]; | |
[savePanel setPrompt:@"Save"]; | |
[savePanel setNameFieldStringValue:@"Test.txt"]; | |
[savePanel beginSheetModalForWindow:[self window] completionHandler:^(NSInteger returnCode) | |
{ | |
if (returnCode == NSOKButton) | |
{ | |
// respond to button click | |
} |
sudo yum install libevent-devel | |
wget http://downloads.sourceforge.net/tmux/tmux-1.6.tar.gz | |
tar -xvzf tmux-1.6.tar.gz | |
cd tmux-1.6 | |
./configure | |
make | |
sudo make install |
#!/bin/bash | |
# | |
# Copyright (c) 2015 Marc Ransome <marc.ransome@fidgetbox.co.uk> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to | |
# deal in the Software without restriction, including without limitation the | |
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | |
# sell copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
import QtQuick 2.0 | |
Rectangle { | |
id: scene | |
width: 1280 | |
height: 800 | |
color: "white" | |
PathView { | |
anchors.fill: parent |
set DESIRED_JDK "1.8" | |
if set JDK (/usr/libexec/java_home -F -v $DESIRED_JDK ^ /dev/null) | |
set -x JAVA_HOME $JDK | |
else | |
echo "Desired JDK version not found ($DESIRED_JDK)" | |
end |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'stathat' | |
api_key = "" | |
# strip any leading text up to and including the equals symbol, | |
# and strip the specified number of trailing characters | |
def stripcruft(string, trailingchars) |
function jp -d "Open default editor with date prepended filename and specified title for jekyll posts." | |
set title (date +"%Y-%m-%d") | |
switch (count $argv) | |
case 0 | |
echo "No post title was specified." | |
return 1 | |
case 1 | |
set lower_arg (echo $argv[1] | tr A-Z a-z) |
#!/usr/bin/env bash | |
EMAIL="" | |
API_TOKEN="" | |
DOMAIN_ID="" | |
RECORD_ID="" | |
EXTERNAL_IP="`curl http://rqst.io/ip | jgrep -s "ip"`" | |
curl -H "Accept: application/json" \ | |
-H "Content-Type: application/json" \ |
I hereby claim:
To claim this, I am signing this object: