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 node | |
/* | |
* Install dependencies with: | |
* npm install request request-promise-native bottleneck | |
* | |
* Replace YOUR_TENANT_NAME, MGMT_TOKEN, and FILENAME | |
* The input file (FILENAME) should contain a list of user ids to delete, separated by newlines | |
*/ |
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
apiVersion: v1 | |
data: | |
Corefile: | | |
.:53 { | |
errors | |
health | |
rewrite stop { | |
name regex ids\.test2\.fundacion\.io sonaticket-ids.test2-fundacion-io.svc.cluster.local | |
answer name sonaticket-ids\.test2-fundacion-io\.svc\.cluster\.local ids.test2\.fundacion\.io | |
} |
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
0442e3c1cb73e8e6aadca166304723c2df62fe1311b2cb65fa97109eae79253077d6288e0094f96a51e04388005788d3d7dbea154e0dd3af4a5b3a217586bb5ceb |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Builder; | |
using Microsoft.AspNetCore.Hosting; | |
using Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Logging; | |
using Microsoft.Extensions.Options; |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
method: null, | |
headers: null, | |
url: null, | |
success: null, | |
onSuccess() { | |
this.get('success')(); | |
} |
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
define('sonatribe-ui/pods/event/lineup/route', ['exports', 'ember', 'ember-infinity/mixins/route', 'ember-computed-decorators'], function (exports, Ember, InfinityRoute, observes) { | |
'use strict'; | |
function _createDecoratedObject(descriptors) { var target = {}; for (var i = 0; i < descriptors.length; i++) { var descriptor = descriptors[i]; var decorators = descriptor.decorators; var key = descriptor.key; delete descriptor.key; delete descriptor.decorators; descriptor.enumerable = true; descriptor.configurable = true; if ('value' in descriptor || descriptor.initializer) descriptor.writable = true; if (decorators) { for (var f = 0; f < decorators.length; f++) { var decorator = decorators[f]; if (typeof decorator === 'function') { descriptor = decorator(target, key, descriptor) || descriptor; } else { throw new TypeError('The decorator for method ' + descriptor.key + ' is of the invalid type ' + typeof decorator); } } } if (descriptor.initializer) { descriptor.value = descriptor.initializer.call(target); } Obj |
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
import Ember from 'ember'; | |
import InfinityRoute from "ember-infinity/mixins/route"; | |
import computed from 'ember-computed-decorators'; | |
import observes from 'ember-computed-decorators'; | |
export default Ember.Route.extend(InfinityRoute, { | |
slug: null, | |
selected: [], | |
model() { | |
var slug = this.modelFor('event').params.slug; |
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
import Ember from 'ember'; | |
import ajax from 'ic-ajax'; | |
var inject = Ember.inject; | |
export default Ember.Service.extend({ | |
sonatribeSession: inject.service(), | |
getSearchSuggestons(session, term, eid){ | |
return this._getSuggestionsHash(term, eid) | |
.then((hash) => { | |
return Ember.run(function(){ |
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
{ | |
upcomingEvents: [ | |
{ | |
name: "Glastonbury 2015", | |
start: "2015-06-23T23:00:00.000Z", | |
address1: null, | |
country: null, | |
postcode: null, | |
mainImage: null, | |
slug: "glastonbury-2015" |
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
class Program | |
{ | |
private const string Xpath = "//*[@id=\"cwos\"]"; | |
static void Main(string[] args) | |
{ | |
var val = string.Empty; | |
var num1 = Convert.ToInt32(args[0]); | |
var num2 = Convert.ToInt32(args[1]); |
NewerOlder