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
Set FSO = CreateObject("scripting.filesystemobject") | |
Set objShell = WScript.CreateObject("WScript.Shell") | |
strDesktop = objShell.SpecialFolders("Desktop") | |
' Could you believe this is a comment? I know, vbs sucks | |
' | |
' The following is a dictionary of dictionaries. | |
' The first dictionary is keyed by group name (case sensitive!) | |
' while the second holds the attributes for the link to be created. | |
' With the example cfg below the script will create a link on the desktop |
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
Interval 10 | |
LoadPlugin logfile | |
#LoadPlugin write_graphite | |
LoadPlugin csv | |
LoadPlugin threshold | |
LoadPlugin exec | |
LoadPlugin tail | |
<Plugin "logfile"> |
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
/******************** | |
Core.js | |
********************/ | |
MyApp = SC.Application.create( | |
/** @scope MyApp.prototype */ { | |
NAMESPACE: 'MyApp', | |
VERSION: '0.1.0', | |
store: SC.Store.create().from(SC.Record.fixtures) |
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
MyApp.CheckableListItemView = SC.ListItemView.extend({ | |
/** @private in SC.ListItemView | |
* | |
* Overridden here to handle events on checkbox | |
*/ | |
mouseUp: function(evt) { | |
var ret = sc_super(); | |
// check event was on checkbox | |
if(this._isInsideCheckbox(evt)) { | |
var pane = this.get('pane'), |
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
{ | |
"name": "Mappu Backend", | |
"version": "0.0.1", | |
"private": true, | |
"scripts": { | |
"start": "node app" | |
}, | |
"dependencies": { | |
"express": "3.1.0", | |
"jade": "*", |
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
var minimatch = require("minimatch"); | |
var url=require('url'); | |
/* | |
Example usage: | |
app.use(auth( | |
true, // disable access by default | |
[ | |
{path:"/j_security_check", roles:["EVERYONE"]}, |
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
<!doctype html> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta name="robots" content="index,follow" /> | |
<meta name="language" content="it" /> | |
<meta http-equiv='pragma' content='no-cache' /> | |
<meta http-equiv='expires' content='0' /> | |
<meta http-equiv='cache-control' content='no-cache' /> | |
<meta http-equiv="cache-control" content="must-revalidate" /> |
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/sh | |
echo "ZFS listing:" | |
/sbin/zfs list | |
echo | |
echo "ZFS compression ratio:" | |
/sbin/zfs get compressratio | /bin/grep -v @ | |
echo | |
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
---------- | |
State: - pkgrepo | |
Name: pgdg-92-centos | |
Function: managed | |
Result: False | |
Comment: Failed to confirm config of repo pgdg-92-centos: coercing to Unicode: need string or buffer, NoneType found | |
Changes: |
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
<protocol-plugin protocol="OracleMonitoring" class-name="org.opennms.netmgt.capsd.plugins.JDBCPlugin" scan="on"> | |
<property key="driver" value="oracle.jdbc.driver.OracleDriver"/> | |
<property key="user" value="opennms"/> | |
<property key="password" value="opennms"/> | |
<property key="url" value="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=OPENNMS_JDBC_HOSTNAME)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))"/> | |
<property key="retry" value="1"/> | |
</protocol-plugin> |