This file contains 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
translucent gradient c4d octane render Rounded rectangle button on the front,playrix,Q,cute,bright,Translucent glass texture green button, high saturation bright green, writing substance,realistic painting style,8k, concept art, artstation glass rectangular soap smooth surface rounded corners transparent ios16 theme style icon, glass mobile phone butler shield 3D design, elegant color, simple fashion, laboratory style, nice color, fine details, 4K HD, 3D rendering, laboratory glass, 10 ICONS front of view transparent cubes made by metalic degrade pink blue green gold crystal, soft light , 8k octane render, realistic, detailed award winning, 3D render logo, Apple design, logo design, high end logo, tech, iridescent colors, sleek, reflective surface Iridescent glass supercomputer, mysterious light abstract geometric object, glass, black background 3 abstract colorful glass balls interconneccting and creating one giant sphere, glass reflections, high quality, 4k, hyper realistic. desktop app icon, web browser, 3 |
This file contains 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
extension Bundle { | |
public func decode<T: Decodable>(_ type: T.Type, | |
from file: String, | |
dateDecodingStategy: JSONDecoder.DateDecodingStrategy = .deferredToDate, | |
keyDecodingStrategy: JSONDecoder.KeyDecodingStrategy = .useDefaultKeys) -> T { | |
guard let url = self.url(forResource: file, withExtension: nil) else { | |
fatalError("Failed to locate \(file) in bundle.") | |
} | |
guard let data = try? Data(contentsOf: url) else { | |
fatalError("Failed to load \(file) from bundle.") |
This file contains 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
#!/bin/bash | |
for i in {1..5} | |
do | |
echo "Welcome $i times" | |
node ./download.js | |
md5 2.zip | |
rm 2.zip | |
echo "=========end $i ========" | |
done |
This file contains 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
PandasLearning |
This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).
This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)
- Installing Homebrew is effortless, open Terminal and enter :
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
- HTTP 形式:
git clone https://github.com/owner/git.git
- SSH 形式:
git clone [email protected]:owner/git.git
This file contains 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
platform :ios, '9.0' | |
target :bee_shell do | |
# React Native libraries | |
pod 'React', :path => '../node_modules/react-native', :subspecs => [ | |
'Core', | |
'CxxBridge', # Include this for RN >= 0.47 | |
'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43 | |
'RCTText', | |
'RCTNetwork', |
This file contains 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
let existed = []; | |
function deepcopy(d) { | |
let result = Array.isArray(d) ? [] : {}; | |
const keys = Object.keys(d); | |
if(keys && keys.length > 0) { | |
keys.forEach( key => { | |
result[key] = deepcopy(d[key]); | |
}) | |
} else { | |
console.log(d) |
This file contains 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
/** | |
* mengqian02 20170615 | |
*/ | |
import React, { Component } from 'react'; | |
import { | |
StyleSheet, | |
View, | |
Text, | |
TouchableOpacity, | |
} from 'react-native'; |
NewerOlder