Skip to content

Instantly share code, notes, and snippets.

View fischerbach's full-sized avatar

Rafał fischerbach

View GitHub Profile

Test

@fischerbach
fischerbach / index.css
Last active December 24, 2019 10:36
uniform
‎‎​
@fischerbach
fischerbach / README.md
Created January 31, 2020 06:57 — forked from nikcub/README.md
Facebook PHP Source Code from August 2007
[
{
"name": "Turtle Rock",
"category": "Rivers",
"city": "Twentynine Palms",
"state": "California",
"id": 1001,
"isFeatured": true,
"isFavorite": true,
"park": "Joshua Tree National Park",
// 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))
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)",
@fischerbach
fischerbach / ajax_example.js
Created December 18, 2020 18:42
Code for article
$.ajax({
url: 'YOUR_APP_SCRIPT_URL',
type: 'post',
data: {
'question': 'answer'
}
});
[
{
"domain":"facebook.com",
"name":"Facebook"
},
{
"domain":"twitter.com",
"name":"Twitter"
},
{
@fischerbach
fischerbach / Code.gs
Created December 19, 2020 09:16
Code for article
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);
// }