Skip to content

Instantly share code, notes, and snippets.

@cgmartin
cgmartin / vnc_install.sh
Last active January 29, 2024 00:16 — forked from x43x61x69/vnc_install.sh
Customized Steam Deck VNC Installation
#!/bin/bash
#
# Script for installing x11vnc on Steam Deck.
#
# Install:
#
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/cgmartin/26fc89f4887e4817e51a298eec937061/raw/vnc_install.sh?$RANDOM)"
#
# This will modify root filesystem so it will probably get
# overwrite on system updates but is totally ok executing
@cgmartin
cgmartin / README.md
Last active August 29, 2015 14:22 — forked from domenic/README.md
Node git pre-commit hook

Here's how this works:

  • Include a git-hooks/ directory in your project, with these two files (plus other hooks if you want, written in a similar style).
  • Ensure the files under the git-hooks/ directory are executable: chmod 755 git-hooks/*
  • Add test script to your package.json, e.g.
    "scripts": {
        "test": "mocha"
 }
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace Application\Controller;
@cgmartin
cgmartin / gittyup.sh
Last active January 28, 2017 21:58 — forked from EvanDotPro/gittyup.sh
Easily keep master in sync with upstream.
#!/bin/bash
####################################################################################
## ##
## gittyup() - Easily keep master in sync with upstream. ##
## ##
## Author: Evan Coury, http://blog.evan.pro/ ##
## URL: https://gist.github.com/1506822 ##
## Forked: https://gist.github.com/cgmartin/4046453 ##
## ##
## This bash function is a simple shortcut for keeping your local (and public ##
The following tasks need to be done to finish the i18n component:
------------------------------------------------------------------------------
To finish translator:
- Add Xliff translation loader with plural support if possible, see:
https://wiki.oasis-open.org/xliff/XLIFF2.0/Feature/Plural%20Entries
- Add Tmx translation loader (identify if plural support is available)
- Complete unit tests
------------------------------------------------------------------------------