Skip to content

Instantly share code, notes, and snippets.

View jim's full-sized avatar

Jim Benton jim

  • Discord
  • Chicago, IL
  • 14:06 (UTC -05:00)
View GitHub Profile
#--
# Copyright (c) 2004-2010 David Heinemeier Hansson
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
SC.Statechart.create({
rootState: SC.State.design({
initialSubstate: 'ready',
ready: SC.State.design({
initialSubstate: 'simple',
@jim
jim / example.go
Created March 27, 2018 17:19
nil struct fields
package main
import "fmt"
type Bread struct {
name string
}
type Cheese struct {
milk string
<html>
</html>
Google doesn't publish this list on the web; you have to go through the command line or API to get it.
┌─────────────────────┬────────────────────┬──────────────────────────────────────────┬──────────┬─────────────┬─────────────────────────┬──────────────────┐
│ MODEL_ID │ MAKE │ MODEL_NAME │ FORM │ RESOLUTION │ OS_VERSION_IDS │ TAGS │
├─────────────────────┼────────────────────┼──────────────────────────────────────────┼──────────┼─────────────┼─────────────────────────┼──────────────────┤
│ 1610 │ Vivo │ vivo 1610 │ PHYSICAL │ 1280 x 720 │ 23 │ │
│ ASUS_X00T_3 │ Asus │ ASUS_X00TD │ PHYSICAL │ 1080 x 2160 │ 27,28 │ │
│ AmatiTvEmulator │ Google │ Google TV Amati │ VIRTUAL │ 1080 x 1920 │ 29