I hereby claim:
- I am scottames on github.
- I am scottames (https://keybase.io/scottames) on keybase.
- I have a public key ASAR2SvD85eaiOFYDKSpzCj9zZPMV8rtfzLRKGwoDQ67eAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am scottames on github. | |
* I am scottames (https://keybase.io/scottames) on keybase. | |
* I have a public key ASCxFxvHABJ6sOR-W1uJBgfJ5BXWdIikUfyLqKwsA8w5Zgo | |
To claim this, I am signing this object: |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
## download emojis | |
## - supports emojipacks (https://github.com/lambtron/emojipacks/tree/master/packs) | |
## usage | |
## ruby get_some_emojis.rb emojipack.yaml | |
## download all emojis in emojipack.yaml to emojipack/ | |
## (creates a new folder if one doesn't exist) | |
require 'yaml' | |
require 'net/http' |
#!/usr/bin/env bash | |
# | |
## Install s3ql on centos 7 machine | |
### https://bitbucket.org/nikratio/s3ql/ | |
# yum packages | |
sudo yum install -y epel-release | |
sudo yum install -y \ | |
bzip2 \ | |
fuse \ | |
fuse-devel \ |
## Install tmux on Centos release 6.x | |
### http://superuser.com/questions/738829/attempting-to-install-tmux-on-centos-6-4-or-centos-6-5-fails-with-error-evbuff | |
# | |
LIBEVENT_URL="https://sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.22-stable.tar.gz" | |
TMUX_URL="https://github.com/tmux/tmux/archive/2.1.tar.gz" | |
## MAKE SURE YOU HAVE BUILD TOOLS/COMPILERS TO BUILD STUFF FROM SOURCES | |
yum -y groupinstall "Development Tools" | |
## INSTALL NCURSES DEVEL |
#!/usr/bin/env bash | |
# | |
# This bootstraps Puppet on Mac OS X 10.7+ | |
# - adopted from: https://github.com/hashicorp/puppet-bootstrap/blob/master/mac_os_x.sh | |
# | |
# Optional environmental variables: | |
# - FACTER_PACKAGE_URL: The URL to the Facter package to install. | |
# - PUPPET_PACKAGE_URL: The URL to the Puppet package to install. | |
# - HIERA_PACKAGE_URL: The URL to the Hiera package to install. | |
# |
### Get-PWDSet - Get password change and expiration information for given user | |
function Get-PWDSet{ | |
param([parameter(Mandatory=$true,Valuefrompipeline=$true)][string]$user) | |
$use = get-aduser $user -properties passwordlastset,passwordneverexpires | |
if($use.passwordneverexpires -eq $true){ | |
write-host $user "last set their password on " $use.passwordlastset " this account has a non-expiring password" -foregroundcolor yellow | |
$d1 = $use.passwordlastset |
# Fix npm brew installation | |
``` | |
brew update | |
brew uninstall node | |
brew install node | |
sudo brew postinstall node # brew error message provided this recommendation; only worked with sudo | |
``` | |
to test that npm is working (tho appears to build an index, which not everyone may want): |