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, {Component} from 'react'; | |
import {SafeAreaView, Text, View, Alert, Button, Switch} from 'react-native'; | |
import Sound from 'react-native-sound'; | |
class App extends Component { | |
constructor(props) { | |
super(props); | |
Sound.setCategory('Playback', true); // true = mixWithOthers |
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 argparse | |
from ws4py.client.threadedclient import WebSocketClient | |
import time | |
import threading | |
import sys | |
import urllib.parse | |
import queue | |
import json | |
import time | |
import os |
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 argparse | |
from ws4py.client.threadedclient import WebSocketClient | |
import time | |
import threading | |
import sys | |
import urllib | |
import Queue | |
import json | |
import os | |
import datetime |
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
{ | |
"projects": { | |
"ngx-introjs": { | |
"architect": { | |
"build": { | |
"options": { | |
"styles": [ | |
"node_modules/intro.js/introjs.css" | |
], | |
"scripts": [ |
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
<template> | |
<div class="container"> | |
<div> | |
<button @click="toggleMouse">Toggle Mouse</button> | |
</div> | |
<Mouse v-if="isMouseVisible" /> | |
</div> | |
</template> | |
<script> |
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 KcAdminClient from "@keycloak/keycloak-admin-client"; | |
const kcAdminClient = new KcAdminClient({ | |
baseUrl: "http://localhost:8080", | |
realmName: "myrealm", | |
}); | |
const credentials = { | |
grantType: "password", | |
username: "superuser", |
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
<html> | |
<body> | |
<script> | |
parent.postMessage(location.href, location.origin) | |
</script> | |
</body> | |
</html> |
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
<html> | |
<body> | |
<script> | |
parent.postMessage(location.href, location.origin) | |
</script> | |
</body> | |
</html> |
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
{ | |
"name": "demo-project", | |
"version": "0.0.3", | |
"husky": { | |
"hooks": { | |
"pre-commit": "npm --no-git-tag-version version patch && sh updateSonarProps.sh && git add ." | |
} | |
} | |
} |
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
DB_HOST=db | |
DB_PORT=27017 | |
DB_ROOT_USER=root | |
DB_ROOT_PASS=rootpass | |
DB_USER=user | |
DB_PASSWORD=userpass | |
DB_NAME=mydb |