This is a Rust macro for defining DynamoDB items for use with rusoto_dynamodb. It also requires that the hashmap! macro from the maplit crate be in scope.
This file contains hidden or 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' | |
| import styled from 'styled-components' | |
| import autoBind from 'auto-bind' | |
| const Container = styled.div` | |
| position: relative; | |
| overflow: hidden; | |
| background-color: #f6f6f6; | |
| ${p => `width: ` + p.width + ';'} | |
| ${p => `height: ` + p.height + ';'} |
This file contains hidden or 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 std::io; | |
| use std::io::Write; | |
| // function to write the prompt | |
| fn prompt(message: &str, result: &mut String) { | |
| // print the message and flush the buffer | |
| print!("{}", message); | |
| io::stdout().flush() | |
| .expect("Error flushing output"); |
This file contains hidden or 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 SW_PRECACHE_CONFIG = './sw-precache-config' | |
| const OUT_FILE = 'build/precache.appcache' | |
| const glob = require('globby') | |
| const { staticFileGlobs, stripPrefix } = require(SW_PRECACHE_CONFIG) | |
| const fs = require('fs') | |
| const path = require('path') | |
| glob(staticFileGlobs).then(files => { | |
| // filter out directories |
This file contains hidden or 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
| .reset-container:not(#nothing):not(#nothing):not(#nothing) * { | |
| animation : none; | |
| animation-delay : 0; | |
| animation-direction : normal; | |
| animation-duration : 0; | |
| animation-fill-mode : none; | |
| animation-iteration-count : 1; | |
| animation-name : none; | |
| animation-play-state : running; | |
| animation-timing-function : ease; |
This file contains hidden or 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
| [INFO ] Performing some trivial sanity checks | |
| [DEBUG] Testing '! ( -n )' | |
| [DEBUG] Testing '! ( -n )' | |
| [DEBUG] Testing '! ( -n )' | |
| [DEBUG] Testing '! ( -n )' | |
| [DEBUG] Testing '! ( -n )' | |
| [DEBUG] Testing '! ( -n )' | |
| [DEBUG] ==> Executing: 'mkdir' '-p' '/Volumes/crosstool-ng/ctng/.build' | |
| [DEBUG] ==> Executing: 'rm' '-f' '/Volumes/crosstool-ng/ctng/.build/backtrace' | |
| [DEBUG] ==> Executing: 'touch' '/Volumes/crosstool-ng/ctng/.build/foo' |
This file contains hidden or 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
| year | count | |
|---|---|---|
| 1900 | 3 | |
| 1901 | 2 | |
| 1902 | 4 | |
| 1903 | 1 | |
| 1904 | 1 | |
| 1905 | 4 | |
| 1906 | 4 | |
| 1907 | 3 | |
| 1908 | 2 |
This file contains hidden or 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
| { | |
| "createdBy": "Redirector v2.7.1", | |
| "createdAt": "2014-12-01T20:42:47.346Z", | |
| "redirects": [ | |
| { | |
| "exampleUrl": "http://www.lego.com/es-ar/city/products/arctic/60062-arctic-icebreaker", | |
| "description": "", | |
| "includePattern": "*lego.com*", | |
| "excludePattern": "http://www.lego.com/es-ar/city", | |
| "redirectUrl": "http://www.lego.com/es-ar/city", |
This file contains hidden or 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
| groove = require('groove'); | |
| console.log("opening file (1)"); | |
| groove.open('t1.mp3', function(err, file) { | |
| console.log("opened file (1)"); | |
| if (err) console.log(err); | |
| var playlist = groove.createPlaylist(); | |
| playlist.insert(file); |
This file contains hidden or 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 _ = require('lodash'); | |
| var groove = require('groove'); | |
| var l = require('../../l/l.js'); | |
| var util = require('util'); | |
| var events = require('events'); | |
| var async = require('async'); | |
| var EventEmitter = require('events').EventEmitter; | |
| var Debug = require('debug'); | |
NewerOlder