Skip to content

Instantly share code, notes, and snippets.

View billturner's full-sized avatar

Bill Turner billturner

View GitHub Profile
emacs: commands
Some custom ones:
C-x f - find file in project
C-x a - ack/ag in project
C-x t - toggle neotree
C-x m - magit status
C-c TAB - helm buffer list
Developer User/DevOps Admin,
If you do multiplatform development here is a video outlining my steps to get a developer workstation running windows 10 64bit with WSL - https://www.youtube.com/watch?v=7J-dRirlUvY “WSL requires fewer resources (CPU, memory, and storage) than a full virtual machine.“ https://msdn.microsoft.com/en-us/commandline/wsl/faq
https://blogs.msdn.microsoft.com/commandline/2017/07/28/windows-subsystem-for-linux-out-of-beta/
If you would like you can request Windows 10 Build and if you use Un*x administration and need a full X11 Client like I used to talk about when I said a name like Cygwin, well my setup is not totally stock, in that I didn’t add anything (except 3rd party x client) and can do full unix administration and supported this time.
My Steps:
1.) Get new haswell hardware (hp 600 g2’s)
2.) Update cwdb (work with support team to have them change it)
3.) Install win10 core 64 bit offering
4.) Login and start the steps
5.) Open powershell prompt to flip developer m
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DVTConsoleDebuggerInputTextColor</key>
<string>0 0 0 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>Menlo-Bold - 11.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>0 0 0 1</string>

Install the pre-release of bundler. When 1.0 is final the --pre flag will not be necessary.

$ gem install bundler --version=1.0.0.rc.2
Successfully installed bundler-1.0.0.rc.2
1 gem installed

Modify your Gemfile, and locally re-bundle you app with the new bundler options. If bundler complains about the Gemfile format, fix it according to the directions on http://gembundler.com/v1.0/index.html. If you have an old bundler gem defined in your Gemfile, make sure to un-pin it from 0.9.x.

$ echo >> Gemfile

$ bundle install --path vendor/bundle

user www www;
worker_processes 5;
error_log logs/error.log;
pid logs/nginx.pid;
worker_rlimit_nofile 8192;
events {
worker_connections 4096;
}
We couldn’t find that file to show.
#!/bin/sh
#
# init.d script with LSB support.
#
# Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org>
#
# This is free software; you may redistribute it and/or modify
# it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2,
# or (at your option) any later version.
# a good .rvmrc to use per project to make sure it's created if not available already
# something to tack onto the end of a install script or rails template
# found here: http://bcardarella.com/post/699582642/rvm-gemsets-bundler-awesome
rvm --create use rubyversion@gemset > /dev/null
if __FILE__ == $0
puts "Run with: watchr #{__FILE__}. \n\nRequired gems: watchr rev"
exit 1
end
# --------------------------------------------------
# Convenience Methods
# --------------------------------------------------
def run(cmd)
puts(cmd)
#!/usr/bin/env ruby
# Usage: gemspec [-s] GEMNAME
#
# Prints a basic gemspec for GEMNAME based on your git-config info.
# If -s is passed, saves it as a GEMNAME.gemspec in the current
# directory. Otherwise prints to standard output.
#
# Once you check this gemspec into your project, releasing a new gem
# is dead simple:
#