This file contains hidden or 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
| import requests | |
| cookie = 'sessionid=PUT_YOUR_SESSIONID_HERE' | |
| rooms_url = 'https://www.zosia.org/rooms/list.json' | |
| room_url = 'https://www.zosia.org/rooms/modify/' | |
| student_to_room_map = {} | |
| def get_rooms(): |
This file contains hidden or 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
| -dontwarn javax.annotation.** | |
| -dontwarn javax.inject.** | |
| -dontwarn sun.misc.Unsafe | |
| -keep class com.google.j2objc.annotations.** { *; } | |
| -dontwarn com.google.j2objc.annotations.** | |
| -keep class java.lang.ClassValue { *; } | |
| -dontwarn java.lang.ClassValue | |
| -keep class org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement { *; } | |
| -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement |
This file contains hidden or 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 com.mgr.utils.couch | |
| import com.twitter.finagle.builder.ClientBuilder | |
| import com.twitter.finagle.http.Http | |
| import net.liftweb.json | |
| import com.mgr.utils.logging.Logging | |
| final case class BulkDoc[T <: Document](docs: Seq[T]) |
This file contains hidden or 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
| // html | |
| <a class="event" tabindex="0" role="button"></a> | |
| // js | |
| var options = { | |
| content: '<div>Some text <div class="pull-right closeon">x</div></div>', | |
| placement: 'top', | |
| trigger: 'manual', |
This file contains hidden or 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 storage | |
| import ( | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| "os" | |
| "code.google.com/p/goauth2/oauth/jwt" |
This file contains hidden or 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
| """ | |
| Django model form mixins depending on type of data | |
| """ | |
| import json | |
| from django.conf import settings | |
| settings.configure() | |
| from django import forms |
This file contains hidden or 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
| """ | |
| Mix in fields to django model form. | |
| """ | |
| from django.conf import settings | |
| settings.configure() | |
| from django import forms | |
| from django.db import models |