This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Tasos Latsas | |
# spinner.sh | |
# | |
# Display an awesome 'spinner' while running your long shell commands | |
# | |
# Do *NOT* call _spinner function directly. | |
# Use {start,stop}_spinner wrapper functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"xte 'keydown Control_L' 'keydown Alt_L' 'key Up' 'keyup Control_L' 'keyup Alt_L'" | |
b:9 | |
"xte 'keydown Control_L' 'keydown Alt_L' 'key Down' 'keyup Control_L' 'keyup Alt_L'" | |
b:8 | |
"xte 'keydown Alt_L' 'key F1' 'keyup Alt_L'" | |
b:2 | |
"xte 'keydown Alt_L' 'key F1' 'keyup Alt_L'" | |
b:2 + release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# This file: | |
# | |
# - Demos BASH3 Boilerplate (change this for your script) | |
# | |
# Usage: | |
# | |
# LOG_LEVEL=7 ./main.sh -f /tmp/x -d (change this for your script) | |
# | |
# Based on a template by BASH3 Boilerplate v2.4.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Example infrastructure outage incident report | |
Friday, May 13, 2077 | |
By the Example Security Team | |
Earlier this week we experienced an outage in our API infrastructure. Today we’re providing an incident report that details the nature of the outage and our response. | |
The following is the incident report for the Example Security outage that occurred on April 30, 2077. We understand this service issue has impacted our valued developers and users, and we apologize to everyone who was affected. |
source: http://inchoo.net/magento/programmatically-create-order-in-magento/
<?php
/**
* source: http://inchoo.net/magento/programmatically-create-order-in-magento/
*/
class NewTek_CreateOrderProgrammaticaly_Model_HandleOrderCreate extends Mage_Core_Model_Abstract
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_background" --type bool false | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_colors" --type bool false | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/palette" --type string "#070736364242:#D3D301010202:#858599990000:#B5B589890000:#26268B8BD2D2:#D3D336368282:#2A2AA1A19898:#EEEEE8E8D5D5:#00002B2B3636:#CBCB4B4B1616:#58586E6E7575:#65657B7B8383:#838394949696:#6C6C7171C4C4:#9393A1A1A1A1:#FDFDF6F6E3E3" | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/background_color" --type string "#00002B2B3636" | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/foreground_color" --type string "#65657B7B8383" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Tasks for running the php dev server and livereload server | |
* | |
*/ | |
module.exports = function(grunt){ | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), |