Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| import SwiftUI | |
| import CoreData | |
| let appTransactionAuthorName = "app" | |
| @main | |
| struct ZenJournalApp: App { | |
| var body: some Scene { | |
| WindowGroup { |
| package main | |
| import ( | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/rand" | |
| "encoding/hex" | |
| "flag" | |
| "fmt" | |
| "io" |
| Getting started: | |
| 1. Follow this tutorial: https://github.com/AssemblyScript/assemblyscript/wiki/Hello-World to get your environment setup | |
| 2. Change the scripts section of your package.json to the one provided in this gist (the only real difference is the --use abort= tag). | |
| 3. Use the module.ts provided in this gist for your module source (in the assembly directory). | |
| 4. "npm run build" will create your binaries (perhaps you have to mkdir build first though). | |
| 5. Uploading to eos requires an abi file, using one of another contract is completely fine though, as our contract does not use any action data. | |
| => After uploading the abi together with build/untouched.wasm you can push an action to your contract and Hello, World! will be printed. |
| #Get a release here https://github.com/google/protobuf/releases | |
| sudo -s | |
| cd /usr/local/include | |
| mkdir google | |
| wget https://github.com/google/protobuf/releases/download/v3.5.0/protoc-3.5.0-linux-x86_64.zip -O protoc.zip | |
| unzip protoc.zip -d tmp |
If you get this error when open neovim:
$ nvim
MatchTagAlways unavailable: requires python.
Press ENTER or type command to continue
Try to install neovim package:
| query IntrospectionQuery { | |
| __schema { | |
| queryType { name } | |
| mutationType { name } | |
| subscriptionType { name } | |
| types { | |
| ...FullType | |
| } | |
| directives { |
Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.
All files were downloaded from https://cdnjs.com and named accordingly.
Output from ls command is stripped out (irrelevant stuff)
$ ls -lhS
566K Jan 4 22:03 angular2.min.js
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "time" | |
| ) | |
| // Fake a long and difficult work. | |
| func DoWork() { |