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 unittest | |
| import subprocess | |
| from StringIO import StringIO | |
| class ProjectRequirementsSpec(unittest.TestCase): | |
| def parse_requirement(self, requirement): | |
| requirement = requirement.replace('\n', '') |
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
| # Path to your oh-my-zsh installation. | |
| export ZSH=$HOME/.oh-my-zsh | |
| # Set name of the theme to load. | |
| # Look in ~/.oh-my-zsh/themes/ | |
| # Optionally, if you set this to "random", it'll load a random theme each | |
| # time that oh-my-zsh is loaded. | |
| ZSH_THEME="muse" | |
| # Uncomment the following line to use case-sensitive completion. |
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
| buildscript { | |
| repositories { | |
| jcenter() | |
| } | |
| dependencies { | |
| classpath "de.undercouch:gradle-download-task:1.0" | |
| } | |
| } | |
| apply plugin: "download-task" |
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 android.util.Log; | |
| import com.squareup.leakcanary.AnalysisResult; | |
| import com.squareup.leakcanary.DisplayLeakService; | |
| import com.squareup.leakcanary.HeapDump; | |
| import retrofit.RestAdapter; | |
| import retrofit.RetrofitError; | |
| import retrofit.http.Multipart; | |
| import retrofit.http.POST; | |
| import retrofit.http.Part; | |
| import retrofit.mime.TypedFile; |
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
| Traceback (most recent call last): | |
| File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1475, in full_dispatch_request | |
| rv = self.dispatch_request() | |
| File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1461, in dispatch_request | |
| return self.view_functions[rule.endpoint](**req.view_args) | |
| File "/usr/local/lib/python3.4/dist-packages/newrelic-2.60.0.46/newrelic/hooks/framework_flask.py", line 30, in _nr_wrapper_handler_ | |
| return wrapped(*args, **kwargs) | |
| File "/api/services/playground/controllers/search.py", line 67, in test_unicode_stuff | |
| File "/usr/lib/python3.4/logging/__init__.py", line 1596, in info | |
| self.log(INFO, msg, *args, **kwargs) |
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
| codecov: | |
| branch: master | |
| bot: null | |
| coverage: | |
| precision: 2 | |
| round: down | |
| range: "70...100" | |
| status: |
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
| // Just a small snippet of an SDK | |
| public final class ChatSDK { | |
| private static final Handler sUIThreadHandler | |
| public static void connect(SDKConnectCallback handler) { | |
| // do some weird obfuscated internal SDK processing stuff here | |
| User user = connectAndGetUser(); | |
| if (sUIThreadHandler != null) { |
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 android.os.Bundle | |
| import androidx.appcompat.app.AppCompatActivity | |
| import androidx.lifecycle.Lifecycle | |
| import androidx.lifecycle.LifecycleObserver | |
| import androidx.lifecycle.LifecycleOwner | |
| import androidx.lifecycle.OnLifecycleEvent | |
| import io.reactivex.Flowable | |
| import io.reactivex.disposables.Disposable | |
| import io.reactivex.schedulers.Schedulers | |
| import timber.log.Timber |
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
| document.addEventListener('DOMContentLoaded', function() { | |
| $.ajax({ | |
| url: 'https://raw.githubusercontent.com/laCour/slack-night-mode/master/css/raw/black.css', | |
| success: function(css) { | |
| $("<style></style>").appendTo('head').html(css); | |
| } | |
| }); | |
| }); |
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
| #!/usr/bin/env bash | |
| mkdir -p /opt/android/sdk/licenses || true | |
| cp ./licenses/* /opt/android/sdk/licenses/ | |
| yes | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;28.0.3" |