Skip to content

Instantly share code, notes, and snippets.

View lennonjesus's full-sized avatar
🎯
Focusing

Lennon Jesus lennonjesus

🎯
Focusing
View GitHub Profile
@lennonjesus
lennonjesus / .gitlab-ci.yml
Created December 7, 2017 16:06
Gitlab CI - Build Ionic 3 Project and generates apk files
# Gitlab CI - Build Ionic 3 Project and generates apk files
image: beevelop/ionic:latest
stages:
- deploy
cache:
untracked: true
key: "$CI_PROJECT_ID"
paths:
@lennonjesus
lennonjesus / app-version.ts
Created April 29, 2022 10:48
app-version.ts
import { AppVersion } from '@ionic-native/app-version';
import { Market } from "@ionic-native/market";
import { Platform } from 'ionic-angular';
// ...
class Blah {
@lennonjesus
lennonjesus / instructions.md
Last active December 1, 2021 08:22
CloudReady ChromeOS Manual Installation Via the Cmd Line

CloudReady ChromeOS Manual Installation Via the Cmd Line

The following walkthrough for a cmd line installation may be useful to you if you are having issues with the UI button "Install CloudReady".

The instructions were (mostly) written up by Jaymes Driver. Thanks Jaymes!

  • After creating your Installer stick, boot from USB
  • When the first screen comes up and asks you to select your network, press Ctrl + Alt + F2.
  • You will find yourself at a command line.
  • the username is: chronos
{
"name": "MelhoresDiaristas",
"author": "Melhores Diaristas",
"homepage": "http://www.melhoresdiaristas.com.br/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_modular/flutter_modular.dart';
import 'package:asuka/asuka.dart' as asuka show builder;
class AppWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
#include <ArduinoOTA.h>
const char *ssid = "";
const char *pass = "";
void setup() {
Serial.begin(115200);
delay(1000);
connectWiFi();
@lennonjesus
lennonjesus / test.ino
Created November 6, 2020 18:00
test.ino
#include "DHT.h"
#define DHT22_PIN 2
#define DHT22_TYPE DHT22
DHT dht22(DHT22_PIN, DHT22_TYPE);
#define UV_APIN A0
void setup() {
// ESP 32s DevKit
#include <WiFi.h>
//#include <HTTPClient.h>
#include <DHT.h>
String THINGSPEAK_API_KEY = "";
const char *ssid = "";
const char *pass = "";
#include <DHT.h> // Including library for dht
#include <ESP8266WiFi.h>
String THINGSPEAK_API_KEY = "THINGSPEAK_API_KEY";
const char *ssid = "WIFI-SSID";
const char *pass = "WIFI-PASS";
const char *server = "api.thingspeak.com";
#include <DHT.h>
#include <ESP8266WiFi.h>
String THINGSPEAK_API_KEY = "THINGSPEAK_API_KEY";
const char *ssid = "WIFI-SSID";
const char *pass = "WIFI-PASS";
const char *server = "api.thingspeak.com";