Launch the node TCP server for FastAGI:
~$ node path/to/fastagi.js
Add a context for FastAGI testing:
[fastagi-test]
Launch the node TCP server for FastAGI:
~$ node path/to/fastagi.js
Add a context for FastAGI testing:
[fastagi-test]
This is a sample implementation of a basic extension. It uses the @types/markdown-it
package from NPM which contains the documentation for markdown-it
. The code here is mostly copied from the backtick
rule implementation you can find in the original markdown-it
repository.
Plugin example for markdown-it, extension tutorial, markdown-it extension API, TypeScript, jsDoc, documentation for extensions, specification of plugin API, how to write an extension for markdown-it.
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="__PACKAGE__" | |
android:versionCode="1" | |
android:versionName="1.0"> | |
<supports-screens | |
android:smallScreens="true" | |
android:normalScreens="true" | |
android:largeScreens="true" |
/* @import url(https://fonts.googleapis.com/css?family=Raleway); */ | |
@import url(https://fonts.googleapis.com/css?family=Ubuntu); | |
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono); | |
/* Use Ubuntu font instead of the default Railway font */ | |
body { | |
font-family: Ubuntu; | |
margin: 2rem; | |
font-size: 2rem; | |
} |
.bs-callout { | |
padding: 20px; | |
margin: 20px 0; | |
border: 1px solid #eee; | |
border-left-width: 5px; | |
border-radius: 3px; | |
} | |
.bs-callout h4 { | |
margin-top: 0; | |
margin-bottom: 5px; |
## | |
## @author Jacky Alcine <[email protected]> | |
## @see [TODO: Add URL to post about bit.ly URLs.] | |
## | |
## Add in Bit.ly URL support to pages. | |
require "bitly" | |
# Ensure use of new API. | |
Bitly.use_api_version_3 |
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
Is a useful one-liner which will give you the full directory name of the script no matter where it is being called from
These will work as long as the last component of the path used to find the script is not a symlink (directory links are OK). If you want to also resolve any links to the script itself, you need a multi-line solution:
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
/* | |
* Just copy and paste the code. | |
*/ | |
package editabletableview; | |
import java.time.LocalDate; | |
import java.time.ZoneId; | |
import java.time.format.DateTimeFormatter; | |
import java.time.format.FormatStyle; | |
import java.util.Date; |
double RTgoertzelFilter(int sample, double freq) { | |
static double s_prev = 0.0; | |
static double s_prev2 = 0.0; | |
static double totalpower = 0.0; | |
static int N = 0; | |
double coeff,normalizedfreq,power,s; | |
normalizedfreq = freq / SAMPLEFREQUENCY; | |
coeff = 2*cos(2*M_PI*normalizedfreq); | |
s = sample + coeff * s_prev - s_prev2; | |
s_prev2 = s_prev; |
#include <SoftwareSerial.h> | |
SoftwareSerial mySerial(2, 3); //RX, TX | |
//Ligando o Shield GSM SIM900. | |
int powerkey = 5; | |
int statuspin = 6; | |
int pinState = 0; | |
//Definindo Botao: |