| Command | Format | Description |
|---|---|---|
| ^A | ^Afo,h,w,d:f.x | Use Scalable/Bitmapped Font |
| ^A@ | ^A@o,h,w,d:f.x | Use Font Name to Call Font |
| ^B0 | ^B0a,b,c,d,e,f,g | Aztec Bar Code Parameters |
| ^B1 | ^B1o,e,h,f,g | Code 11 Bar Code |
| ^B2 | ^B2o,h,f,g,e,j | Interleaved 2 of 5 Bar Code |
| ^B3 | ^B3o,e,h,f,g | Code 39 Bar Code |
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
| #!/usr/bin/node | |
| const Promise = require('bluebird') | |
| const config = require('./config.json') | |
| const knex = require('./lib/knex')(config.database).connection() | |
| const mock = () => ({ user_id: Math.floor(Math.random() * 999) + 1, payload_type: 'foo', attributes: JSON.stringify({}) }) | |
| const before = (t) => { |
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
| ############################## | |
| ## Java | |
| ############################## | |
| .mtj.tmp/ | |
| *.class | |
| *.jar | |
| *.war | |
| *.ear | |
| *.nar | |
| hs_err_pid* |
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
| var restify = require('restify') | |
| , port = process.env.PORT || 3000 | |
| , Phantom = require('phantom') | |
| , tmpdir = require('os').tmpdir() | |
| , fs = require('fs'); | |
| var server = restify.createServer(); | |
| function setResponseHeaders(res, filename) { | |
| res.header('Content-disposition', 'inline; filename=' + filename); |
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
| """making a dataframe""" | |
| df = pd.DataFrame([[1, 2], [3, 4]], columns=list('AB')) | |
| """quick way to create an interesting data frame to try things out""" | |
| df = pd.DataFrame(np.random.randn(5, 4), columns=['a', 'b', 'c', 'd']) | |
| """convert a dictionary into a DataFrame""" | |
| """make the keys into columns""" | |
| df = pd.DataFrame(dic, index=[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
| /** | |
| * Convert From/To Binary/Decimal/Hexadecimal in JavaScript | |
| * https://gist.github.com/faisalman | |
| * | |
| * Copyright 2012-2015, Faisalman <[email protected]> | |
| * Licensed under The MIT License | |
| * http://www.opensource.org/licenses/mit-license | |
| */ | |
| (function(){ |