environemnt vars to set:
NAME = Martin
SSHUSER = martin
SSHPWD = pwdnitram
command to run: [ "/bin/bash", "-c", "echo hello $NAME; tail -f /dev/null" ]
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using System.Xml.Linq; | |
namespace ConsoleApplication1 | |
{ | |
public class SearchSuggestionsAPI |
private var didUpdateConstraints: Bool = false | |
override func updateConstraints() { | |
if (!didUpdateConstraints) { | |
self.buildStatusIndicatorView.autoPinEdgesToSuperviewEdgesWithInsets(UIEdgeInsetsZero, excludingEdge: ALEdge.Trailing) | |
self.buildStatusIndicatorView.autoSetDimension(ALDimension.Width, toSize: 10) | |
self.buildNumberLabel.autoPinEdgesToSuperviewEdgesWithInsets(UIEdgeInsets(top: 5, left: 15, bottom: 5, right: 5), excludingEdge: ALEdge.Bottom) | |
self.buildNumberLabel.autoSetDimension(ALDimension.Height, toSize: 23) |
import UIKit | |
enum LogoView : UIViewConvertible { | |
case Default() | |
case Large() | |
case Symbol() | |
// MARK: UIViewConvertible | |
var View: UIView { | |
switch self { |
__cnt__ = 0; | |
jQuery('.stream .js-actionFavorite').each(function(i, ele) { ele = jQuery(ele); if (ele.css('display') != 'inline-block') { return; } setTimeout(function() { ele.click(); }, __cnt__++ * 500); | |
}); |
<osm-script output="json" timeout="25"> | |
<!-- Bridges --> | |
<query type="way"> | |
<has-kv k="bridge" regv="^(yes|viaduct)$"/> | |
<has-kv k="railway" modv="not" regv="." /> | |
<bbox-query {{bbox}}/> | |
</query> | |
<!-- Find roads below the above bridges --> |
#!/usr/bin/env ruby | |
require 'houston' | |
certificate = 'cert.pem' | |
passphrase = '' | |
client = Houston::Client.production | |
client.certificate = File.read(@certificate) | |
client.passphrase = @passphrase |
using System; | |
using System.IO; | |
using System.Web; | |
using System.Web.Mvc; | |
namespace WebApp | |
{ | |
public class MailgunUploadController : Controller | |
{ | |
// |
(function ($) { | |
$.validator.unobtrusive.parseDynamic = function (selector) { | |
//use the normal unobstrusive.parse method | |
$.validator.unobtrusive.parse(selector); | |
//get the relevant form | |
var form = $(selector).first().closest('form'); | |
if (!form.length) { | |
form = $(selector).first().find('form'); |
### | |
# Unity folders and files | |
### | |
[Aa]ssets/AssetStoreTools* | |
[Bb]uild/ | |
[Ll]ibrary/ | |
[Ll]ocal[Cc]ache/ | |
[Oo]bj/ | |
[Tt]emp/ | |
[Uu]nityGenerated/ |