Headless reinstall and update https://raspberrypi.stackexchange.com/a/57023
- create a text file in /boot/ called ssh
import React, { Component } from 'react' | |
import { StyleSheet, View } from 'react-native' | |
class App extends Component { | |
public render() { | |
return ( | |
<View style={styles.container} /> | |
) | |
} |
{ | |
"compilerOptions": { | |
/* Basic Options */ | |
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ | |
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | |
// "lib": [], /* Specify library files to be included in the compilation. */ | |
// "allowJs": true, /* Allow javascript files to be compiled. */ | |
// "checkJs": true, /* Report errors in .js files. */ | |
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ | |
// "declaration": true, /* Generates corresponding '.d.ts' file. */ |
{"lastUpload":"2020-09-24T08:55:48.760Z","extensionVersion":"v3.4.3"} |
# EditorConfig is awesome: http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf |
module.exports = { | |
"extends": ["airbnb-base"], | |
"parserOptions": { | |
"ecmaVersion": 2017, | |
"sourceType": "script", | |
"ecmaFeatures": { | |
"impliedStrict": true, | |
} | |
}, | |
"env": { |
<?php | |
/** | |
* wechat php test | |
* 2014/8/19 | |
*/ | |
//define your token | |
define("TOKEN", "weixin"); | |
$wechatObj = new wechatCallbackapiTest(); | |
$wechatObj->valid(); |
Headless reinstall and update https://raspberrypi.stackexchange.com/a/57023
# For more options and information see | |
# http://rpf.io/configtxt | |
# Some settings may impact device functionality. See link above for details | |
# uncomment if you get no picture on HDMI for a default "safe" mode | |
#hdmi_safe=1 | |
# uncomment this if your display has a black border of unused pixels visible | |
# and your display can output without overscan | |
#disable_overscan=1 |
#!/bin/sh | |
oldsuffix="js" | |
newsuffix="jsx" | |
dir=$(eval pwd) | |
for file in $(ls $dir | grep .${oldsuffix}) | |
do | |
name=$(ls ${file} | cut -d. -f1) | |
mv $file ${name}.${newsuffix} | |
done |
[user] | |
name = 杨俊宁 | |
email = 1003719811@qq.com | |
[color] | |
ui = auto | |
[credential] | |
helper = store | |
[http] | |
sslVerify = false | |
[filter "lfs"] |