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
some more posted body |
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
Yah |
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
mygist1 |
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
posted body |
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
some more posted body |
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
some more posted body |
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
const Form = React.createClass({ | |
// keeps state and re-renders <Input/> when `handleChange` is called back. | |
}); | |
const Input = ({ inputValue, handleChange }) => { | |
return ( | |
<input value={inputValue} onChange={(ev) => {handleChange(ev.target.value)}} | |
); | |
} |
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
UPDATE wp_options SET option_value = replace(option_value, 'http://old.com', 'http://localhost:8888') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://old.com', 'http://localhost:8888'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value, 'http://old.com', 'http://localhost:8888'); |
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
'use strict' | |
const WIDTH = 800 | |
const HEIGHT = 600 | |
const SIXTY_FPS_DELAY = 1000 / 60 | |
function createContext () { | |
const canvas = document.getElementById('canvas') | |
canvas.width = WIDTH | |
canvas.height = HEIGHT |
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
javascript: (function () { | |
var content = document.querySelectorAll('.article__premium-content')[0]; | |
var intro = document.querySelectorAll('.article__lead')[0]; | |
var payWall = document.querySelectorAll('#serviceplusPaywallpaywall-container')[0]; | |
var social = document.querySelectorAll('.js-social-toolbar')[0]; | |
var ghost = document.querySelectorAll('.article__body--mask .article__lead')[0]; | |
intro.style.overflow = "visible"; | |
content.style.display = "block"; | |
payWall.style.display = "none"; |
OlderNewer