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
// https://gist.github.com/Kikobeats/0dbda3ec8154fa942dc47d36504681c6 | |
import styled from "styled-components"; | |
import theme from "./theme"; | |
const { breakpoints } = theme; | |
const lastIndex = breakpoints.length - 1; | |
const getMediaBreakpoint = (breakpoints, breakpoint, index) => { | |
if (index === 0) return `@media screen and (max-width: ${breakpoint})`; | |
const prevBreakpoint = breakpoints[index - 1]; |
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
heroku config:set $(cat .env.production | sed '/^$/d; /#[[:print:]]*$/d') |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
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
// by: @machenmusik | |
AFRAME.registerComponent('which-controller-present', { | |
init: function () { | |
this.el.addEventListener('componentinitialized', (function (evt) { | |
if (evt.detail.name !== 'tracked-controls') { return; } | |
// Determine which, if any, higher level controller component says controllerPresent. | |
// WARNING! If a dummy tracked-controls instance is already present, | |
// then componentinitialized may not fire for true injection! | |
Object.keys(this.el.components).forEach((name) => { |
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
//three.js r.62 | |
var mesh, renderer, scene, camera, controls; | |
var t = 0, ambientFactor, canvas, textureImage; | |
init(); | |
animate(); | |
function init() { |
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
AFRAME.registerComponent('c-example', { | |
init: function () { | |
var mesh = new THREE.Mesh(new THREE.BoxGeometry( 1, 1, 1 ), new THREE.MeshLambertMaterial({color: 0xffff00})); | |
this.el.setObject3D('mesh', mesh); | |
this.calculatePosition(); | |
}, | |
calculatePosition: function () { | |
var mesh = this.el.object3D; | |
mesh.updateMatrixWorld(); |
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
C:\Users\Casey\Developer\build\dist\bin>graphene.exe --start-manifest http://loc | |
alhost:8000 -f | |
JavaScript error: file:///C:/Users/Casey/Developer/build/dist/bin/components/Pro | |
cessGlobal.js, line 134: NS_ERROR_FILE_UNRECOGNIZED_PATH: Component returned fai | |
lure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath] | |
*** UTM:SVC TimerManager:registerTimer - id: xpi-signature-verification | |
1434217537233 Marionette INFO Marionette enabled via build flag and pr | |
ef | |
[CAPI] LibOVR module is located at C:\Windows\SYSTEM32\LibOVRRT32_0_5.dll |
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
. "$topsrcdir/b2g/config/mozconfigs/common" | |
MOZ_HORIZON=1 | |
mk_add_options MOZ_OBJDIR=../build | |
mk_add_options MOZ_MAKE_FLAGS="-j9 -s" | |
ac_add_options --disable-libjpeg-turbo | |
# This option is required if you want to be able to run Gaia's tests |
NewerOlder