I hereby claim:
- I am jph on github.
- I am jameshynes (https://keybase.io/jameshynes) on keybase.
- I have a public key ASClByDkXwZUH6deFE59hN0FUEVwksTXvG0DMwpXCtuZDAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| (* | |
| Copyright © 2011, Scott Dollins. All rights reserved. | |
| http://scottdollins.com/ | |
| Redistribution and use in source and binary forms, with or without modification, are | |
| permitted provided that the following conditions are met: | |
| Redistributions of source code must retain the above copyright notice, this list of | |
| conditions and the following disclaimer. | |
| (* | |
| Copyright © 2011, Scott Dollins. All rights reserved. | |
| http://scottdollins.com/ | |
| Redistribution and use in source and binary forms, with or without modification, are | |
| permitted provided that the following conditions are met: | |
| Redistributions of source code must retain the above copyright notice, this list of | |
| conditions and the following disclaimer. | |
| (* | |
| Copyright © 2011, Scott Dollins. All rights reserved. | |
| http://scottdollins.com/ | |
| Redistribution and use in source and binary forms, with or without modification, are | |
| permitted provided that the following conditions are met: | |
| Redistributions of source code must retain the above copyright notice, this list of | |
| conditions and the following disclaimer. | |
| /***************************************** | |
| * Read QSee/Zmodo cameras * | |
| * Forward stream to FIFO pipe * | |
| * Author: Daniel Osborne * | |
| * Based on IP Cam Viewer by Robert Chou * | |
| * License: Public Domain * | |
| *****************************************/ | |
| /* Version history | |
| * 0.41 - 2013-05-03 |
| require("lsqlite3") | |
| -- Igmar: Wanneer closen we dat DB object eigenlijk ? | |
| db = sqlite3.open('/etc/asterisk/users.sqlite') | |
| --CONSOLE = "Console/dsp" -- Console interface for demo | |
| --CONSOLE = "DAHDI/1" | |
| --CONSOLE = "Phone/phone0" | |
| TRUNK = "DAHDI/G1" |
| [ | |
| { "keys": ["home"], "command": "move_to", "args": { "to": "bol" } }, | |
| { "keys": ["end"], "command": "move_to", "args": { "to": "eol" } }, | |
| { "keys": ["shift+end"], "command": "move_to", "args": { "to": "eol", "extend": true } }, | |
| { "keys": ["shift+home"],"command": "move_to", "args": { "to": "bol", "extend": true } }, | |
| ] |
| ~$ brew update | |
| Error: /usr/local/Library/Homebrew/tap_migrations.rb:8: syntax error, unexpected '>' | |
| 'libgtextutils' -> 'homebrew/science', | |
| ^ | |
| /usr/local/Library/Homebrew/tap_migrations.rb:8: syntax error, unexpected ',', expecting $end | |
| Please report this bug: | |
| https://github.com/mxcl/homebrew/wiki/troubleshooting | |
| /usr/local/Library/Homebrew/cmd/update.rb:3:in `require' | |
| /usr/local/Library/Homebrew/cmd/update.rb:3 | |
| /usr/local/Library/brew.rb:51:in `require' |
| module Billable | |
| extend ActiveSupport::Concern | |
| included do | |
| attr_accessible :line_item, :line_item_id, :custom_pricing | |
| belongs_to :line_item | |
| end | |
| end |
| require 'csv' | |
| csv = CSV.read "ips.csv" | |
| config = [] | |
| csv.each_with_index do |row,index| | |
| config << "Dest#{index}=#{row[0].gsub(/ /,'')}-#{row[3].gsub(/ /,'')}-#{row[2]}" | |
| end | |
| puts config.join "\r\n" |