192.168.0.14:56294: CONNECT android.googleapis.com:443
<< Cannot establish TLS with client (sni: android.googleapis.com): TlsException("SSL handshake error: Error([('SSL routines', 'ssl3_read_bytes', 'sslv3 alert certificate unknown')],)",)
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
#define BUFFERSIZE 127 | |
uint8_t inBuffer[BUFFERSIZE]; | |
int inLength; // length of data in the buffer | |
int numLoop = 0; // number of times we looped | |
int ledPin = 13; | |
void setup() { | |
Serial.begin(9600); | |
pinMode(ledPin, OUTPUT); | |
} | |
void loop() { |
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 <Servo.h> | |
//Create the 4 esc objects | |
Servo esc1; | |
Servo esc2; | |
Servo esc3; | |
Servo esc4; | |
//Esc pins | |
int escPin1 = 8; |
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
/* Counting Milliseconds with Timer1 | |
* --------------------------------- | |
* For more information see | |
* http://www.adnbr.co.uk/articles/counting-milliseconds | |
* | |
* 620 bytes - ATmega168 - 16MHz | |
*/ | |
// 16MHz Clock | |
#define F_CPU 16000000UL |
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
//source: http://electronics.stackexchange.com/q/59615 | |
int AC_LOAD = 3; // Output to Opto Triac pin | |
int dimming = 128; // Dimming level (0-128) 0 = ON, 128 = OFF | |
void setup() | |
{ | |
pinMode(AC_LOAD, OUTPUT); // Set the AC Load as output | |
attachInterrupt(0, zero_crosss_int, RISING); // Choose the zero cross interrupt # from the table above | |
} |
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
1. Create Custom TextView. | |
public class TextViewDrawable extends android.support.v7.widget.AppCompatTextView { | |
public TextViewDrawable(Context context, @Nullable AttributeSet attrs) { | |
super(context, attrs); | |
} | |
/** |
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
import 'package:flutter/material.dart'; | |
void main() => runApp(new MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return new MaterialApp( | |
title: 'Flutter Demo', | |
theme: new ThemeData( |
This is a gist used in the following blog posts:
You can download this file from the browser or from the console. The latter is shown below (note: the specific Node.js version might be different for you):
wget http://nodejs.org/dist/v14.15.0/node-v14.15.0-linux-x64.tar.gz
sudo tar -C /usr/local --strip-components 1 -xzf node-v14.15.0-linux-x64.tar.gz
You may find list of node version on http://nodejs.org/dist/
OlderNewer