Skip to content

Instantly share code, notes, and snippets.


EGOIST egoist

Block or report user

Report or block egoist

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
egoist / jquery to
Last active Jan 7, 2016
Compile jQuery to XXX component
View jquery to

form jQuery:

<div class="bingo">
  <button>Say hi!</button>

  $('button').on('click', function () {
egoist /
Last active Feb 8, 2016
CSS 布局(非 flexbox 篇)


<div class="container">
  css is awesome!  
.container {
upstream php {
server unix:/var/run/php5-fpm.sock;
server {
# enforce NO www
return 301 $scheme://$request_uri;
egoist /
Last active May 14, 2016
PostgreSQL 简明指南


# ubuntu
$ sudo apt-get install postgresql


#! /usr/bin/env bash
# Usage: git-io URL [CODE]
# Turns a URL
# into a URL
nathggns / stroke.scss
Created Jun 24, 2012
Text Stroke SCSS Mixin (SASS)
View stroke.scss
@mixin stroke($width, $color) {
$shadow: 0 0 0 transparent;
$i: 0;
@while ($i < $width) {
$i: $i + 1;
$j: 0;
@while ($j < 2) {
$j: $j + 1;
View rainbow-text.css
.rainbow-text {
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-image: -webkit-gradient(linear, left top, left bottom,
color-stop(0.00, red),
color-stop(16%, orange),
color-stop(32%, yellow),
color-stop(48%, green),
color-stop(60%, blue),
color-stop(76%, indigo),
View .bowerrc
"directory": "components"

First of all, this is not my brilliant effort to get react-native working on Windows, it is the collation of work by others, particularly @mqli and @Bernd Wessels. I've just summarised what worked for me.

If you would prefer to read what I've plagerised, head over to mqli's great gist


  • The below is tested with react-native-cli 0.1.5, react-native 0.12.0 on Windows 10, node 4.1.1, and Android (physical Nexus 6 and AVD with API v22)
  • I hope this will all be redundant in a few weeks. Please comment on stuff that is now fixed and I will update this to keep it relevant.
  • Sprinkle a bit of YMMV around

Keep this github issue handy, it’s the bucket for all Windows/Linux related tricks to get RN working.

You can’t perform that action at this time.