sysctl -w fs.file-max=12000500
sysctl -w fs.nr_open=20000500
# Set the maximum number of open file descriptors
ulimit -n 20000000
# Set the memory size for TCP with minimum, default and maximum thresholds
sysctl -w net.ipv4.tcp_mem='10000000 10000000 10000000'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { View, ScrollView, Platform, Dimensions, StyleSheet } from 'react-native'; | |
import { Icon } from 'react-native-elements'; | |
import { Toolbar, ThemeContext, getTheme } from 'react-native-material-ui'; | |
import Pdf from 'react-native-pdf'; | |
export class StreckenScreen extends React.Component { | |
constructor (props) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { AfterViewInit, Directive, ElementRef, EventEmitter, forwardRef, Inject, Injectable, InjectionToken, Injector, Input, NgZone, OnInit, Output } from '@angular/core'; | |
import { AbstractControl, ControlValueAccessor, FormControl, NG_VALUE_ACCESSOR, NgControl, Validators } from '@angular/forms'; | |
import { Http } from '@angular/http'; | |
declare const grecaptcha : any; | |
declare global { | |
interface Window { | |
grecaptcha : any; | |
reCaptchaLoad : () => void |
Things required:
- Linux headers: https://cdn.kernel.org/pub/linux/kernel/
- Binutils: https://www.gnu.org/software/binutils/
- GCC: https://www.gnu.org/software/gcc/
- glibc: https://www.gnu.org/software/libc/
The latest nextcloud server versions will have ransomware detection automatically
enabled, meaning that syncing common developer file types (e.g. .lock
) will return errors.
Fatal webdav OCA\DAV\Connector\Sabre\Exception\Forbidden: Ransomware file detected. Prevented upload of ..py/bokeh/secrets.tar.enc because it matches extension pattern ".enc"
If you are syncing complex, nested work directories as a developer, the following
Steps to change the URL of Rancher installation and switch from a self-signed certificate to a certificate signed by recognized CA.
- Change the Rancher
server-url
setting to the new URL:- Navigate to
https://<old_rancher_hostname>/g/settings/advanced
- Edit
server-url
tohttps://<new_rancher_hostname>
- Navigate to
- Clear the private CA certificate for the old certificate
- Navigate to
https://<old_rancher_hostname>/g/settings/advanced
- Next to
cacerts
click context menu -> View in API - Click Edit
- Clear the content of the
value
field
- Navigate to