• Stars
    star
    205
  • Rank 191,264 (Top 4 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 10 years ago
  • Updated almost 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple swap setup script for Linux.

Swap

Simple swap setup script for Linux

Swap is an area on a hard drive that has been designated as a place where the operating system can temporarily store data that it can no longer hold in RAM.

Disclamer: This script may not work on every GNU/Linux distro. Sorry.

Usage

First of all, download the main script using wget or curl:

wget https://raw.githubusercontent.com/Cretezy/Swap/master/swap.sh -O swap
# or using cur:
# curl https://raw.githubusercontent.com/Cretezy/Swap/master/swap.sh -o swap

Then simply run the file with this format:

sh swap <size>

Example (with 4G):

sh swap 4G

The default path for the swap file is /swapfile. If you wish to change this, simple the file location (file must not exist) add it to the command:

sh swap 4G /swap

More Repositories

1

Noderize

Create a Node app in less than 30 seconds.
JavaScript
421
star
2

flutter_linkify

Turns text URLs and emails into clickable inline links in text for Flutter
C++
269
star
3

dSock

Distributed WebSocket broker
Go
220
star
4

lazyjj

TUI for Jujutsu/jj
Rust
141
star
5

redux_persist

Persist Redux State
Dart
130
star
6

redux-persist-expo-securestore

redux-persist storage for Expo's SecureStore
JavaScript
73
star
7

braintree-web-drop-in-react

React component for Braintree Web Drop-In (v3)
JavaScript
71
star
8

linkify

Low-level link (text, URLs, emails) parsing library in Dart
Dart
62
star
9

cloudflare-d1-backup

Dump Cloudflare D1 databases (without Workers)
TypeScript
48
star
10

i3-back

An i3/Sway utility to switch focus to your last focused window. Alt+Tab in i3
Rust
43
star
11

MasterPassX

A deterministic stateless password generator.
JavaScript
26
star
12

flutter-format-pre-commit

Format Flutter code with pre-commit
Shell
23
star
13

react-redux-router-firebase

Boilerplate for React & Redux, integrated with Firebase authentication
JavaScript
23
star
14

flutter_super_state

A simple super state management library for Flutter (with async support)
Dart
22
star
15

fddp

Facebook Downloaded Data Processor (process Facebook archive messages)
Go
18
star
16

flutter_fadein

Simple Flutter widget to fade-in your widgets once they are mounted
Dart
9
star
17

dart-format-pre-commit

Format Dart code with pre-commit
Shell
6
star
18

flutter_cursor

Custom cursor support for Flutter Web
Dart
5
star
19

go-http-gulp-boilerplate

Full featured boilerplate for a Go web project
Go
4
star
20

d1-api

Interact with the Cloudflare D1 API outside of Cloudflare Workers
TypeScript
4
star
21

imgix.dart

An Imgix library for Dart. Generate Imgix URLs with options easily
Dart
4
star
22

neo-tree-jj.nvim

A Neo-tree source for Jujustsu/jj
Lua
3
star
23

deno_body_parser

A generic HTTP body parser for Deno
TypeScript
3
star
24

BetaLister

List available beta apps on Android
TypeScript
2
star
25

http-signature-helpers

Helpers for "Signing HTTP Messages" draft spec
JavaScript
2
star
26

http_signature_helper.dart

Dart
2
star
27

auth_params.dart

Parse auth-param syntax from RFC7235 in Dart
Dart
2
star
28

flutter_super_state_example

Example for flutter_super_state
Dart
2
star
29

imgix_flutter.dart

An Imgix Flutter wrapper to embed Imgix URLs with options easily
C++
2
star
30

CTBUtilityModpack

A Minecraft client utility modpack using Fabric, supporting Minecraft snapshot versions
Shell
2
star
31

auth-param-parser

Parse auth-param syntax from RFC7235
JavaScript
2
star
32

Monokai

Charles' VSCode Monokai Theme
2
star
33

dSock-go

Go client for dSock
Go
1
star
34

proposal-named-parameters

Add named parameters and optional destructuring to JavaScript
1
star
35

dSock-node

dSock Node client
TypeScript
1
star