Github: Your best friend!
- Use it to manage your own Vim configuration, keep it synced on multiple machines
- but my .vimrc has to live in my ~/ directory, right?
- Yes -- but you can use a SymLink!
- ln -s ~/.vim/.vimrc
<?php | |
function tao_css_alter(&$css) { | |
$exclude = array( | |
'misc/vertical-tabs.css' => FALSE, | |
'modules/aggregator/aggregator.css' => FALSE, | |
'modules/block/block.css' => FALSE, | |
'modules/book/book.css' => FALSE, | |
'modules/comment/comment.css' => FALSE, | |
'modules/dblog/dblog.css' => FALSE, |
# ZOMG Colors! | |
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagacad |
Github: Your best friend!
Gist test | |
This |
# Requires | |
DocpadPlugin = require 'docpad/lib/plugin.coffee' | |
handlebars = require 'handlebars' | |
# Define Plugin | |
class HandlebarsPlugin extends DocpadPlugin | |
# Plugin name | |
name: 'handlebars' | |
# Render some content |
// At a glance you can see which global objects are being imported, these are the local variable names you will use in your script | |
(function(z, $) { // encapsulate in a closure | |
// Use strict is within scoped function so that it only applies to this code block | |
"use strict"; // Prevents common errors and bad practices, by catching them at runtime. | |
var proto; // The var that will store the reference to the prototype for our widget | |
/** | |
* Description of what the widget does | |
* | |
* @example | |
* z.myWidget(selector, { |
// At a glance you can see which global objects are being imported, these are the local variable names you will use in your script | |
(function(z, $) { // encapsulate in a closure | |
// Use strict is within scoped function so that it only applies to this code block | |
"use strict"; // Prevents common errors and bad practices, by catching them at runtime. | |
var proto; // The var that will store the reference to the prototype for our widget | |
/** | |
* Description of what the widget does | |
* | |
* @example | |
* z.myWidget(selector, { |
import 'package:rxdart/rxdart.dart'; | |
import 'package:test/test.dart'; | |
void main() { | |
final int count = 10000000; | |
final List<ExtraWrapper> observables = new List<ExtraWrapper>(count); | |
for (int i = 0; i < count; i++) { | |
observables[i] = new ExtraWrapper(new Observable<int>.just(1).call(onData: (_) {})); | |
} |
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(new MyApp()); | |
class MyApp extends StatefulWidget { | |
@override | |
MyAppState createState() { | |
return new MyAppState(); |
import 'package:flutter/material.dart'; | |
void main() => runApp(new MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { | |
return new MaterialApp( | |
title: 'Flutter Demo', |