Write and publish with GoNevis
IMAGE: Screenshot of Dolphin with bunch of files.
We have an editor crafted for a nice experience with customization for extra productivity.
import os | |
import pickle | |
import warnings | |
import numpy as np | |
import pandas as pd | |
from sklearn.model_selection import train_test_split | |
from tensorflow.keras.callbacks import EarlyStopping | |
from tensorflow.keras.layers import Dense | |
from tensorflow.keras.layers import Dropout |
iptables -P INPUT ACCEPT | |
iptables -P FORWARD ACCEPT | |
iptables -P OUTPUT ACCEPT | |
iptables -t nat -F | |
iptables -t mangle -F | |
iptables -F | |
iptables -X | |
ip6tables -P INPUT ACCEPT | |
ip6tables -P FORWARD ACCEPT |
- create a .py file with 2 classes (OAuth2ProtectedResourceMixin and OAuth2ProtectedGraph). see 'utils.py' file | |
- then in your Django's 'urls.py', wrap the graphql endpoint. see 'urls.py. |
<?php | |
/** | |
* numberFormatPrecision | |
* | |
* Will format the given number by $precision and separated by $separator. | |
* | |
* @param string|int|float $number | |
* @param int $precision | |
* @param string $separator |
func Notify(logger *log.Logger) Adapter { | |
return func(h http.Handler) http.Handler { | |
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { | |
logger.Println("before") | |
defer logger.Println("after") | |
h.ServeHTTP(w, r) | |
}) | |
} | |
} |
from typing import List | |
def flatten_list(items: List) -> List[int]: | |
""" | |
Flatten an array of arbitrarily nested arrays of integers into a flat array of integers. | |
e.g. [[1,2,[3]],4] -> [1,2,3,4]. | |
>>> nested: list = [[1, 2, [3, [4, 4, 8, [8, 8, 7]]]], 4, [], None] | |
>>> expected: List[int] = [1, 2, 3, 4, 4, 8, 8, 8, 7, 4] |
add_filter('appthemes_plupload_config', 'enable_plupload_multisel', 10 ,1); | |
function enable_plupload_multisel($app_plupload_config) | |
{ | |
$app_plupload_config['plupload']['multi_selection'] = true; | |
return $app_plupload_config; | |
} |
Write and publish with GoNevis
IMAGE: Screenshot of Dolphin with bunch of files.
We have an editor crafted for a nice experience with customization for extra productivity.
sudo apt-get update | |
sudo apt-get install xrdp xfce4 midori | |
echo xfce4-session > ~/.xsession | |
sudo sh -c 'echo startxfce4 >> /etc/xrdp/startwm.sh' | |
sudo service xrdp restart |
GNU GENERAL PUBLIC LICENSE | |
Version 3, 29 June 2007 | |
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | |
Everyone is permitted to copy and distribute verbatim copies | |
of this license document, but changing it is not allowed. | |
Preamble | |
The GNU General Public License is a free, copyleft license for |