Python3 Virtualenv Setup
Requirements
- Python 3
- Pip 3
$ brew install python3
import Head from 'next/head'; | |
import { useState, useEffect } from 'react'; | |
import 'tailwindcss/tailwind.css'; | |
import DashboardLayout from '../dashboard/layout'; | |
import { createClass } from 'asteroid'; | |
function MyApp({ Component, pageProps }) { | |
// HELLOZ | |
useEffect(() => { |
import Head from 'next/head'; | |
import { useState, useEffect } from 'react'; | |
import 'tailwindcss/tailwind.css'; | |
import DashboardLayout from '../dashboard/layout'; | |
// import you astroid. | |
import { createClass } from 'asteroid'; | |
function MyApp({ Component, pageProps }) { | |
// Import and Initiate your DDP connection within React's useEffect | |
useEffect(() => { |
version: '3' | |
services: | |
couchserver: | |
image: couchdb | |
restart: always | |
ports: | |
- "5984:5984" | |
environment: | |
- COUCHDB_USER=admin | |
- COUCHDB_PASSWORD=YOURPASSWORD |
module.exports = { | |
purge: [ | |
"./client/**/*.html", | |
"./client/**/*.vue", | |
"./client/**/*.jsx", | |
"./client/**/*.js", | |
"./imports/ui/**/*.js", | |
"./imports/ui/**/*.jsx" | |
], | |
darkMode: 'class', // or 'media' or 'class' |
import 'package:flutter/material.dart'; | |
import 'package:enhanced_meteorify/enhanced_meteorify.dart'; | |
// Meteor connect | |
void connectWS() async { | |
try { | |
var status = await Meteor.connect('ws://localhost:3000/websocket'); | |
print('Subscribed at: ws://localhost:3000/websocket'); | |
subPosts(); | |
} catch (error) { |
<head> | |
<title>meteor-exp</title> | |
</head> | |
<body> | |
{{> camera}} | |
</body> | |
<template name="camera"> | |
<video id="video" width="800" height="600" | |
autoplay></video> | |
</template> |
$ brew install python3
import * as path from 'path'; | |
var absoluteBasePath = path.resolve(process.cwd(), '../../../../../'); | |
var absoluteBasePath = path.resolve(process.cwd()).split(path.sep + '.meteor')[0]; | |
import SwiftUI | |
import CoreData | |
let appTransactionAuthorName = "app" | |
@main | |
struct ZenJournalApp: App { | |
var body: some Scene { | |
WindowGroup { |
from django.contrib import admin | |
from polls.models import Poll, Choice | |
from django.contrib.auth.models import User | |
from django.contrib.admin import AdminSite | |
from polls.views import index | |
class MyAdminSite(AdminSite): |