Install some modules for the server to run properly
pip install django-simple-captcha django-recaptcha captcha
Configure nginx reverse proxy using this example so clients can sync
Install some modules for the server to run properly
pip install django-simple-captcha django-recaptcha captcha
Configure nginx reverse proxy using this example so clients can sync
[package] | |
name = "web-server-example" | |
version = "0.1.0" | |
authors = ["Lilis Iskandar <lilis@veand.co>"] | |
edition = "2018" | |
[dependencies] | |
actix-web = "1.0.0-rc" | |
serde = "1" | |
serde_derive = "1" |
fn item(mut payload: Multipart) -> HttpResponse { | |
loop { | |
match payload.poll() { | |
Ok(val) => { | |
match val { | |
Async::Ready(_) => { | |
}, | |
Async::NotReady => { | |
// Stuck here! | |
}, |
var debug = process.envNODE_ENV !== "production"; | |
var ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
var WebpackUglifyJsPlugin = require('webpack-uglify-js-plugin'); | |
//var HtmlWebpackPlugin = require('html-webpack-plugin'); | |
var path = require('path'); | |
//var srcPath = path.join(__dirname, 'src'); | |
//var buildPath = path.join(__dirname, 'dist'); |
<% include ../header %> | |
<link rel="stylesheet" href="/css/commons.css"> | |
<link rel="stylesheet" href="/css/nav/nav-expanded.css"> | |
<link rel="stylesheet" href="/css/applicationHome.css"> | |
<div id="pageApplication"></div> | |
<script src="/js/bundle--vendor.js"></script> |
# Run these commands manually! | |
sudo chattr -i /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82 | |
su - | |
printf "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82 | |
exit |