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
|
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)
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
[ | |
{ | |
"name": "Turtle Rock", | |
"category": "Rivers", | |
"city": "Twentynine Palms", | |
"state": "California", | |
"id": 1001, | |
"isFeatured": true, | |
"isFavorite": true, | |
"park": "Joshua Tree National Park", |
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
// Run any SwiftUI view as a Mac app. | |
import Cocoa | |
import SwiftUI | |
NSApplication.shared.run { | |
VStack { | |
Text("Hello, World") | |
.padding() | |
.background(Capsule().fill(Color.blue)) |
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
Survey.StylesManager.applyTheme("modern"); | |
var surveyJSON = { | |
"pages": [{ | |
"name": "page1", | |
"elements": [{ | |
"type": "rating", | |
"name": "rate", | |
"title": "On a scale of one to five, how likely are you to recommend our website to a friend or colleague? *", | |
"minRateDescription": "(Most unlikely)", |
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
$.ajax({ | |
url: 'YOUR_APP_SCRIPT_URL', | |
type: 'post', | |
data: { | |
'question': 'answer' | |
} | |
}); |
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
[ | |
{ | |
"domain":"facebook.com", | |
"name":"Facebook" | |
}, | |
{ | |
"domain":"twitter.com", | |
"name":"Twitter" | |
}, | |
{ |
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
var SHEET_NAME = "Sheet1"; // Enter sheet name where results will be collected | |
var CHOICES_SHEET_NAME = "Choices"; //We will use it later | |
var SCRIPT_PROP = PropertiesService.getScriptProperties(); // new property service | |
//We will utilise GET method later | |
// function doGet(e){ | |
// return handleResponse(e); | |
// } |
OlderNewer