Skip to content

Instantly share code, notes, and snippets.

View youngjuning's full-sized avatar
💭
I may be slow to respond.

紫升 youngjuning

💭
I may be slow to respond.
View GitHub Profile
@youngjuning
youngjuning / 边框半透明、内容透明.ts
Created June 26, 2019 01:41
边框半透明、内容透明
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. */
@youngjuning
youngjuning / cloudSettings
Last active September 24, 2020 08:55
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-09-24T08:55:48.760Z","extensionVersion":"v3.4.3"}
@youngjuning
youngjuning / .editorconfig
Created December 29, 2018 08:40
EditorConfig
# 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
@youngjuning
youngjuning / .eslintrc.js html
Last active December 29, 2018 07:55
airbnb-base-eslintrc
module.exports = {
"extends": ["airbnb-base"],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "script",
"ecmaFeatures": {
"impliedStrict": true,
}
},
"env": {
@youngjuning
youngjuning / wx_sample.php
Created December 2, 2018 06:55
wx_sample.php
<?php
/**
* wechat php test
* 2014/8/19
*/
//define your token
define("TOKEN", "weixin");
$wechatObj = new wechatCallbackapiTest();
$wechatObj->valid();
@youngjuning
youngjuning / setup.md
Created November 22, 2018 05:29 — forked from davidbradway/setup.md
Set Up Docker On Raspberry Pi Raspbian Stretch Lite
@youngjuning
youngjuning / config.txt
Created November 22, 2018 01:45
树莓派配置文件
# 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
@youngjuning
youngjuning / jsx.sh
Created October 20, 2018 02:40
js-jsx.sh
#!/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
@youngjuning
youngjuning / .gitconfig
Last active October 21, 2018 05:31
.gitignore
[user]
name = 杨俊宁
email = [email protected]
[color]
ui = auto
[credential]
helper = store
[http]
sslVerify = false
[filter "lfs"]