I hereby claim:
- I am carsol on github.
- I am carsol (https://keybase.io/carsol) on keybase.
- I have a public key whose fingerprint is 89E9 AF63 6918 29D4 E012 2B41 349D 573B 6E2C 9931
To claim this, I am signing this object:
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
function getHightlightCoords() { | |
var pageIndex = PDFViewerApplication.pdfViewer.currentPageNumber - 1; | |
var page = PDFViewerApplication.pdfViewer.getPageView(pageIndex); | |
var pageRect = page.canvas.getClientRects()[0]; | |
var selectionRects = window.getSelection().getRangeAt(0).getClientRects(); | |
var viewport = page.viewport; | |
var selected = selectionRects.map(function (r) { | |
return viewport.convertToPdfPoint(r.left - pageRect.x, r.top - pageRect.y).concat( | |
viewport.convertToPdfPoint(r.right - pageRect.x, r.bottom - pageRect.y)); | |
}); |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
newItem: null, | |
newItemUserId: 1, | |
users: null, | |
db: Ember.computed('refreshDb', function() { | |
let dump = window.server.schema.db.dump(); | |
rm -rf node_modules bower_components dist tmp |
import Ember from 'ember'; | |
import joinWith from '../utils/join-with'; | |
export default Ember.Controller.extend({ | |
firstName: 'Jim', | |
lastName: 'Bob', | |
fullName: joinWith(' ', 'firstName', 'lastName') | |
}); |
I hereby claim:
To claim this, I am signing this object:
(function () { | |
updateDate(); | |
window.setInterval(updateDate, 60000); | |
})(); | |
function updateDate() { | |
if (window.fluid) { | |
var months = new Array(13); | |
months[1] = "Jan"; | |
months[2] = "Feb"; |
Verifying I am +carsol on my passcard. https://onename.com/carsol |
class losViewController: UIViewController, UITableViewDataSource, UITableViewDelegate { | |
let cellIdentifier = "cellIdentifier" | |
var tableData = String[]() | |
@IBOutlet var tableView: UITableView | |
override func viewDidLoad() { | |
super.viewDidLoad() |