Skip to content

Instantly share code, notes, and snippets.

@marceloogeda
marceloogeda / index.html
Created May 28, 2013 13:14
Exemplo simples para fazer variação de texto no singular/plural com CSS.
<!DOCTYPE HTML>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<title>CSS | Variação de texto singular/plural</title>
<style type="text/css">
p.plural > span:after { content: "s"; }
</style>
</head>
@marceloogeda
marceloogeda / gulpfile.babel.js
Last active December 6, 2022 17:12
My Gulpfile using ES6 (Babel), Browserify, BrowserSync, SASS, Sourcemaps, and more...
import critical from 'critical';
import babelify from 'babelify';
import browserSync from 'browser-sync';
import browserify from 'browserify';
import buffer from 'vinyl-buffer';
import gulp from 'gulp';
import plugins from 'gulp-load-plugins';
import source from 'vinyl-source-stream';
@marceloogeda
marceloogeda / README.md
Created December 11, 2017 21:16 — forked from joelbowen/README.md
create-react-native-app environment variables

Change your app.json to base-app.json and untrack the original file in your .gitignore

Then add something like "generateConfig": "rimraf app.json &amp;&amp; node generateConfig" to your package.json scripts, and yarn generateConfig &amp;&amp; react-native-scripts start to scripts like "start" or any others that may need app.json generated.

@marceloogeda
marceloogeda / app.yaml
Created December 29, 2017 18:14 — forked from darktable/app.yaml
GAE: App.yaml designed for serving a static site on Google App Engine (Python). Copy your static html and files into a folder called "static" next to app.yaml. Contains a bunch of mimetype declarations from html5boilerplate's .htaccess. May not be neces
application: you-app-name-here
version: 1
runtime: python
api_version: 1
default_expiration: "30d"
handlers:
- url: /(.*\.(appcache|manifest))
mime_type: text/cache-manifest