A Pen by Sebastian Rothbucher on CodePen.
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"iot:Publish", | |
"iot:Receive", | |
"iot:PublishRetain" | |
], |
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
<div style="position: sticky; top: 0; background: white; ">Page <span id="page"></span> Timing: <span id="timing"></span></div> | |
<div id="canvases"></div> |
This is how you can conver the vuejs guide to a .ePub / Kindle (.mobi) file to read in an eReader (or eReader app):
- Make sure you have Pandoc available (on a Mac, it can be installed by
brew install pandoc
via Homebrew) - Checkout or download master from the Vue docs repo [https://github.com/vuejs/vuejs.org]
- go to
src/v2/guide
- run the following commands in a shell (builds one markdown in order of
order
attr in each file):
echo '' > toc
for i in *.md
do
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
I have the prod01 skates already - now can you get me more rolls for that? |
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
type ItemsResponse { | |
listid: ID! | |
items: [ListItem] | |
} | |
type ListItem { | |
listid: ID! | |
ts_uuid: ID! | |
title: String! | |
done: Boolean! |
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
// ... | |
@Autowired | |
private JwtAuthFilter jwtAuthFilter; | |
@Bean | |
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { | |
http | |
.addFilterBefore(jwtAuthFilter, UsernamePasswordAuthenticationFilter.class) | |
// ... | |
return http.build(); |
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
find . -name '00000*.json' | xargs gsed -i 's/"partitionBy":\[\]/"partitionBy":"\[\]"/g' |
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 __legacyFetch = window.fetch; | |
let __openFetchPromises = 0; | |
let __waitForFetchPromise = Promise.resolve(); | |
let __waitForFetchResolve = null; | |
// need a function to instrument promise-ified methods from fetch down | |
function __instrumentPromise(legacyThis, legacyFct, legacyFctName) { | |
return function() { | |
if (__openFetchPromises === 0) { | |
__waitForFetchPromise = new Promise(resolve => __waitForFetchResolve = resolve); |
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
<div class="cardframe"> | |
<div class="card front"> | |
<div class="corner"></div> | |
<div class="cornertwo"></div> | |
</div> | |
<div class="card back" style="transform: scaleX(-1)"> | |
<div class="corner"></div> | |
<div class="cornertwo"></div> | |
</div> | |
<div id="fly" class="card"> |
NewerOlder