This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
/** | |
* Source http://www.movable-type.co.uk/scripts/latlong.html | |
*/ | |
const distanceBetween = (lat2, lat1, lng2, lng1) => { | |
Number.prototype.toRad = function() { | |
return this * Math.PI / 180; | |
}; | |
// Haversine Formula | |
const x1 = lat2-lat1; | |
const dLat = x1.toRad(); |
//-- Define middle point function | |
const middlePoint = (lat1, lng1, lat2, lng2) => { | |
//-- Define radius function | |
if (typeof (Number.prototype.toRad) === "undefined") { | |
Number.prototype.toRad = function () { | |
return this * Math.PI / 180; | |
} | |
} | |
//-- Define degrees function |
#############################################
# Push de la rama actual
git push origin $rama_actual
#############################################
# Volver a un commit anterior, descartando los cambios
git reset --HARD $SHA1
#############################################
Is a mobile application made with React Native for making different types of reviews to vehicles. This project was started using the React Native Starter Kit as project base.
Lorem ipsum dolor sit amet, consectetur adipiscing elit
. Nam viverra euismod odio, gravida pellentesque urna varius vitae. Sed dui lorem, adipiscing in adipiscing et, interdum nec metus. Mauris ultricies, justo eu convallis placerat, felis enim ornare nisi, vitae mattis nulla ante id dui.
I have been using iTerm in daily work for almost a year now. Along the way, I learned a few handy settings tweaks and shortcut keys to boost my productivity in command-line environment.
Install iTerm2 If you haven’t heard of iTerm, it’s a popular open source alternative to Mac OS X Terminal. Give it a try, download and install it from http://www.iterm2.com.
Fine-Tune Settings Launch iTerm, open iTerm > Preferences or just Cmd + ,.
Open tab/pane with current working directory
Verifying that +khriztianmoreno is my blockchain ID. https://onename.com/khriztianmoreno |
$http({ | |
url: '/api/v1/reports/age-gender', | |
method: 'GET', | |
responseType: 'arraybuffer' | |
}) | |
.success(function (data, status) { | |
var file = new Blob([data], { | |
type: 'application/pdf' | |
}); | |
var fileURL = URL.createObjectURL(file); |
angular.module('SkytechApp') | |
.controller('JournalsListController', | |
['$scope', '$state', 'journalsService', | |
function ($scope, $state, journalsService) { | |
$scope.refresh = function () { | |
$scope.myPromise = journalsService.list() | |
.then(function (data) { | |
$scope.journals = data; | |
}); |