sh install-docker.sh
- log out
- log back in
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
module SdkHelper{ | |
export class IronSourceHelper{ | |
public static ironsource:Laya.IPlatformClass; | |
public static init(){ | |
if(!this.ironsource){ | |
this.ironsource = Laya.PlatformClass.createClass("sdkhelper.IronSourceHelper"); | |
} | |
let js1 = `window["IronSourceHelper"].onInterstitialReadyChange(%s)`; |
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
// https://xmanyou.com | |
// in app gradle file | |
android { | |
// ... | |
compileOptions { | |
sourceCompatibility JavaVersion.VERSION_1_8 | |
targetCompatibility JavaVersion.VERSION_1_8 | |
} | |
} |
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 sdkhelper; | |
import android.content.Context; | |
import android.util.Log; | |
import com.adjust.sdk.Adjust; | |
import org.json.JSONObject; | |
import java.util.ArrayList; |
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
// 影子工作室为你提供详细步骤 https://xmanyou.com/cocos-creator-open-file-box/ | |
const {ccclass, property} = cc._decorator; | |
@ccclass | |
export default class FileBox extends cc.Component { | |
// LIFE-CYCLE CALLBACKS: | |
@property | |
containerId = "_filebox_container_"; | |
@property |
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
sudo chown -R $(whoami) /usr/local/Cellar | |
sudo chown -R $(whoami) /usr/local/Homebrew | |
sudo chown -R $(whoami) /usr/local/var/homebrew | |
sudo chown -R $(whoami) ${HOME}/Library/Caches/Homebrew | |
sudo chown -R $(whoami) ${HOME}/Library/Logs/Homebrew | |
sudo chown -R $(whoami) /usr/local/etc | |
sudo chown -R $(whoami) /usr/local/opt | |
sudo chown -R $(whoami) /usr/local/bin | |
sudo chown -R $(whoami) /usr/local/var | |
sudo chown -R $(whoami) /usr/local/share/man/man1 |
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
FROM ubuntu:18.04 | |
LABEL maintainer="Peter Mescalchin <[email protected]>" | |
RUN sed --in-place --regexp-extended "s/(\/\/)(archive\.ubuntu)/\1au.\2/" /etc/apt/sources.list && \ | |
apt-get update && apt-get upgrade --yes |