Skip to content

Instantly share code, notes, and snippets.

View elena's full-sized avatar

Elena Williams elena

View GitHub Profile
@Hispar
Hispar / type.py
Created October 9, 2018 08:28
Working with django money and django graphene
import graphene
from graphene_django import DjangoObjectType
class Money(graphene.Scalar):
@staticmethod
def serialize(value):
return value
@staticmethod
def parse_literal(node):
@jatcwang
jatcwang / gist:ae3b7019f219b8cdc6798329108c9aee
Created February 2, 2017 23:44
List of all setxkbmap configuration options (including models/layout/etc)
! model
pc101 Generic 101-key PC
pc102 Generic 102-key (Intl) PC
pc104 Generic 104-key PC
pc105 Generic 105-key (Intl) PC
dell101 Dell 101-key PC
latitude Dell Latitude series laptop
dellm65 Dell Precision M65
everex Everex STEPnote
flexpro Keytronic FlexPro
@DaniSancas
DaniSancas / neo4j_cypher_cheatsheet.md
Created June 14, 2016 23:52
Neo4j's Cypher queries cheatsheet

Neo4j Tutorial

Fundamentals

Store any kind of data using the following graph concepts:

  • Node: Graph data records
  • Relationship: Connect nodes (has direction and a type)
  • Property: Stores data in key-value pair in nodes and relationships
  • Label: Groups nodes and relationships (optional)
@GerardoFurtado
GerardoFurtado / aust.json
Last active April 2, 2024 03:30
Australia map
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.