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
'Illuminate\Workbench\WorkbenchServiceProvider' |
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
image : post.find("media\\:content, content").attr('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
function IFTTT_DATE(str){ | |
var time = str.split(" "), months, timestring, parsed_hour, | |
year, month, day, hour, minute, output; | |
months = { | |
"Jan": "01", "January": "01", | |
"Feb": "02", "February": "02", | |
"Mar": "03", "March": "03", | |
"Apr": "04", "April": "04", | |
"May": "05", |
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
$(function() { | |
// Initialize Material Design. | |
$.material.init(); | |
// Set the default steps. | |
$('#stepsup, #stepsdown').val(1); | |
// Link on click. | |
$('a').on('click', function(event) { |
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
# Group: YouMedtBro (#25) | |
# Students: Don, Maarten, Youri, Murtaza, Idriss | |
# Referenced: | |
# https://learn.adafruit.com/adafruits-raspberry-pi-lesson-10-stepper-motors/software | |
import RPi.GPIO as GPIO # Raspberry GPIO | |
import os # Required for shutdown and reboot functions | |
import time | |
from multiprocessing import Process # Required in order to run the animation function async |
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
<!doctype html> | |
<html> | |
<head> | |
{% block head %} | |
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}"> | |
<link rel="stylesheet" href="{{ url_for('static', filename='css/range.css') }}"> | |
<link rel="stylesheet" href="{{ url_for('static', filename='css/ripples.min.css') }}"> | |
<link rel="stylesheet" href="{{ url_for('static', filename='css/font-awesome.min.css') }}"> | |
<link rel="stylesheet" href="{{ url_for('static', filename='css/material-wfont.min.css') }}"> | |
<link rel="stylesheet" href="{{ url_for('static', filename='css/site.css') }}"> |
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
# Group: YouMedtBro (#25) | |
# Students: Don, Maarten, Youri, Murtaza, Idriss | |
from flask import Flask, render_template, request, json # Flask Webserver (http://flask.pocoo.org/docs/0.10/quickstart/) | |
from Hwctrl import Hwctrl # Hardware control class | |
import RPi.GPIO as GPIO | |
hwctrl = Hwctrl() # New instance of hardware control class | |
# Create a new Flask App |
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
[Tue Oct 3 17:23:54 2017] Processing sonoff (build_flags: -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=512; lib_deps: PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON; platfo | |
rm: espressif8266; board: esp01_1m; framework: arduino; monitor_baud: 115200; board_flash_mode: dout) | |
-------------------------------------------------------------------------------- | |
Verbose mode can be enabled via `-v, --verbose` option | |
Converting sonoff.ino | |
Collected 32 compatible libraries | |
Looking for dependencies... | |
Library Dependency Graph | |
|-- <PubSubClient> v2.6 |
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
Run this command to install MG-CLI: | |
sudo apt-get update && wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb | |
to start miner (4 cores for BCN) use this command: | |
minergate-cli -user <[email protected]> -bcn 4 | |
Feel free to send some of your earnings to me: | |
BTC (Don't attempt to send other coins to this address!): 17f77AYHsQbdsB1Q6BbqPahJ8ZrjFLYH2j |
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
Retrieving maximum program size .pioenvs/candle_1/firmware.elf | |
Checking size .pioenvs/candle_1/firmware.elf | |
Memory Usage -> http://bit.ly/pio-memory-usage | |
DATA: [===== ] 45.8% (used 37524 bytes from 81920 bytes) | |
PROGRAM: [=== ] 32.3% (used 337566 bytes from 1044464 bytes) | |
Configuring upload protocol... | |
Looking for upload port... | |
Use manually specified: /dev/cu.wchusbserial1430 | |
Uploading .pioenvs/candle_1/firmware.bin | |
warning: serialport_set_baudrate: baud rate 921600 may not work |
OlderNewer