curl -X POST \
https://oddconnect.com/api/connections \
-H 'accept: application/json' \
-H 'authorization: bearer your-org-token-here' \
-H 'content-type: application/json' \
This file contains 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.oddnetworks.oddnexttv.ui | |
import android.accounts.Account | |
import android.content.Intent | |
import android.graphics.drawable.Drawable | |
import android.os.Bundle | |
import androidx.leanback.app.BackgroundManager | |
import androidx.leanback.app.BrowseSupportFragment | |
import androidx.leanback.widget.* | |
import androidx.core.content.ContextCompat |
This file contains 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
c() { cd "$HOME/Projects/${*}"; } | |
_c() { | |
local cur=${COMP_WORDS[COMP_CWORD]} | |
COMPREPLY=($(compgen -W "$(find $HOME/Projects -mindepth 2 -maxdepth 2 -type d | cut -d/ -f5-)" -- $cur)) | |
} | |
complete -o nospace -F _c c |
This file contains 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
FROM elixir:1.4.5 as asset-builder-mix-getter | |
ENV HOME=/opt/app | |
RUN mix do local.hex --force, local.rebar --force | |
# Cache elixir deps | |
COPY config/ $HOME/config/ | |
COPY mix.exs mix.lock $HOME/ | |
COPY apps/myproject_web/mix.exs $HOME/apps/myproject_web/ | |
COPY apps/myproject_web/config/ $HOME/apps/myproject_web/config/ |
This file contains 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
defmodule ConnectWeb.Web.Plug.EnsureResourceType do | |
@moduledoc """ | |
This plug ensures that the current_resource's `__struct__` is of the expected type. | |
If one is not found, or is not the expected type, the handler module's `unauthenticated/2` method is called. | |
If a handler is not defined, a `ConnectWeb.Web.Unauthenticated` exception is raised instead. | |
## Example |
This file contains 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
<application | |
android:allowBackup="true" | |
android:icon="@mipmap/ic_launcher" | |
android:label="@string/app_name" | |
android:roundIcon="@mipmap/ic_launcher_round" | |
android:supportsRtl="true" | |
android:theme="@style/AppTheme" | |
android:networkSecurityConfig="@xml/network_security_config"> |
I hereby claim:
- I am brkattk on github.
- I am brkattk (https://keybase.io/brkattk) on keybase.
- I have a public key whose fingerprint is 7531 6C14 B49A 8E95 6FA5 37FD 82A6 B975 8062 3E2A
To claim this, I am signing this object:
Getting Dropbox to use an icon in Elementary Luna
-
Save
start-dropbox.sh
to a directory. -
Ensure
start-dropbox.sh
is executable. -
Place
dropbox-better.desktop
in~/.config/autostart
. -
Ensure
Exec=
line ofdropbox-better.desktop
is an absolute path to wherever you placedstart-dropbox.sh
.
This file contains 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
/* global describe, beforeAll, it, expect */ | |
/* eslint prefer-arrow-callback: 0 */ | |
/* eslint-disable max-nested-callbacks */ | |
'use strict'; | |
const JSONSchemaValidator = require('jsonschema').Validator; | |
const Validator = new JSONSchemaValidator(); | |
const MockExpressResponse = require('mock-express-response'); | |
const jsonApiSchema = require('../support/jsonapi-schema.json'); | |
const responseJsonApi = require('../../lib/middleware/response-json-api'); |
This file contains 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
## This file is automatically generated by Android Studio. | |
# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | |
# | |
# This file should *NOT* be checked into Version Control Systems, | |
# as it contains information specific to your local configuration. | |
# | |
# Location of the SDK. This is only used by Gradle. | |
# For customization when using a Version Control System, please read the | |
# header note. | |
sdk.dir=/Users/brkattk/Library/Android/sdk |
NewerOlder