| Name | yew | percy | dodrio | seed | sauron | draco | squark | smithy | dominator | mogwai | | ---------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------
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
//! | |
//! To Generate a new Random Seed | |
//! | |
extern crate rand; | |
use rand::Rng; | |
/// | |
/// Generates a new random String of 81 Chars of A..Z and 9 | |
/// | |
pub fn new() -> String { |
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
let multisig = require('@iota/multisig'); | |
let converter = require('@iota/converter'); | |
let txconverter = require('@iota/transaction-converter'); | |
let bundle_validator = require('@iota/bundle-validator'); | |
let seedA = 'A'.repeat(81) | |
let seedB = 'B'.repeat(81) | |
let seedC = 'C'.repeat(81) | |
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
modules: [ | |
{ | |
module: "mamfeed", | |
position: "bottom_bar", // This can be any of the regions. | |
config: { | |
// The config property is optional. | |
// If no config is set, an example calendar is shown. | |
// See 'Configuration options' for more information. | |
feeds: [ |
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
#include <Adafruit_NeoPixel.h> | |
#define PIN 5 | |
int numPixels = 12; | |
#include <ESP8266WiFi.h> | |
const char* ssid="<YOUR WLAN SSID"; | |
const char* password="<YOUR WLAN PASSWORD>"; | |
Adafruit_NeoPixel strip = Adafruit_NeoPixel(numPixels, PIN, NEO_GRB + NEO_KHZ800); |
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
#include "MFRC522.h" | |
#define RST_PIN 0 | |
#define SS_PIN 15 | |
MFRC522 mfrc522(SS_PIN, RST_PIN); | |
void setup() { | |
Serial.begin(115200); | |
SPI.begin(); | |
mfrc522.PCD_Init(); |
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
#include <Adafruit_NeoPixel.h> | |
#define PIN 5 | |
int numPixels = 12; | |
Adafruit_NeoPixel strip = Adafruit_NeoPixel(numPixels, PIN, NEO_GRB + NEO_KHZ800); | |
void setup() { | |
strip.begin(); | |
strip.setBrightness(15); | |
strip.show(); |
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
#include <ESP8266WiFi.h> | |
const char* ssid="<YOUR SSID>"; | |
const char* password="<YOUR PASSWORD>"; | |
void setup() { | |
// put your setup code here, to run once: | |
pinMode(LED_BUILTIN, OUTPUT); | |
digitalWrite(LED_BUILTIN, LOW); // Turn the LED on (Note that LOW is the voltage level |
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
<template> | |
<div> | |
<div class="info" style="height: 15%"> | |
<span>Center: {{ center }}</span> | |
<span>Zoom: {{ zoom }}</span> | |
<span>Bounds: {{ bounds }}</span> | |
</div> | |
<l-map | |
style="height: 400px; width: 400px" | |
:zoom="zoom" |
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
require "administrate/field/base" | |
class TrixField < Administrate::Field::Base | |
def to_s | |
data | |
end | |
end |
NewerOlder