Skip to content

Instantly share code, notes, and snippets.

@overcome
overcome / install_typo3_62_ft3.sh
Created January 13, 2017 10:00 — forked from NamelessCoder/install_typo3_62_ft3.sh
Bash script to install TYPO3 6.2 LTS (dev) and FluidTYPO3 extensions (dev)
#!/usr/bin/env bash
# phase one: core install
# Pro tip: edit the script and use this repository instead to try out the
# codename "Awesome Ocelot" project - which should be even faster than the
# bare 6.2 core: https://github.com/NamelessCoder/TYPO3.CMS.git
# Live demo of "Awesome Ocelot" is at http://staging.namelesscoder.net
git clone https://github.com/TYPO3/TYPO3.CMS.git --depth 1
@overcome
overcome / app.js
Created April 26, 2016 03:42 — forked from shazron/app.js
RequireJS with Cordova example (app.js)
requirejs(['cordova.js'],
function () {
// start of require
// cordova is now available globally
var exec = cordova.require('cordova/exec');
var app = {
// Application Constructor
@overcome
overcome / gist:0c273a8557213ba989f6
Created January 25, 2016 07:12
CSS - 垂直居中 (SCSS)
.foo {
$width: 500px;
$height: 300px;
width: $width;
height: $height;
position: absolute;
top: 50%;
left: 50%;
margin-left: - $width/2;
margin-top: - $height/2;
@import "compass/utilities/sprites/base";
// General Sprite Defaults
// You can override them before you import this file.
$emblem-sprite-base-class: ".emblem-sprite" !default;
$emblem-sprite-dimensions: false !default;
$emblem-position: 0% !default;
$emblem-spacing: 0 !default;
$emblem-repeat: no-repeat !default;