Skip to content

Instantly share code, notes, and snippets.

View nickbayley's full-sized avatar

Nick nickbayley

  • John Lewis Partnership
  • Milton Keynes
View GitHub Profile
@nickbayley
nickbayley / SquirrelSetup.log
Created April 27, 2015 15:47
Proxy 407 - Squirrel.Windows
Program: Starting Squirrel Updater:
Program: Starting Squirrel Updater: --download https://atom.io/api/updates
Program: Fetching update information, downloading from https://atom.io/api/updates
CheckForUpdateImpl: Downloading RELEASES file from https://atom.io/api/updates
FileDownloader: Downloading url: https://atom.io/api/updates/RELEASES
IEnableLogger: Failed to download url: https://atom.io/api/updates/RELEASES: System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
@nickbayley
nickbayley / alt-ssh-copy-id.md
Last active September 5, 2024 12:09
Simple Alternative to ssh-copy-id

Simple Alternative to ssh-copy-id

Replace user with the name of the user you want to ssh as.

Replace the ip with the ip of the machine / host / vps you want to connect to.

cat ~/.ssh/id_rsa.pub | ssh user@ip "cat >> ~/.ssh/authorized_keys"
@nickbayley
nickbayley / gist:0ed960420c5822e2803b
Created April 28, 2015 13:12
Search Database Views
declare
l_search varchar2(1000) := 'search term';
l_count number := 0;
l_char varchar2(32767);
begin
/* remember to turn dbms_output on to see the results */
dbms_output.put_line('Searching for: "' || l_search || '"');
for rec in (
select * from all_views where text_length < 32767
@nickbayley
nickbayley / ubuntu1404.md
Last active August 29, 2015 14:22
Ubuntu 14.04 Build

Ubuntu 14.04

zsh & oh-my-zsh

sudo apt-get install zsh
sudo apt-get install git-core
wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | zsh
chsh -s `which zsh`
@nickbayley
nickbayley / the-purge.md
Last active June 6, 2016 15:28
The Purge

The Purge

The Intro

A list of control shortcuts to be reviewed to determine whether they can be removed from KiSoft.

The Plan

The following public workspace folders will be reviewed:

  • Production Support Data
  • JLP-Prototype-Controls