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
50 | |
oooooooooooooooooooooooooooooooooooooooooooooooooo | |
oooooooooooooooooooooooooooooooooooooooooooooooooo | |
oooooooooooooooooooooooooooooooooooooooooooooooooo | |
ooooooooooooooooooooooooo*oooooooooooooooooooooooo | |
ooooooooooooooooooooooooo****ooooooooooooooooooooo | |
ooooooooo*oooooooooooooooo****ooooo**ooooooooooooo | |
oooooooo*o*ooooo**oooooooo*oo*ooooo**ooooooooooooo | |
o**ooo**ooo*oooooooooooooo****oooooooooooooooooooo | |
o**ooo**ooo*oooo*o*o**ooo****ooooooooooooooooooooo |
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
In file included from ../src/widget/form/profileform.cpp:17: | |
../../qtox/src/core/core.h:236:62: error: unknown type name 'TOX_MESSAGE_TYPE' | |
static void onFriendMessage(Tox* tox, uint32_t friendId, TOX_MESSAGE_TYPE type, | |
^ | |
../../qtox/src/core/core.h:243:66: error: unknown type name 'TOX_USER_STATUS'; did you mean 'TOX_USERSTATUS'? | |
static void onUserStatusChanged(Tox* tox, uint32_t friendId, TOX_USER_STATUS userstatus, void* core); | |
^~~~~~~~~~~~~~~ | |
TOX_USERSTATUS | |
../libs/include/tox/tox.h:78:1: note: 'TOX_USERSTATUS' declared here | |
TOX_USERSTATUS; |
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
<% parent "base.html" %> | |
<% begin head %> | |
<% begin title %>(<% (alert_count) %>) Home / Sitename<% end title %> | |
<% end head %> | |
<% begin head %> | |
<h1>Hello, <% (name) %></h1> | |
<% end head %> |
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
[tucnak@atlantis:src]$ go version | |
go version go1.4.2 darwin/amd64 | |
[tucnak@atlantis:src]$ go env | |
GOARCH="amd64" | |
GOBIN="" | |
GOCHAR="6" | |
GOEXE="" | |
GOHOSTARCH="amd64" | |
GOHOSTOS="darwin" |
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
// Some numbers, please! | |
numbers := []int{1, 2, 3, 4, 5} | |
log(numbers) // 1. [1 2 3 4 5] | |
log(numbers[2:]) // 2. [3 4 5] | |
log(numbers[1:3]) // 3. [2 3] | |
// Fun fact: you can’t use negative indices! | |
// | |
// numbers[:-1] from Python won’t work. Instead, |
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 "fmt" | |
type MagicError struct{} | |
func (MagicError) Error() string { | |
return "[Magic]" | |
} |
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 "fmt" | |
func Secret() (int, error) { | |
return 42, nil | |
} | |
func main() { | |
number := 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
package main | |
import ( | |
"fmt" | |
"strconv" | |
) | |
type FancyInt int | |
func (x FancyInt) String() string { |
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 "fmt" | |
func main() { | |
numbers := []int{0, 1, 2, 3, 4} | |
for _, number := range numbers { | |
number++ | |
} |
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
diff --git a/application.go b/application.go | |
index 3bf7d8f..6226dd2 100644 | |
--- a/application.go | |
+++ b/application.go | |
@@ -3,7 +3,6 @@ package climax | |
import ( | |
"fmt" | |
"os" | |
- "strings" | |
) |
OlderNewer