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
/dev/disk0 (internal, physical): | |
#: TYPE NAME SIZE IDENTIFIER | |
0: *120.0 GB disk0 | |
/dev/disk1 (internal, physical): | |
#: TYPE NAME SIZE IDENTIFIER | |
0: GUID_partition_scheme *120.0 GB disk1 | |
1: EFI EFI 209.7 MB disk1s1 | |
2: Apple_APFS Container disk2 119.8 GB disk1s2 |
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 React from 'react' | |
import { render } from 'testUtils' | |
import { fireEvent } from 'react-testing-library' | |
import CentreSelector from './CentreSelector' | |
const centres = [ | |
{ | |
centre_id: '123', | |
centre_name: 'Demo Centre' | |
}, |
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
a mandatory warning: not a professional hardware person here | |
https://www.pbtech.co.nz/product/CPUIT4560/Intel-Kaby-Lake-Pentium-G4560-35Ghz-Socket-LGA1151 | |
https://www.pbtech.co.nz/product/MBDASU42105/ASUS-PRIME-H270-PRO-ATX-For-Intel-Kaby-Lake-LGA115 | |
https://www.pbtech.co.nz/product/MEMCRU069200/Crucial-16GB-DESKTOP-DDR4-2400-MTs-PC4-19200-CL17 | |
https://www.pbtech.co.nz/product/HDDSAM3500/Samsung-850-EVO-MZ-75E500BW-500GB-3D-V-NAND-SATA-I | |
https://www.pbtech.co.nz/product/MONDEL3018787/Dell-P2416D-24-WQHD-IPS-LED-Business-Monitor-2560X | |
https://www.pbtech.co.nz/product/CHAFSP71070/FSP-P1802-Mid-Tower-Case---2xUsb30---Dust-Filters |
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 React from "react"; | |
import { Text } from "react-native"; | |
import { Navigation } from 'react-native-navigation'; | |
class Simple extends React.Component { | |
render() { | |
return (<Text>Hello, I'm Awesome.</Text>); | |
} | |
} |
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
defmodule Texapp.ServiceMonitor do | |
@services [Texapp.ServiceMonitor.Transcoder] | |
defmodule Result do | |
defstruct score: 0, text: nil, url: nil | |
end | |
def start_link(service, query, query_ref, owner) do | |
service.start_link(query, query_ref, owner) | |
end |
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 "AppDelegate.h" | |
#import <React/RCTBundleURLProvider.h> | |
#import <React/RCTRootView.h> | |
#import "RCCManager.h" | |
#import <React/RCTLinkingManager.h> | |
@implementation AppDelegate | |
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url |
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
"Don't mow your lawns too short" |
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
android { | |
compileSdkVersion 25 | |
- buildToolsVersion "25.0.1" | |
+ buildToolsVersion "26.0.2" | |
defaultConfig { | |
applicationId "com.tiaki" | |
- minSdkVersion 16 | |
+ minSdkVersion 18 | |
targetSdkVersion 22 |
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
if (__DEV__ && console.tron) { | |
// straight-up string logging | |
console.tron.log('Hello, I\'m an example of how to log via Reactotron.') | |
// logging an object for better clarity | |
console.tron.log({ | |
message: 'pass objects for better logging', | |
someGeneratorFunction: selectAvatar | |
}) |
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
docker build -t friendlyname . # Create image using this directory's Dockerfile | |
docker run -p 4000:80 friendlyname # Run "friendlyname" mapping port 4000 to container port 80 | |
docker run -d -p 4000:80 friendlyname # Same thing, but in detached mode | |
docker container ls # List all running containers | |
docker container ls -a # List all containers, even those not running | |
docker container stop <hash> # Gracefully stop the specified container | |
docker container kill <hash> # Force shutdown of the specified container | |
# Remove specified container from this machine | |
docker container rm $(docker container ls -a -q) # Remove all containers | |
# List all images on this machine |