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
UIImage* imageSource = [UIImage imageWithSize:CGSizeMake(640, 640) | |
fillColor:[NAAppTheme orange]]; | |
GPUImagePicture* gpuSource1 = [[GPUImagePicture alloc] initWithImage:imageSource]; | |
GPUImagePicture* gpuSource2 = [[GPUImagePicture alloc] initWithImage:imageSource]; | |
GPUImagePerlinNoiseFilter* gpuFilter1 = [[GPUImagePerlinNoiseFilter alloc] init]; | |
gpuFilter1.scale = 300; | |
GPUImageAlphaBlendFilter* gpuFilter2 = [[GPUImageAlphaBlendFilter alloc] init]; | |
gpuFilter2.mix = 0.9; |
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) setupLocationManager | |
{ | |
self.locationManager = [[CLLocationManager alloc] init]; | |
self.locationManager.delegate = self; | |
CLBeaconRegion* region = [[CLBeaconRegion alloc] initWithProximityUUID:[[NSUUID alloc] initWithUUIDString:@"07775DD0-111B-11E4-9191-0800200C9A66"] | |
identifier:@"XY"]; | |
[self startRangingBeaconsInRegion:region]; | |
} |
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 | |
# title : sync_host.sh | |
# description : sync/merge a local `hosts` file with one on a remote server | |
# author : Daniel Wang // @ddwang // ZING | |
# usage : bash sync_host.sh <host_file> <user@remote_addr> <ssh_key_file> | |
# notes : the remote user (user@remote_addr) must have `sudo` privilege | |
# | |
# Copyright (c) 2017 ZING | |
# |
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 sh | |
# | |
# Copyright (c) Microsoft Corporation. All rights reserved. | |
# Licensed under the MIT License. See License.txt in the project root for license information. | |
if [ "$VSCODE_WSL_DEBUG_INFO" = true ]; then | |
set -x | |
fi | |
COMMIT="abd2f3db4bdb28f9e95536dfa84d8479f1eb312d" | |
APP_NAME="code" |
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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Bootstrap demo</title> | |
</head> | |
<body> | |
<table> <tr> <td colspan="2"> Participant ID: <mark class='field' id='c9263103-b161-4bff-bc60-96b561c28f58'>BE-EORTC-40054-1074-3</mark> <br> Investigational product: <mark class='field' id='8801faeb-4b3f-4200-be7a-4cf8fadf389b'>Xeloda [Capecitabine]</mark> <br> Treatment group: <mark class='field' id='3d08d67d-726b-4cea-befb-cb868d9f1811'>Not specified in the provided context</mark> <br> </td> </tr> <tr> <td>AE (reason for narrative)</td> <td> <mark class='field' id='505ac46a-ff79-40f6-a9d0-7df917dd48e6'>SUDDEN DEATH (seriousness criteria of death, unexpectedness of event, relationship to study treatment)</mark> </td> </tr> <tr> <td>Age/sex/race/ethnicity/country</td> <td> <mark class='field' id='ac3202b6-e2fd-4a6d-a486-db4fb3024e07'>Age/sex/race/ethnicity/country: 56 years/female/Not reported/Not reported/BELG |