most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
//plugins/axios.js | |
export default function ({ $axios, app }) { | |
$axios.onError(error => { | |
const code = parseInt(error.response && error.response.status) | |
if ([401, 403].includes(code)) { | |
app.$auth.logout(); | |
} |
# Copy this to Dockerfile | |
# Build with `sudo docker build -t c9 .` | |
# Resulting container is c9 | |
FROM ubuntu:14.04 | |
RUN locale-gen en_US.UTF-8 | |
ENV LANG en_US.UTF-8 | |
ENV LANGUAGE en_US:en | |
ENV LC_ALL en_US.UTF-8 |
<?php | |
/** | |
* | |
* | |
* ProcessWire 2.x | |
* Copyright (C) 2010 by Ryan Cramer | |
* Licensed under GNU/GPL v2, see LICENSE.TXT | |
* | |
* http://www.processwire.com |
<?php | |
/** | |
* | |
* Module to hide pages that are not editable by the logged in user. | |
* | |
* ProcessWire 2.x | |
* Copyright (C) 2010 by Ryan Cramer | |
* Licensed under GNU/GPL v2, see LICENSE.TXT | |
* |
# Page TSConfig: | |
tx_gridelements.setup { | |
# ID of Element | |
1 { | |
title = Two Columns | |
config { | |
colCount = 2 | |
rowCount = 1 | |
rows { | |
1 { |
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> | |
<T3DataStructure> | |
<meta type="array"> | |
<langDisable>1</langDisable> | |
</meta> | |
<sheets> | |
<general> | |
<ROOT type="array"> | |
<TCEforms> | |
<sheetTitle>Einstellungen</sheetTitle> |
# | |
# UPDATE for 10.10.4+: please consider this patch obsolete, as apple provides a tool called "trimforce" to enable trim support for 3rd party SSDs | |
# just run "sudo trimforce enable" to activate the trim support from now on! | |
# | |
# Original version by Grant Parnell is offline (http://digitaldj.net/2011/07/21/trim-enabler-for-lion/) | |
# Update July 2014: no longer offline, see https://digitaldj.net/blog/2011/11/17/trim-enabler-for-os-x-lion-mountain-lion-mavericks/ | |
# | |
# Looks for "Apple" string in HD kext, changes it to a wildcard match for anything | |
# | |
# Alternative to http://www.groths.org/trim-enabler-3-0-released/ |