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
#!/bin/bash | |
# CURL based wrapper script to do CRUD operations in your neocities.org site one file at time | |
# Created by: Ivan Robles <[email protected]> | |
# License: GPLv3.0 | |
VERSION="1.0" | |
USER="$NEOCITIES_USER" | |
PASSWORD="$NEOCITIES_PASS" | |
howtouse() | |
{ |
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
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
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
Use this as an example on how to start the virtual console without the need of Java Web Start or accessing it from the web interface. | |
You can use the user and password that you use for the web interface. | |
You need an old JRE... I used 1.7.0_80 from the Server JRE package, also I have tested successfully 1.7.0_79 with MacOS. | |
You don't need to install it, just extract it or copy the files in "jre" folder. | |
Open the viewer.jnlp file that you get by launching the virtual console from the web interface with a text editor. | |
Note the urls to the jar files. Download the main jar file avctKVM.jar and the libs for your operating system and architecture. | |
Extract the dlls (.so Linux, .jnilib MacOS) from the jar libs. |
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
events { | |
worker_connections 1024; | |
} | |
http { | |
default_type text/html; | |
access_log /dev/stdout; | |
sendfile on; | |
keepalive_timeout 65; |
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
# df -h /dev/rbd0 | |
Filesystem Size Used Avail Use% Mounted on | |
/dev/rbd0 1.5T 1.5T 557M 100% /mnt/media | |
# rbd info media/media01 | |
rbd image 'media01': | |
size 1536 GB in 393216 objects | |
order 22 (4096 kB objects) | |
block_name_prefix: rb.0.1098.74b0dc51 | |
format: 1 |
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
# Due to recent concerns regarding password safety, Geoloqi has decided to publicly release the code | |
# that we use to do password hashing. After consulting with the community, this code now uses BCrypt for hashing | |
# (http://codahale.com/how-to-safely-store-a-password), which is based on blowfish, uses an integrated | |
# salting mechanism, and makes brute forcing expensive for attackers. It is widely used in the industry for | |
# production environments. | |
# | |
# Improvement suggestions are always welcome. Geoloqi takes security very seriously, and designs our systems to | |
# be as security-oriented as practically possible. We also believe in security transparency, because it leads to | |
# better security than obscurity, and is a more honest interaction with our customers. | |
# |