create an empty project and add a Gemfile
cd ~/Desktop
mkdir project-name
cd project-name
touch Gemfile| * { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| #reid p { | |
| font-size: 64px; | |
| color:white; | |
| display:table-cell; | |
| vertical-align:middle; | |
| width:100%; |
| const fib = (n, seq = [0, 1]) => | |
| n - 2 ? fib(n - 1, [...seq, seq.slice(-2).reduce((a, b) => a + b)]) : seq; | |
| fib(10); // 0, 1, 1, 2, 3, 5, 8, 13, 21, 34 |
| https://statici.icloud.com/fmipmobile/deviceImages-9.0/iPhone/iPhone9,4-2-3-0/online-infobox__3x.png | |
| A B C D E F G | |
| A: deviceImages version seems to determine the format of the image specifier (C, D, E, F) | |
| B: device marketing name | |
| C: device model identifier | |
| D: color cover glass (front color) | |
| 1 - Black | |
| 2 - White | |
| E: device enclosure color (back color) |
| // | |
| // Figma project stats | |
| // Pulls statistics like number of files, frames, versions etc for a project. | |
| // | |
| // Usage: | |
| // export FIGMA_API_ACCESS_TOKEN='your-token' | |
| // node figma-project-stats.js <project-id> | |
| // | |
| // You can generate tokens in your account settings or at | |
| // https://www.figma.com/developers/explorer#personal-access-token |
| // | |
| // TipsView.swift | |
| // Stonks | |
| // | |
| // Created by Paul Stamatiou on 7/3/20. | |
| // | |
| import SwiftUI | |
| import PlaygroundSupport |
| import SwiftUI | |
| import PlaygroundSupport | |
| struct ContentView: View { | |
| var body: some View { | |
| /*Terminal*/ | |
| VStack { | |
| // | |
| // Apple.swift | |
| // Playground | |
| // | |
| // Created by Navdeep Singh on 7/14/20. | |
| // | |
| import SwiftUI | |
| struct Apple: View { |
| import SwiftUI | |
| import PlaygroundSupport | |
| struct ContentView: View { | |
| @State var gradientAngle: Double = 0 | |
| let colors: [Color] = [ | |
| .pink, | |
| .red, | |
| .orange, |
| import SwiftUI | |
| import PlaygroundSupport | |
| struct whatsNewRow: View { | |
| var icon: String | |
| var title: String | |
| var description: String | |
| var body: some View { | |
| HStack (spacing: 24) { |