This file contains hidden or 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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Current TS File", | |
"type": "node", | |
"request": "launch", | |
"args": ["${file}"], | |
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"], | |
"sourceMaps": true, |
This file contains hidden or 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
{ | |
"scripts": { | |
"debugger": "./scripts/run-debugger.sh", | |
"ios": "npm run debugger && react-native run-ios", | |
"android": "npm run debugger && react-native run-android", | |
} | |
} |
This file contains hidden or 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
{ | |
"scripts": { | |
"cleanup:all": "npm run cleanup:android && npm run cleanup:react && npm run cleanup:metrobundler && npm run cleanup:hastecache && npm run cleanup:ios", | |
"cleanup:react": "./scripts/killpackager.sh && watchman watch-del-all && rm -rf node_modules/ && rm -rf $TMPDIR/react-* ~/.npm/ ~./rncache", | |
"postcleanup:react": "echo 'run `npm install` or `yarn install`'", | |
"cleanup:ios": "rm -rf ~/Library/Developer/Xcode/DerivedData/* ios/build ios/Pods", | |
"cleanup:android": "./scripts/cleanandroid.sh", | |
"cleanup:metrobundler": "rm -rf /tmp/metro-bundler-cache-*", | |
"cleanup:hastecache": "rm -rf /tmp/haste-map-react-native-packager-*", | |
"start": "node node_modules/react-native/local-cli/cli.js start -- --reset-cache", |
This file contains hidden or 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
MJA-MBP:sample-app mick$ amplify init | |
Note: It is recommended to run this command from the root of your app directory | |
? Choose your default editor: (Use arrow keys) | |
? Choose your default editor: Visual Studio Code | |
? Choose the type of app that you're building javascript |
This file contains hidden or 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
{ | |
"name": "sample-app", | |
"private": true, | |
"main": "index.js", | |
"version": "0.0.1", | |
"scripts": { | |
"rn-cli": "node node_modules/react-native/local-cli/cli.js", | |
"start:android": "npm run rn-cli -- run-android", | |
"start:windows": "npm run rn-cli -- run-windows", | |
"start:ios": "npm run rn-cli -- run-ios", |
This file contains hidden or 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
package br.com.triadworks.controller.relatorios.jasper; | |
import java.io.ByteArrayOutputStream; | |
import java.sql.Connection; | |
import java.util.Map; | |
import javax.sql.DataSource; | |
import net.sf.jasperreports.engine.JRException; | |
import net.sf.jasperreports.engine.JRExporter; | |
import net.sf.jasperreports.engine.JRExporterParameter; | |
import net.sf.jasperreports.engine.JasperCompileManager; |
This file contains hidden or 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
DatePicker birthdayDatePicker = new DatePicker() { | |
@Override | |
protected Skin<?> createDefaultSkin() { | |
final DatePickerSkin skin = new DatePickerSkin( | |
birthdayDatePicker) { | |
@Override | |
public Node getPopupContent() { | |
final DatePickerContent popupContent |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<persistence xmlns="http://java.sun.com/xml/ns/persistence" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence | |
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" | |
version="1.0"> | |
<!-- derby --> |