This file contains hidden or 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
http://voat.co/ | |
More reddit alternatives that didn't get the same love as voat: | |
Digg - http://digg.com/ | |
Boing Boing! - http://boingboing.net/ | |
Snapzu http://snapzu.com/list/ - Excellent content and community. Has a bit of a learning curve because of some of the unique functionality they provide, but worth it. | |
Empeopled http://empeopled.com/ - Gives you more influence based on the amount of up-votes you've received. Use influence to steer future of the site. | |
The Needs http://theneeds.com/ - Good content but a lot of it looks automated, possibly using bots. No discussion so you lose a lot of that community feel. |
This file contains hidden or 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
'use strict'; | |
/* | |
* Defining the Package | |
*/ | |
var Module = require('meanio').Module; | |
var Registration = new Module('registration'); | |
/* |
This file contains hidden or 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
<?php | |
namespace Main\Controllers; | |
use \Klein\Request; | |
use \Klein\Response; | |
use \Main\Renderer\Renderer; | |
//use \Main\PDO; | |
use \Main\Mock\PDO; |
This file contains hidden or 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 | |
# Destroy all Docker containers | |
docker rm $(docker ps -a -q) | |
# Destroy all Docker images | |
docker rmi $(docker images -q) |
This file contains hidden or 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
<?php | |
namespace FunHouse; | |
Class Person { | |
var $name = 'Ellen'; | |
} | |
namespace FunHouse\Rooms; |
This file contains hidden or 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
{ | |
"server": true, | |
"rejoin_after_leave": true, | |
"enable_syslog": false, | |
"syslog_facility": "local5", | |
"data_dir": "/var/consul/data", | |
"ui_dir": "/var/consul/ui", | |
"datacenter": "dc1", | |
"statsd_addr": "<some IP>:8125", | |
"recursor": "<some IP>" |
This file contains hidden or 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
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$True,Position=1)] | |
$Filter=".*", | |
#TODO: handle https & no basic auth as well.. | |
$RegistryEndpoint = "registry.mysite.com", | |
$UserName = "user", | |
$Password = "password" | |
) |
This file contains hidden or 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
case status | |
when 0 then 'New' | |
when 1 then 'Assigned' | |
when 2 then 'In Progress' | |
when 3 then 'Pending' | |
when 4 then 'Resolved' | |
when 5 then 'Closed' | |
when 6 then 'Cancelled' | |
else to_char(status) | |
end status |
This file contains hidden or 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
Sub SendRemedyIncidentEmail() | |
Const adUseClient = 3 | |
Const adOpenStatic = 3 | |
Const adLockPessimistic = 2 | |
' Remedy User Name | |
Const AR_SYSTEM_ODBC_DRIVER_UID = "" | |
' Password for Remedy User Name (AR_SYSTEM_ODBC_DRIVER_UID) | |
Const AR_SYSTEM_ODBC_DRIVER_PWD = "" | |
' Port used by the Remedy server |
This file contains hidden or 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
<enricher doc:name="Message Enricher" source="#[payload]" target="#[flowVars['itsm-event-data']]"> | |
<remedy:get-single username="${remedy.read.username}" password="${remedy.read.password}" config-ref="RemedyConnection" id="#[message.outboundProperties['remedy_event_id']]" type="${remedy.outbound.table}" idBased="#[true]" doc:name="get-event-details"/> | |
</enricher> | |
<set-payload value="#[message.outboundProperties['remedy_form_id']]" doc:name="Set Payload"/> | |
<choice doc:name="Choice"> | |
<when expression="#[message.outboundProperties['remedy_form'] == '${helpdesk.form}']"> | |
<remedy:query username="${remedy.read.username}" password="${remedy.read.password}" config-ref="RemedyConnection" query="('Incident Number' = "#[payload]")" type="${helpdesk.form}" idBased="#[true]" doc:name="query-helpdesk-form"/> | |
<set-payload value="#[payload.get(0)]" doc:name="Get first entry"/> | |
</when> | |
<otherwise> |