Instructions on how to use smf2.0.15 with php 7.2 mostly with the importance of logining a user.
In /var/www/forum/SmfApi/Server/smf_2_api.php
make these changes.
Line 524:
*/
+ error_reporting(E_ALL ^ E_DEPRECATED);
// ==UserScript== | |
// @name Remove paramount+ live tv sidebar | |
// @version 1 | |
// @grant none | |
// @include https://www.paramountplus.com/live-tv/* | |
// ==/UserScript== | |
let sidebar = document.getElementsByClassName("skin-sidebar-plugin"); | |
setTimeout(() => { |
// This example shows how to use the tokio runtime with any other executor | |
// | |
// The main components are a spawn fn that will wrap futures in a special future | |
// that will always enter the tokio context on poll. This only spawns on extra thread | |
// to manage and run the tokio drivers in the background. | |
// | |
// Playground link: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=22c3645ba6a03ec77459fd1dfc9f35f1 | |
use tokio::net::TcpListener; | |
use tokio::sync::oneshot; |
#![feature(async_await)] | |
use failure::{Fail, Error}; | |
use std::future::Future; | |
use std::pin::Pin; | |
/// `S3Request` is a trait that specifies: | |
/// - the service request/response pairing. | |
/// - the service protocol (json, rest-json, rest-xml, or query) | |
/// - optionally, additional metadata. |
use std::task::Future; | |
use futures::future::FutureExt; | |
pub fn spawn<F>(f: F) | |
where | |
F: Future + Send + 'static, | |
{ | |
tokio::spawn(f.map(|_| ()).unit_error().boxed().compat()); | |
} |
Instructions on how to use smf2.0.15 with php 7.2 mostly with the importance of logining a user.
In /var/www/forum/SmfApi/Server/smf_2_api.php
make these changes.
Line 524:
*/
+ error_reporting(E_ALL ^ E_DEPRECATED);
Fixed bugs:
use tower_service::Service; | |
use futures::Future; | |
use tokio_io::{AsyncRead, AsyncWrite}; | |
use std::net::ToSocketAddrs; | |
pub trait ConnectService<A: ToSocketAddrs>{ | |
type Response: AsyncRead + AsyncWrite; | |
type Error; | |
type Service: Service<A>; | |
type Future: Future<Item = Self::Response, Error = Self::Error>; |
amethyst v0.9.0 (/Users/lucio/code/amethyst) | |
├── amethyst_animation v0.4.0 (/Users/lucio/code/amethyst/amethyst_animation) | |
│ ├── amethyst_assets v0.5.0 (/Users/lucio/code/amethyst/amethyst_assets) | |
│ │ ├── amethyst_core v0.4.0 (/Users/lucio/code/amethyst/amethyst_core) | |
│ ├── amethyst_core v0.4.0 (/Users/lucio/code/amethyst/amethyst_core) (*) | |
│ ├── amethyst_derive v0.2.0 (/Users/lucio/code/amethyst/amethyst_derive) | |
│ ├── amethyst_renderer v0.9.0 (/Users/lucio/code/amethyst/amethyst_renderer) | |
│ │ ├── amethyst_assets v0.5.0 (/Users/lucio/code/amethyst/amethyst_assets) (*) | |
│ │ ├── amethyst_core v0.4.0 (/Users/lucio/code/amethyst/amethyst_core) (*) | |
│ │ ├── amethyst_derive v0.2.0 (/Users/lucio/code/amethyst/amethyst_derive) (*) |
// This is the position of some entity. | |
// It is syncable but has no reliability guarentees. | |
// Questions: | |
// - How do we let the server determine values and | |
// verify them and replicate them properly? | |
#[derive(Deserialize, Serialize, Sync)] | |
struct Position { | |
x: u16, | |
y: u16, | |
} |
;;; package --- My Personal Emacs config | |
;;; Comentary: | |
;;; Code: | |
;; Debug when errors happen | |
(setq debug-on-error t) | |
(message "Loading configuration...") |