I hereby claim:
- I am dvidsilva on github.
- I am dvidsilva (https://keybase.io/dvidsilva) on keybase.
- I have a public key whose fingerprint is 4408 194C 5E0E DC7E ED83 830B ECF6 B6A9 5D87 FD19
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Verifying that +dvidsilva is my Bitcoin username. You can send me #bitcoin here: https://onename.io/dvidsilva |
/
f.getCallHistory = function(){ | |
var request = $http({ | |
data: { | |
method: 'doctors.get_member_history', | |
id: f.id, | |
params: { | |
call_id : f.call_id | |
}, | |
jsonrpc: '2.0' | |
}, |
function ajax() { | |
var xmlhttp; | |
xmlhttp = new XMLHttpRequest(); | |
xmlhttp.onreadystatechange = function() { | |
if (xmlhttp.readyState == 4 ) { | |
if(xmlhttp.status == 200){ | |
document.getElementById("response").innerHTML = xmlhttp.responseText; | |
} |
<link rel="import" href="../polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
# require 'imgur/version' | |
require 'httparty' | |
require 'net/http' | |
module Imgur | |
HTML_PATH = 'https://imgur.com/' | |
API_PATH = 'https://api.imgur.com/3/' | |
UPLOAD_PATH = 'upload' | |
IMAGE_PATH = 'image/' |
const length = ([first, ...rest]) => | |
first === undefined | |
? 0 | |
: 1 + length(rest); | |
const flatten = ([first, ...rest]) => { | |
if (first === undefined) { | |
return []; | |
} |
window.addEventListener("orientationchange", handleOrientation, true); | |
function handleOrientation(){ | |
if (Math.abs(window.orientation) == 90) { | |
angular.element(document.querySelector('#imagenBackground')).attr("src","img/background-landscape.png"); | |
angular.element(document.querySelector('#imagen-Background')).css("width","35%"); | |
} else { | |
angular.element(document.querySelector('#imagenBackground')).attr("src","img/background-portrait.png"); | |
angular.element(document.querySelector('#imagen-Background')).css("width","45%"); | |
} |
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)