-
2560x1600
-
1280x800
-
VBoxManage modifyvm "Win10" --vram 256
-
VBoxManage getextradata "Win10" enumerate
-
VBoxManage setextradata "Win10" CustomVideoMode1 1920x1200x32
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
// Adyen Delegates | |
-(void)transactionStarted:(ADYTransactionData *)transaction { | |
// Save tenderReference and terminalId to storage | |
NSUserDefaults *ud = [NSUserDefaults standardUserDefaults]; | |
[ud setObject:transaction.tenderReference forKey:@"tx_tenderReference"]; | |
[ud setObject:transaction.terminalId forKey:@"tx_terminalId"]; | |
[ud synchronize]; | |
} |
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
-(void)removeAllPaymentDevices:(id)args | |
{ | |
NSLog(@"removing all payment devices"); | |
ADYDeviceRegistry* deviceRegistry = [Adyen sharedInstance].deviceRegistry; | |
NSMutableArray* devices = deviceRegistry.devices.copy; | |
for (ADYDevice* device in devices) { | |
if (device.connectionType == ADYDeviceConnectionTypeWifi && device.hostname != nil && ![device.hostname isEqualToString:@""]) { |
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/bash | |
POIID=YOUR_TERMINAL_SERIAL_NUMBER | |
url=https://terminal-api-test.adyen.com/sync | |
apikey="YOUR_CHECKOUT_API_KEY" | |
SaleID="${USER}-${HOSTNAME}" | |
ServiceID=$(date +%m%d%H%M%S) | |
TransactionID=$RANDOM | |
TimeStamp=$(date -u +%FT%T+00:00) |
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
// Simple way | |
void custom_log_renderer_line(const char *str) { | |
// or save to file ? | |
printf("%s\n", str); | |
} | |
// OR Advanced way | |
void custom_log_renderer_linec(const char *component, int level, const char *prefix, const char *str) { | |
printf("%d %s: %s: %s\n", level, component, prefix, str); | |
} |
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> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
I hereby claim:
- I am xslim on github.
- I am kalapun (https://keybase.io/kalapun) on keybase.
- I have a public key whose fingerprint is 3E8B 6BA3 7DA6 0C04 A12D 0298 369A FECC D6DD 12C0
To claim this, I am signing this object:
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
require 'xcoder' | |
# gem install specific_install | |
# gem specific_install -l https://github.com/xslim/xcoder.git | |
#xcoder -l notice -r build | |
#xcoder -l notice -r package | |
#xcoder -l notice -r deploy | |
# Define or comment out |