KiCAD Layer Name | Gerber Name | Gerber Extension |
---|---|---|
F.Cu | Top Layer | .gtl |
B.Cu | Bottom Layer | .gbl |
F.Paste | Top Paste | .gtp |
F.SilkS | Top Overlay (silk screen) | .gto |
B.SilkS | Bottom Overlay (silk screen) | .gbo |
F.Mask | Top Solder Resist | .gts |
B.Mask | Bottom Solder Resist | .gbs |
Edge.Cuts | Edges (board outline) | .gm1 |
Strip extension (source)
Example: foo.png => foo
for file in *.png; do
echo $(basename $file .png)
done;
or
This file contains 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
import JSData from 'js-data'; | |
import DSHttpAdapter from 'js-data-http'; | |
import sinon from 'sinon'; | |
describe("fakeServer", function() { | |
beforeEach(function() { | |
this.server = sinon.fakeServer.create(); | |
// this.server.autoRespond = true; | |
// this.respondImmediately = true; |
This file contains 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
getElementsWithStyle('border.*radius'); | |
getElementsWithStyle('box-shadow'); |
This file contains 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
import StringIO | |
import struct | |
def getImageInfo(data): | |
data = str(data) | |
size = len(data) | |
height = -1 | |
width = -1 | |
content_type = '' |
This file contains 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 google.appengine.ext import db | |
from flask import flash, url_for, redirect, request | |
from flask.views import View | |
from flaskext.wtf import Form | |
from wtforms.ext.appengine.db import model_form | |
from application.decorators import templated |
This file contains 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
#!/usr/bin/env python | |
""" | |
A simple echo server | |
""" | |
import socket | |
host = '' | |
port = 50000 |
This file contains 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
@ECHO OFF | |
set DNS_IP= | |
set /P DNS_IP=DNS server ip address: %=% | |
echo Setting DNS server... | |
netsh interface ip set dns "Local Area Connection 9" static %DNS_IP% |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head><script type="text/javascript">var NREUMQ=NREUMQ||[];NREUMQ.push(["mark","firstbyte",new Date().getTime()]);</script> | |
<link href='/static/bootstrap/css/bootstrap.css' rel='stylesheet' type='text/css' /> | |
<link href='/static/wysihtml5/bootstrap-wysihtml5.css' rel='stylesheet' type='text/css' /> | |
</head> | |
<body> | |
... | |
<script src="/static/wysihtml5/wysihtml5-0.3.0.min.js"></script> |
This file contains 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_sqlalchemy import SQLAlchemy | |
from flask_script import Manager, prompt_bool | |
import application.models | |
db = SQLAlchemy() | |
manager = Manager("Perform database operations") | |
@manager.command | |
def drop(): |