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
| <html> | |
| <head> | |
| <title>Easy Drag Demo</title> | |
| <link rel="stylesheet" type="text/css" href="/css/result-light.css"> | |
| <style type="text/css"> | |
| .container { | |
| height: 250px; | |
| width: 250px; |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <!-- | |
| SpeechSysthesis Resource Links. | |
| http://caniuse.com/#feat=speech-synthesis | |
| https://www.w3.org/TR/speech-synthesis |
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 com.example.ui.main; | |
| import androidx.databinding.DataBindingUtil; | |
| import androidx.lifecycle.ViewModelProviders; | |
| import android.os.Bundle; | |
| import androidx.annotation.NonNull; | |
| import androidx.annotation.Nullable; | |
| import androidx.fragment.app.Fragment; | |
| import android.view.LayoutInflater; | |
| import android.view.View; |
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
| magick convert *.svg -set filename:f %t %[filename:f].png |
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
| /** | |
| * Takes in a camel case string and splits and capitalizes each word. | |
| * @param {String} propertyName | |
| * @returns {String} | |
| */ | |
| static getDisplayNameFromPropertyName(propertyName) { | |
| // Set the first character to upper case. | |
| let displayName = propertyName.charAt(0).toUpperCase() + propertyName.slice(1).replace(/[A-Z]/g, " $&"); | |
| console.log(displayName); | |
| return displayName; |
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
| from gpiozero import LED, Button | |
| from time import sleep | |
| from signal import pause | |
| led_green = LED(2) | |
| led_yellow = LED(3) | |
| led_red = LED(4) | |
| button = Button(14) |
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
| dotnet publish -r win-x64 -c Release /p:PublishSingleFile=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
| # neo4j | |
| docker run -p 7474:7474 -p 7687:7687 --env=NEO4J_AUTH=none --name neo4j -v C:\\neo4j\\data:/data neo4j | |
| #mongodb | |
| docker container run -p 27017:27017 --name mongodb -e MONGO_INITDB_ROOT_USERNAME=root -e MONGO_INITDB_ROOT_PASSWORD=password -e MONGO_INITDB_DATABASE=testdb -v mongovolume:/data/db mongo | |
| docker container create --name mongo -p 27017:27017 --net test_network --env MONGO_INITDB_ROOT_USERNAME=root --env MONGO_INITDB_ROOT_PASSWORD=password --env MONGO_INITDB_DATABASE=testdb --volume mongo_storage:/data/db mongo:latest |
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
| const {intToRoman} = require("./int-to-roman"); | |
| const input = process.argv[process.argv.length-1]; | |
| console.log(`${input} => ${intToRoman(input)}`); |
OlderNewer