Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
🇰🇵我们晚上去

crapthings crapthings

😎
🇰🇵我们晚上去
View GitHub Profile
View gist:7fcd74225cdf9ba0eee77b490f68b078
#
思考框架文档
问题:_________________________
1. 定义问题:
在这一部分,我们将明确问题的核心,并确保对问题有一个清晰明确的理解。
View tut.md
  • 暂不介绍后端渲染 ssr

  • 不介绍 react 早期 类写法

class Something extends React.Component {
  constructor () {

  }
View p5tree.jsx
import { useEffect, useRef } from 'react'
export default function Ani ({ parentContainerRef, className }) {
const canvasRef = useRef()
useEffect(() => {
const parentContainer = parentContainerRef?.current
if (!parentContainer) return
@crapthings
crapthings / Preferences.sublime-settings
Last active July 29, 2022 02:37
sublime text 4 settings
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": [
"subpixel_antialias",
// "gray_antialias"
],
"tab_size": 2,
View 位置.js
module.exports = [
{
"x":1,
"y":7,
"d":7
},
{
"x":2,
"y":8,
"d":7
@crapthings
crapthings / gist:59e3d0cc415c02d7afede490b160c2b6
Last active August 26, 2020 02:11
android oppo 推送相关
View gist:59e3d0cc415c02d7afede490b160c2b6

https://blog.csdn.net/zhongshanyishi/article/details/80619101

if (action.equals("openNotificationSettings")) {
            cordova.getActivity().runOnUiThread(new Runnable() {
                @Override
                public void run () {
                    Context context = cordova.getActivity().getApplicationContext();
                    Intent intent = new Intent();
 intent.setAction(Settings.ACTION_APP_NOTIFICATION_SETTINGS);
View NotificationsUtils.java
package cn.hhjjj.mobpush;
import android.os.Bundle;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.provider.Settings;
@crapthings
crapthings / Ontology.md
Last active August 23, 2020 04:37
semantic web best answer