This file contains 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
diff -r 2d711318934b oauth/oauth.go | |
--- a/oauth/oauth.go Tue Apr 30 13:15:44 2013 -0400 | |
+++ b/oauth/oauth.go Mon May 06 09:20:21 2013 -0400 | |
@@ -144,6 +144,7 @@ | |
type Transport struct { | |
*Config | |
*Token | |
+ APIKey string | |
// Transport is the HTTP transport to use when making requests. |
This file contains 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 | |
type simple float64 | |
func test(x float64) float64 { | |
return float64(simple(x)) | |
} | |
func main() { | |
test(2.5) |
This file contains 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
// Copyright 2011 Google Inc. All rights reserved. | |
// Use of this source code is governed by the Apache 2.0 | |
// license that can be found in the LICENSE file. | |
package appengine_internal | |
import ( | |
"bytes" | |
"encoding/base64" | |
"fmt" |
This file contains 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
# $Id$ | |
# Maintainer: Alexander Rødseth <rodseth@gmail.com> | |
# Contributor: spambanane <happy.house@gmx.de> | |
# Contributor: Matteo <matteo.dek@gmail.com> | |
pkgname=liteide |
This file contains 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
func checkLogs(c appengine.Context, w http.ResponseWriter, r *http.Request) { | |
now := time.Now() | |
query := &log.Query{ | |
StartTime: now.Add(-time.Hour), | |
EndTime: now, | |
Incomplete: true, | |
AppLogs: true, | |
ApplyMinLevel: true, | |
MinLevel: 3, // in linux syslog, 3 = error | |
} |
This file contains 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 ( | |
"bufio" | |
"fmt" | |
"io" | |
"log" | |
"net" | |
"net/http" | |
"os" |
This file contains 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
# Maintainer: Daniel Micay <danielmicay@gmail.com> | |
# Contributer: Pranay Kanwar <pranay.kanwar@gmail.com> | |
# Contributer: Matt Zimmerman <mzimmerman@gmail.com> | |
pkgname=nessus | |
pkgver=6.1.2 | |
pkgrel=1 | |
_bigver=Nessus-$pkgver-fc20.x86_64.rpm | |
pkgdesc="Vulnerability scanner" | |
arch=('x86_64') |
This file contains 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
#!/bin/sh | |
for fname in $(seq 1 $1); do | |
echo "\"$fname\" : {" | |
echo "name : \"$fname\"," | |
echo "Weight : 50," | |
echo "Emails : []string {" | |
echo "}," | |
echo "}," | |
done |
This file contains 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" | |
) | |
func ipRange(str string) (net.IP, net.IP) { | |
_, mask, err := net.ParseCIDR(str) | |
if err != nil { |
This file contains 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
# Maintainer: frank AT apsu DOT be | |
pkgname=geoipupdate | |
pkgver=2.5.0 | |
pkgrel=1 | |
pkgdesc="Automatic updates of MaxMind GeoIP2 and GeoIP Legacy binary databases" | |
license=('GPL2') | |
arch=(i686 x86_64) | |
url="http://dev.maxmind.com/geoip/geoipupdate/" | |
depends=(curl) |