See also, http://libraryofalexandria.io/cgo/
cgo has a lot of trap.
but Not "C" pkg also directory in $GOROOT/src. IDE's(vim) Goto command not works.
So, Here collect materials.
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| import lxml.etree | |
| import lxml.html | |
| import requests | |
| xml_sample = """<?xml version="1.0" encoding="UTF-8"?> | |
| <foo:Results xmlns:foo="http://www.foo.com" xmlns="http://www.bah.com"> | |
| <foo:Recordset setCount="2"> |
| from flask import Flask, jsonify, request | |
| from flask_sqlalchemy import SQLAlchemy | |
| import uuid | |
| app = Flask(__name__) | |
| db = SQLAlchemy(app) | |
| app.config['SECRET_KEY']='secret' | |
| app.config['SQLALCHEMY_DATABASE_URI']='sqlite:///app.db' |
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
| /* Becky Button. This code is made such that the motor 1 (m1p1 m1p2) is on the left and Motor 2 (m2p1, m2p2) is on the right. | |
| I will be posting an instructables soon on how to make this work, with all of the schematics and such.*/ | |
| int m1Pin1 = 3; // pin 2 on L293D IC | |
| int m1Pin2 = 4; // pin 7 on L293D IC | |
| int enablePinm1 = 5; // pin 1 on L293D IC | |
| int m2Pin1 = 6; | |
| int m2Pin2 = 7; |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| int main() | |
| { | |
| printf("Unicorns are cool \n"); | |
| printf("Einstein is old \a"); | |
| return 0; | |
See also, http://libraryofalexandria.io/cgo/
cgo has a lot of trap.
but Not "C" pkg also directory in $GOROOT/src. IDE's(vim) Goto command not works.
So, Here collect materials.