- Install
ipset:
apt-get install ipset- Create new ipset:
ipset create tor iphash| /** | |
| * Marlin 3D Printer Firmware | |
| * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] | |
| * | |
| * Based on Sprinter and grbl. | |
| * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or |
| #!/usr/bin/env python | |
| #coding:utf-8 | |
| import sys | |
| import os | |
| import glob | |
| import platform | |
| import re | |
| import random | |
| import string |
| #!/bin/sh | |
| # Released under CC0 licence cf. http://creativecommons.org/publicdomain/zero/1.0/ | |
| # In case of | |
| # depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3 | |
| # verify error:num=20:unable to get local issuer certificate | |
| # download https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem to /etc/ssl/certs | |
| # In case of Proftpd and 21 (unable to verify the first certificate) with letsencrypt the TLSCACertificateFile and TLSRSACertificateFile have to specified separately like in the article below | |
| # https://medium.com/@dchesterton/using-let-s-encrypt-with-proftpd-on-ubuntu-53611157a344 | |
| # For the HTTP SNI test this article was used |
ipset:apt-get install ipsetipset create tor iphash| # You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
| # This is how I upload my new Sol Trader builds (http://soltrader.net) | |
| # Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
| S3KEY="my aws key" | |
| S3SECRET="my aws secret" # pass these in | |
| function putS3 | |
| { | |
| path=$1 |
| #!/bin/bash | |
| # GUI-related packages | |
| pkgs=" | |
| xserver-xorg-video-fbdev | |
| xserver-xorg xinit | |
| gstreamer1.0-x gstreamer1.0-omx gstreamer1.0-plugins-base | |
| gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-alsa | |
| gstreamer1.0-libav | |
| epiphany-browser |
| <?php | |
| /** | |
| * stream - Handle raw input stream | |
| * | |
| * LICENSE: This source file is subject to version 3.01 of the GPL license | |
| * that is available through the world-wide-web at the following URI: | |
| * http://www.gnu.org/licenses/gpl.html. If you did not receive a copy of | |
| * the GPL License and are unable to obtain it through the web, please | |
| * |
Install convmv if you don't have it
sudo apt-get install convmv
Convert all files in a directory from NFD to NFC:
convmv -r -f utf8 -t utf8 --nfc --notest .
| /* | |
| * Oscilloscope | |
| * Gives a visual rendering of analog pin 0 in realtime. | |
| * | |
| * This project is part of Accrochages | |
| * See http://accrochages.drone.ws | |
| * | |
| * (c) 2008 Sofian Audry (info@sofianaudry.com) | |
| * | |
| * This program is free software: you can redistribute it and/or modify |
| # | |
| # How to install automatically Oracle Java 7 under Salt Stack | |
| # | |
| # Thanks Oracle for complicating things :( | |
| # | |
| # 1. Create a java/ folder in your salt master | |
| # 2. Paste this file in init.sls | |
| # 3. salt '*' state.sls java | |
| # | |
| # Source: |