This command is for Ubuntu based distros
sudo apt install aria2 youtube-dl
chmod +x [course_name].sh
#!/usr/bin/env bash | |
# | |
# Enable docker and docker-compose on TrueNAS SCALE (no Kubernetes) | |
# | |
# This script is a hack! Use it at your own risk!! | |
# Using this script to enable Docker is NOT SUPPORTED by ix-systems! | |
# You CANNOT use SCALE Apps while using this script! | |
# | |
# 1 Create a dedicated Docker dataset in one of your zpools |
CC=gcc -g -std=c99 -Wall -Werror -D_POSIX_C_SOURCE=200809L | |
lisp: main.o forms.o reader.o eval.o printer.o repl.o | |
$(CC) -o lisp *.o | |
main.o: main.c | |
$(CC) -c main.c | |
forms.o: forms.h forms.c | |
$(CC) -c forms.c |
# Install dependencies that nginx was originally compiled with | |
sudo apt install libperl-dev libgeoip-dev libgd-dev | |
# Get the nginx source | |
wget https://nginx.org/download/nginx-1.14.0.tar.gz | |
tar zxf nginx-1.14.0.tar.gz | |
# Get the module source | |
wget https://github.com/fdintino/nginx-upload-module/archive/master.zip | |
unzip master.zip |
package com.common.utils | |
import org.koin.KoinContext | |
import org.koin.standalone.StandAloneContext | |
import kotlin.jvm.internal.Reflection | |
/** | |
* @author @fredy_mederos | |
*/ |
Ever heard of an Arduino? It's a $35 microcontroller that lets you write code that interacts with motors and lights and IRL stuff. Well, there's a $2 version that has all the same features and is the size of a postage stamp. It's call the ESP8266.
ESP8266 is an inexpensive wifi-enabled SoC made by the company Espressif. It was released in 2014 with very little documentation but its low cost motivated hardware hackers around the world to explore and document the module. Online communities formed to discuss the chip and how to build with it.
package com.carloseduardo.model; | |
import com.carloseduardo.constants.KnownClasses; | |
import com.carloseduardo.exception.UnknownModelException; | |
import io.realm.RealmObject; | |
import io.realm.annotations.PrimaryKey; | |
import io.realm.annotations.Required; | |
/** |
public class DeviceAdminInteractor { | |
private static final String LOG_TAG = DeviceAdminInteractor.class.getName(); | |
// Can be dev and production key | |
private static final String ELM_LICENSE_KEY | |
= "SECRETKEY"; | |
public ComponentName componentName; | |
private DevicePolicyManager devicePolicyManager; | |
/** | |
* Samsung KNOX Standard SDK related variables |