When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>My Angular from Scratch</title> | |
| <style> | |
| .my-component { | |
| font-family: Arial, sans-serif; |
| #!/usr/bin/env python | |
| import math | |
| import sys | |
| from moviepy.editor import AudioClip, VideoFileClip, concatenate_videoclips | |
| # Get average RGB of part of a frame. Frame is H * W * 3 (rgb) | |
| # Assumes x1 < x2, y1 < y2 |
| import bs4 as bs | |
| import urllib.request | |
| import re | |
| import nltk | |
| #Install beautifulsoup | |
| #Article this is from: | |
| #https://stackabuse.com/text-summarization-with-nltk-in-python/ | |
| #NLTK help: | |
| #https://stackoverflow.com/questions/4867197/failed-loading-english-pickle-with-nltk-data-load |
To install the needed components you can use Homebrew
React Native lets you build mobile apps using only JavaScript. It uses the same design as React, letting you compose a rich mobile UI from declarative components.
https://facebook.github.io/react-native/
It depends on what project you are going to build. As for front-end developer, you nearly need to learn nothing, only a new way to write javascript (Redux, JSX).
| #!/usr/bin/env bash | |
| set -e | |
| main() { | |
| previous_file="$1" | |
| file_to_edit=`select_file $previous_file` | |
| if [ -n "$file_to_edit" ] ; then | |
| "$EDITOR" "$file_to_edit" | |
| main "$file_to_edit" |
| import React from 'react'; | |
| import { StyleSheet, Text, View } from 'react-native'; | |
| import { Util } from 'expo' | |
| export default class App extends React.Component { | |
| state = { | |
| updated: false, | |
| } | |
| componentWillMount() { | |
| Util.addNewVersionListenerExperimental(() => { |
| #include <assert.h> | |
| #include <chrono> | |
| #include <embedder.h> | |
| #include <glfw3.h> | |
| #include <iostream> | |
| static_assert(FLUTTER_ENGINE_VERSION == 1, ""); | |
| static const size_t kInitialWindowWidth = 800; |