Skip to content

Instantly share code, notes, and snippets.

@haiyamicode
haiyamicode / dfdf
Created June 24, 2014 06:34
sdfsdf
<html><head>
<title>Wade Home</title>
</head>
<body>
<script type="text/wadin" id="wade-content">
<wimport src="/public/pages.html"></wimport>
<wimport src="/public/elements.html"></wimport>
</script>
<wpage><strong>sdfsdf</strong></wpage>

github.com/pengux/check/check.go: line 134 change to:

func (e StructError) ToMessages() map[string]map[string]string {

github.com/gopherjs/jquery.go: line 56 change to:

Length   int   `js:"length"`
o = reflect.NewAt(reflect.TypeOf(jso.Interface()), unsafe.Pointer(jso.Unsafe())).Elem()
println(o.FieldByName(field).CanInterface()) //It returns true
println(o.FieldByName(field).Interface()) //Uncaught TypeError: Cannot read property 'constructor' of undefined
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <stdlib.h>
#include <stdio.h>
#include <fstream>
#include <unistd.h>
#include <iostream>
using namespace std;
#version 130
uniform sampler2D u_texture;
//uniform vec2 g_Resolution;
varying vec2 Texcoord;
out vec4 outColor;
#define FXAA_PC 1
#define FXAA_GLSL_130 1
#define FXAA_GREEN_AS_LUMA 1
#define FXAA_QUALITY__PRESET 39
2014/05/30 18:48:55 -------------------------------------------------------
2014/05/30 18:48:55 Import path "fmt" was not resolved
2014/05/30 18:48:55 Gocode's build context is:
2014/05/30 18:48:55 GOROOT: /usr/local/go
2014/05/30 18:48:55 GOPATH: /home/phaikawl/Dev/go
2014/05/30 18:48:55 GOOS: linux
2014/05/30 18:48:55 GOARCH: 386
2014/05/30 18:48:55 lib-path: ""
2014/05/30 18:48:55 Import path "reflect" was not resolved
2014/05/30 18:48:55 Gocode's build context is:
if user := gSiteData.User(); user == nil {
http.Get(serverUrl("/auth")).Success(func(user model.User, status int) {
gSiteData.SetUser(user)
})
} else {
return user
}
"use strict";
(function() {
Error.stackTraceLimit = -1;
var go$reservedKeywords = ["abstract", "arguments", "boolean", "break", "byte", "case", "catch", "char", "class", "const", "continue", "debugger", "default", "delete", "do", "double", "else", "enum", "eval", "export", "extends", "false", "final", "finally", "float", "for", "function", "goto", "if", "implements", "import", "in", "instanceof", "int", "interface", "let", "long", "native", "new", "package", "private", "protected", "public", "return", "short", "static", "super", "switch", "synchronized", "this", "throw", "throws", "transient", "true", "try", "typeof", "var", "void", "volatile", "while", "with", "yield"];
var go$global;
if (typeof window !== "undefined") {
go$global = window;