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
------------------------ | |
XBMC Configuration: | |
------------------------ | |
Debugging: Yes | |
Profiling: No | |
Optimization: Yes | |
Crosscomp.: No | |
target ARCH: no | |
target CPU: no | |
OpenGL: Yes |
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
# This is the relevant configuration block. More can be supplied if needed. | |
location / { | |
try_files /srv/maintenance.html @site; | |
} | |
location @site { | |
# The site-apache upstream is defined and was working before this. Full config could be supplied if needed. | |
proxy_pass http://site-apache/; | |
} |
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
I am having issues with jQuery Autocomplete. I am modding it to | |
show two kinds of items: actual matches to the search string and | |
suggestions (speling corrections, related keywords etc). The | |
backend does all the work on that; the Autocomplete is just | |
fed two lists. | |
A picture can explain better: | |
http://shot.ninjaloot.se/20120412.141112.png | |
(the data is just rasta dummy data while developing, and the |
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/bash | |
# this is a simple config for herbstluftwm | |
function hc() { | |
herbstclient "$@" | |
} | |
hc emit_hook reload |
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 ( | |
"encoding/json" | |
"fmt" | |
) | |
// JSONDemo is a demo | |
type JSONDemo struct { | |
Foo [][2]float64 `json:"foo"` |