Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Trent trent-dev

🏠
Working from home
View GitHub Profile
@tomchristie
tomchristie / put_as_create.py
Created Nov 3, 2014
PUT-as-create mixin class for Django REST framework.
View put_as_create.py
class AllowPUTAsCreateMixin(object):
"""
The following mixin class may be used in order to support PUT-as-create
behavior for incoming requests.
"""
def update(self, request, *args, **kwargs):
partial = kwargs.pop('partial', False)
instance = self.get_object_or_none()
serializer = self.get_serializer(instance, data=request.data, partial=partial)
serializer.is_valid(raise_exception=True)
@chris-piekarski
chris-piekarski / system_aosp_libs
Created Aug 4, 2014
Adding system shared lib to AOSP
View system_aosp_libs
See device/sample/frameworks/PlatformLibrary/README.txt
Platform Library Example
~~~~~~~~~~~~~~~~~~~~~~~~
This directory contains a full example of writing your own Android platform
shared library, without changing the Android framework. It also shows how to
write JNI code for incorporating native code into the library, and a client
application that uses the library.
@TSiege
TSiege / The Technical Interview Cheat Sheet.md
Last active Jul 6, 2020
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.
View The Technical Interview Cheat Sheet.md

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

View README.md
You can’t perform that action at this time.