(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| Bus 004 Device 043: ID 1cfb:1010 | |
| Device Descriptor: | |
| bLength 18 | |
| bDescriptorType 1 | |
| bcdUSB 2.00 | |
| bDeviceClass 2 Communications | |
| bDeviceSubClass 0 | |
| bDeviceProtocol 0 | |
| bMaxPacketSize0 16 |
| EC 11.1.x has a bug [OC-11384] when an LDAP user attempts to create a new account | |
| that has never existed in the Enterprise Chef database before, rather than linking | |
| with an existing internal user. | |
| Please apply the attached patch to your EC 11.1.x release: | |
| $ cd /opt/opscode/embedded/service/gem/ruby/1.9.1/bundler/gems/mixlib-authorization-c03f584a371b | |
| $ patch -p1 < /tmp/cache/ec11.1-ldap500error.patch | |
| patching file lib/opscode/models/user.rb | |
| $ private-chef-ctl restart opscode-account |
| import System.Taffybar | |
| import System.Taffybar.Systray | |
| import System.Taffybar.XMonadLog | |
| import System.Taffybar.SimpleClock | |
| import System.Taffybar.FreedesktopNotifications | |
| import System.Taffybar.DiskIOMonitor | |
| import System.Taffybar.CPUMonitor | |
| import System.Taffybar.FSMonitor | |
| import System.Taffybar.NetMonitor | |
| import System.Taffybar.MPRIS |
| import System.Posix.Unistd | |
| import XMonad hiding (Tall) | |
| import qualified XMonad.StackSet as W | |
| import qualified Data.Map as M | |
| import Control.Monad (filterM) | |
| import Data.Char (ord) | |
| import Data.List | |
| import Data.Maybe | |
| import Data.Ratio |
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'chef/knife' | |
| Chef::Config.from_file(File.join(Chef::Knife.chef_config_dir, 'knife.rb')) | |
| rest = Chef::REST.new(Chef::Config[:chef_server_url]) | |
| Chef::Node.list.each do |node| | |
| %w{read update delete grant}.each do |perm| |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
Scan for access points (run multiple times for more complete scan):
# connmanctl scan wifi
Scan completed for wifi
| # Windows AMIs don't have WinRM enabled by default -- this script will enable WinRM | |
| # AND install 7-zip, curl and .NET 4 if its missing. | |
| # Then use the EC2 tools to create a new AMI from the result, and you have a system | |
| # that will execute user-data as a PowerShell script after the instance fires up! | |
| # This has been tested on Windows 2008 SP2 64bits AMIs provided by Amazon | |
| # | |
| # Inject this as user-data of a Windows 2008 AMI, like this (edit the adminPassword to your needs): | |
| # | |
| # <powershell> | |
| # Set-ExecutionPolicy Unrestricted |
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |