0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x20 | ! | " | # | $ | % | & | ' | ( | ) | * | + | , | - | . | / | |
0x30 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | : | ; | < | = | > | ? |
0x40 | @ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O |
0x50 | P | Q | R | S | T | U | V | W | X | Y | Z | [ |
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 os | |
import sys | |
import datetime | |
from glob import glob | |
from argparse import ArgumentParser | |
# settings | |
projectNamePrefix = "vlog-" | |
presetName = "Default" # You have to define this preset by your self. <---- |
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
module Main exposing (main) | |
import Html exposing (Html, button, div, text) | |
import Html.Events exposing (onClick) | |
main : Program Never Model Msg | |
main = | |
Html.beginnerProgram | |
{ model = 0 |
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
module Main exposing (main) | |
import Html exposing (Html, button, div, text) | |
import Html.Events exposing (onClick) | |
main : Program Never Model Msg | |
main = | |
Html.beginnerProgram | |
{ model = 0 |
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
#include <curl/curl.h> | |
#include <stddef.h> | |
#include <unistd.h> | |
static const char* STATE_0 = "started"; | |
static const char* STATE_1 = "paused"; | |
static const char* STATE_2 = "resumed"; | |
static size_t writeFunction(char* ptr, size_t blockSize, size_t numberOfBlocks, void* userData) | |
{ |
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
<?php | |
class InvalidMimeGrammar extends \Swift_Mime_Grammar { | |
/** | |
* Get the grammar defined for $name token. | |
* @param string $name exactly as written in the RFC | |
* @return string | |
*/ | |
public function getDefinition($name) | |
{ |
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
/** | |
* Description | |
* Accepts a player name as an argument and reads the values | |
* of the track name and artist for the currently playing track | |
* of that player | |
* | |
* @param $player - name of the player to read data from | |
* @return array - array of track name and artist for that player | |
*/ | |
function get_tracks( $players ) |
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
#!/bin/bash | |
# | |
# mosquitto This shell script takes care of starting and stopping | |
# mosquitto (MQTT 3.1 broker) on Amazon Linux. | |
# | |
# chkconfig: - 58 74 | |
# description: mosquitto is a MQTT 3.1 broker. \ | |
# http://mosquitto.org/ | |
### BEGIN INIT INFO |
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
# -*- coding: utf-8 | |
import RPi.GPIO as GPIO | |
import mosquitto | |
import sys | |
from datetime import datetime | |
PINS = (18, 23, 24, 25) | |
SERVER = "sample.example.com" |
NewerOlder