This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ©ЮЦ╣ИлжО'⌠,*╛}#└K▐▒кФл%cFЗ╣;_оG |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // You can edit this code! | |
| // Click here and start typing. | |
| package main | |
| import "fmt" | |
| import "strconv" | |
| func doit(num int) int { | |
| if num == 0 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [subway@pdxudev99 subway]$ git diff HEAD a5b78c0d7333399d0ee89d07d36aa1994e60eb8f | |
| diff --git a/assets/js/views/overview.js b/assets/js/views/overview.js | |
| index 19fb6fa..d52bdd1 100644 | |
| --- a/assets/js/views/overview.js | |
| +++ b/assets/js/views/overview.js | |
| @@ -63,7 +63,7 @@ var OverviewView = Backbone.View.extend({ | |
| event.preventDefault(); | |
| $('.error').removeClass('error'); | |
| - var server = $('#connect-server').val() || '192.168.122.4', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ./uptime-server | |
| 2013/12/29 11:33:38 http: panic serving 10.208.54.26:50367: runtime error: index out of range | |
| goroutine 5 [running]: | |
| net/http.func·007() | |
| /usr/local/go/src/pkg/net/http/server.go:1022 +0x9c | |
| main.parseUptimeInfo(0x390a1000, 0x42, 0x600, 0x0, 0x0, ...) | |
| /srv/uptime-server/util.go:20 +0x1fb | |
| main.uptimeServer(0x3906dda0, 0x3907c400, 0x39057770) | |
| /srv/uptime-server/uptime_server.go:40 +0x63 | |
| net/http.HandlerFunc.ServeHTTP(0x822b6d0, 0x3906dda0, 0x3907c400, 0x39057770) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class jstatd ( | |
| $manage_service = false, | |
| ){ | |
| file { "${::puppet_user_home}/jstatd": | |
| source => 'puppet:///modules/jstatd/jstatd', | |
| mode => '0755', | |
| owner => $::puppet_user, | |
| group => $::puppet_group, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvw4deV+12616qrZ/Y3yqGc+9TTtfe3jaZvUX643GBJvrjlOeT+nYbNNYqlmlahy76bA/9mej64wWe9iWMeyzK8ZDksUfru+oXnIqxZ1Nu0GxflnKyPUC65iycAmwlyYh8JCxFnYCtrSIXG5DW7EXYB8BvKjQKlqeED3kaW2ssd9m3V3ziPdZk+PsTTUlbHniQuTbxdte6I09++CtS9nnQu3pjIKzt64l1/gaL9RisdaZSyN3m9K/ph74PHSwYEVXVe6m3zVuk27PCsQZ2W27HKl/K6L+GfCIbmJfD6HLg+LsuS4UBt7GwWeLRYbENNSYHDu2gBDKmv2EFKtQgU4wJw== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| from string import center | |
| spacer = 6 | |
| for i in range(5, 11, 2): | |
| print center('#' * i + " " * spacer + '#' * i,80) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "log" | |
| "net/http" | |
| ) | |
| func main() { | |
| http.Handle("/", http.StripPrefix("/", http.FileServer(http.Dir("www-root")))) | |
| if err := http.ListenAndServe(":8080", nil); err != nil { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mysql> use storyboard; | |
| Database changed | |
| mysql> show tables; | |
| +-----------------------+ | |
| | Tables_in_storyboard | | |
| +-----------------------+ | |
| | alembic_version | | |
| | authorizationcodes | | |
| | bearertokens | | |
| | comments | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| site.pp | |
| node default { | |
| package {'vim': | |
| ensure => latest, | |
| } | |
| } |