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
# Admin API key goes here | |
KEY="[FIND ME IN THE ADMIN SETTINGS]" | |
# Split the key into ID and SECRET | |
TMPIFS=$IFS | |
IFS=':' read ID SECRET <<< "$KEY" | |
IFS=$TMPIFS | |
# Prepare header and payload | |
NOW=$(date +'%s') |
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
.field:before, .customer .field:before,.field:after, .customer .field:after { | |
display: none !important; | |
} | |
.customer .field input, .customer select, .field__input, .select__select { | |
box-shadow: -1px 0px 0px 1px #C0C0C0 !important; | |
border: 1px solid #000; | |
} |
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
{ | |
"id": "lhn1hp8aqiulsb1pji", | |
"name": "Screenshot -> Resize & Bordered", | |
"description": "", | |
"color": "green", | |
"actions": [ | |
{ | |
"id": "ljmha6c33u1ov3tam9o", | |
"command": { | |
"name": "getCurrentSelection", |
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
{ | |
"black": { | |
"value": "#000000", | |
"type": "color" | |
}, | |
"white": { | |
"value": "#ffffff", | |
"type": "color" | |
}, | |
"slate": { |
This is an organic document recorded for learning and future reference purposes.
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
import React from 'react' | |
const VideoEmbedPreview = ({ value }) => { | |
const url = value.url | |
const responsiveVideoContainer = { | |
padding: "56.25% 0 0 0", | |
position: "relative" | |
} |
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
//Hook into the createSchemaCustomization API | |
//This hook runs after all our nodes have been created | |
exports.createSchemaCustomization = ({ actions, schema }) => { | |
//The createTypes action allows us to create custom types | |
//and modify existing ones | |
const { createTypes } = actions | |
// Create our schema customizations | |
const typeDefs = [ | |
// Replace "SanityReview" with your _typename of your post type |
- Initial Server Setup with Ubuntu 12.04
- How To Install Linux, nginx, MySQL, PHP (LEMP) stack on Ubuntu 12.04
- A Basic MySQL Tutorial
- How To Install phpMyAdmin on a LEMP server
- How To Install Git on Ubuntu 12.04
- Generating SSH Keys and connect with DigitalOcean
- Install Composer on DigitalOcean
- [Install php5-cli if you get stuck with installing Compos
NewerOlder