Skip to content

Instantly share code, notes, and snippets.


crapthings crapthings

View GitHub Profile
View Preferences.sublime-settings
// Settings in here override those in "Default/Preferences.sublime-settings",
// and are overridden in turn by syntax-specific settings.
"font_face": "Fira Code",
"font_size": 16,
"font_options": [
// "gray_antialias"
"tab_size": 2,
View gist:8d2d0b23e6ae6da684767ac0e95c48b8
This file has been truncated, but you can view the full file.
View gist:18fe20fe7fbeb25007a88fd4ee3f06f8
to check if the server works -
crapthings / docker-compose.yml
Last active May 3, 2022
docker-compose rs init
View docker-compose.yml
version: '3'
hostname: mongo1
container_name: localmongo1
image: mongo
restart: always
- 27017
crapthings /
Created Apr 29, 2022
RUST 学习笔记
View 位置.js
module.exports = [
View _Self-Hosted-Kadira-APM-Docker-Compose

1 - Get an Ubuntu machine up and running (make sure ports 11011 and 4000 are open)

2 - Install docker + docker-compose (

3 - Get a docker-compose.yml with mongodb, kadira-ui, kadira-engine and kadira-rma (docker-compose.yml)

3 - Run "sudo docker-compose up" (-d if you want it running on background)

4 - Access http://machineIp:4000 and login as "" and "admin" password

5 - Create your APP, get the ID and Secret

6 - Setup kadira in your app by code or settings.json (Config)

7 - Update your app from "free" plan to "paid" to get full access at Kadira ([Update App Plan](

View gist:59e3d0cc415c02d7afede490b160c2b6

if (action.equals("openNotificationSettings")) {
            cordova.getActivity().runOnUiThread(new Runnable() {
                public void run () {
                    Context context = cordova.getActivity().getApplicationContext();
                    Intent intent = new Intent();
package cn.hhjjj.mobpush;
import android.os.Bundle;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.provider.Settings;
crapthings /
Last active Aug 23, 2020
semantic web best answer