[![Swift][swift-badge]][swift-url] [![Zewo][zewo-badge]][zewo-url] [![Platform][platform-badge]][platform-url] [![License][mit-badge]][mit-url] [![Slack][slack-badge]][slack-url]
enum Example {
case First
case Second
}
enum AnotherExample {
case First
case Second
}
This file contains hidden or 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
| enum UnderlyingValue { | |
| case string(Stirng) | |
| case int(Int) | |
| case double(Double) | |
| case array([[String:AnyObject]]) | |
| case dictionary([String:AnyObject]]) | |
| var dictionary: [String:AnyObject] { | |
| return determinSelf<>([String: AnyObject]) | |
| } |
Error message:
error: unexpected character in cfg `[`, expected parens, a comma, an identifier, or a stringCargo.toml:
[package]
name = "rust_project"
version = "0.1.0"
This file contains hidden or 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
| from flask import Flask, render_template, request | |
| from src import database | |
| app = Flask() | |
| @app.route('/userBooks') | |
| def user_books(): | |
| #somehow get the username you might want to use the flask session? | |
| #this example is going ot assume that this route is a post request | |
| #with a form data | |
| username = request.form.get('username') |
This file contains hidden or 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
| const cp = require('child_process') | |
| const path = require('path'); | |
| const fs = require('fs'); | |
| const rng = require('crypto').randomBytes | |
| const prog = require('progress') | |
| function dd(infile, outfile, bytesize) { | |
| var inFileName = path.basename(infile); | |
| var outfilename = path.basename(outfile) | |
| var bar |
This file contains hidden or 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
| if (test-path "node_modules\.bin") { | |
| $env:path = "$env:path$pwd\node_modules\.bin;" | |
| } |
This file contains hidden or 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
| { | |
| "editorBracketMatch.border": "#FF5370", | |
| "editorBracketMatch.background": "#263238", | |
| "sideBar.border": "#80CBC4", | |
| "sideBar.foreground": "#80CBC4", | |
| "terminal.background": "#1E282C", | |
| "activityBar.border": "#FF5370", | |
| "activityBarBadge.background": "#80CBC4", | |
| "activityBarBadge.foreground": "#1E282C", |
This file contains hidden or 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
| extern crate toml; | |
| #[macro_use]extern crate serde_derive; | |
| use std::io::*; | |
| use std::path::{PathBuf}; | |
| use std::fs::{File}; | |
| use std::process::{Command, Stdio}; | |
| #[derive(Serialize, Deserialize)] |
This file contains hidden or 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
| [package] | |
| name = "wasm" | |
| version = "0.1.0" | |
| authors = ["FreeMasen"] | |
| [lib] | |
| crate-type = ["cdylib"] | |
| [dependencies] | |
| wasm-bindgen = "0" |
OlderNewer