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
public class DebugDialogController : DialogViewController | |
{ | |
DebugFloatElement elem; | |
DebugViewModel vm; | |
public DebugDialogController(): base(null) | |
{ | |
vm = new DebugViewModel(); |
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
public class DebugEntryElement : EntryElement{ | |
Action<UITextField, EventArgs> onChange; | |
public DebugEntryElement(string caption, string placeholder, string value, Action<UITextField, EventArgs> onChange) : base(caption, placeholder, value) | |
{ | |
this.onChange = onChange; | |
} | |
protected override UITextField CreateTextField(RectangleF frame) | |
{ |
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
public class DebugRadioElement : RadioElement { | |
Action<DebugRadioElement, EventArgs> onCLick; | |
public DebugRadioElement (string s, Action<DebugRadioElement, EventArgs> onCLick) : base (s) { | |
this.onCLick = onCLick; | |
} | |
public override void Selected (DialogViewController dvc, UITableView tableView, NSIndexPath path) | |
{ | |
base.Selected (dvc, tableView, path); |
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
public class DebugViewModel{ | |
NSUserDefaults userDefaults = NSUserDefaults.StandardUserDefaults; | |
string debugDbSize; | |
public string DebugDbSize | |
{ | |
get | |
{ | |
if (string.IsNullOrEmpty(debugDbSize)) | |
{ |
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
public class DebugFloatElement : Element | |
{ | |
static NSString skey = new NSString("FloatElementEx"); | |
const float LockImageWidth = 32.0f; | |
const float LockImageHeight = 32.0f; | |
/// <summary> | |
/// Set a string to reserve a certain amount of space for the | |
/// caption used in the FloatElement. Useful when there is no | |
/// initial caption to show - allows space to be reserved for |
NewerOlder