https://gist.github.com/search?q=user%3A%40me&ref=searchresults
Uses @me to refer to itself in the gist search query.
Type this into Github Gist Search (https://gist.github.com/)
user:BoQsc your search query
| package main | |
| import ( | |
| "encoding/json" | |
| "io" | |
| "log" | |
| "net/http" | |
| "os" | |
| "github.com/go-redis/redis" |
| /* | |
| * winlang.h | |
| * | |
| * Language Identifier Constants and Strings for Microsoft Windows | |
| * | |
| * Extracted from: | |
| * https://docs.microsoft.com/en-us/windows/desktop/Intl/language-identifier-constants-and-strings | |
| * | |
| * Disclaimer: As the data below was extracted from Microsoft website, I'm NOT | |
| * responsible for any geo-political issues that may come from their sorting |
https://gist.github.com/search?q=user%3A%40me&ref=searchresults
Uses @me to refer to itself in the gist search query.
Type this into Github Gist Search (https://gist.github.com/)
user:BoQsc your search query
# make sure to replace `<hash>` with your gist's hash
git clone https://gist.github.com/<hash>.git # with https
git clone [email protected]:<hash>.git # or with ssh| package main | |
| import ( | |
| "fmt" | |
| "image" | |
| "image/color" | |
| "image/gif" | |
| "math" | |
| "os" | |
| ) |
| func openbrowser(url string) { | |
| var err error | |
| switch runtime.GOOS { | |
| case "linux": | |
| err = exec.Command("xdg-open", url).Start() | |
| case "windows": | |
| err = exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start() | |
| case "darwin": | |
| err = exec.Command("open", url).Start() |
An ongoing project to catalogue all of these sneaky, hidden, bleeding edge selectors as I prepare my JSConf EU 2012 talk.
Everything is broken up by tag, but within each the selectors aren't particularly ordered.
I have not tested/verified all of these. Have I missed some or got it wrong? Let me know. - A
A friendly reminder that you may need to set this property on your target/selected element to get the styling results you want:
-webkit-appearance:none;
| /* | |
| This is very useful and smoother (feels like at least) when you want to do something like live updates on the UI or something (thinking Windows 8 UI styling?) | |
| */ | |
| (function better(){ | |
| //logic here | |
| setTimeout(better, 100); | |
| })(); |