cd /etc/nginx/sites-available/
sudo nano example.com
Config looks like this:
cd /etc/nginx/sites-available/
sudo nano example.com
Config looks like this:
#define analogInPin 0 | |
const float Pi = 3.141592; | |
char sensorValue[480]; | |
char outputValue[480]; | |
int number,frameCurrent; | |
int pos0value, pos90value; | |
void setup() { | |
Serial.begin(38400); | |
for(int n=0;n<480;n++){ | |
outputValue[n]=(char)127*sin((float)2*Pi*n/48)+127; |
int potentiometerPin = A0; | |
int sensorPin1 = 3; | |
int sensorPin2 = 2; | |
long potentiometerValue = 0; | |
int sensor1Value = 0; | |
int sensor2Value = 0; | |
volatile long position; | |
void setup() { | |
// Set up internal pull up resistor for pin |
#include <CapacitiveSensor.h> | |
CapacitiveSensor c = CapacitiveSensor(13, 12); | |
float observedRightValue = 1750.0; | |
float observedLeftValue= 5000.0; | |
void setup() { | |
Serial.begin(9600); | |
} |
<?php | |
function hideEmail($email) { | |
$email = explode("@", $email); | |
$name = $email[0]; | |
if (strlen($name) > 3) { | |
$name = substr($name, 0, 2); | |
for ($i = 0; $i < strlen($email[0]) - 3; $i++) { | |
$name .= "*"; | |
} |
A Pen by Anand Chowdhary on CodePen.