Generate SSL certificate and key
$ openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout ~/.ssh/vsftpd.key -out ~/.ssh/vsftpd.crt
Add the generated certificate to the Keychain Access app
The layout of keyboards varies per country, with some countries having multiple | |
common layouts. Please select the country of origin for the keyboard of this | |
computer. | |
1. Afghani 48. Irish | |
2. Albanian 49. Italian | |
3. Amharic 50. Japanese | |
4. Arabic 51. Japanese (PC-98xx Series) | |
5. Arabic (Morocco) 52. Kazakh | |
6. Arabic (Syria) 53. Khmer (Cambodia) |
''' | |
Enable turntable rotation with Y axis up. | |
''' | |
bl_info = { | |
'name': 'Rotate Turntable Y-axis Up', | |
'author': '', | |
'version': (0, 0, 1), | |
'blender': (2, 6, 7), | |
'location': '3d view > Ctrl + LMB-drag', |
#!/usr/bin/python | |
import requests | |
from lxml import html | |
import re | |
from random import randint | |
from time import sleep | |
import sys | |
import random | |
import fake_useragent |
bl_info = { | |
'name': 'Pan naturally', | |
'author': '', | |
'version': (0, 0, 1), | |
'blender': (2, 6, 0), | |
'location': '3d view > Alt + LMB-drag', | |
'description': 'Pan view naturally for older Blender versions.', | |
'wiki_url': '', | |
'tracker_url': '', | |
'category': '3D View'} |
#!/usr/bin/env bash | |
# Instructions: | |
# | |
# 1) Place this script in the /root/ directory, give it proper permissions. | |
# $ sudo chmod +x /root/open-cloudflare.sh | |
# | |
# 2) Open the cron job editor | |
# $ sudo crontab -e | |
# |
var fs = require('fs'); | |
var copy = function(srcDir, dstDir) { | |
var results = []; | |
var list = fs.readdirSync(srcDir); | |
var src, dst; | |
list.forEach(function(file) { | |
src = srcDir + '/' + file; | |
dst = dstDir + '/' + file; | |
//console.log(src); | |
var stat = fs.statSync(src); |
NSString *s = @"Some string"; | |
const char *c = [s UTF8String]; |
#!/bin/bash | |
find . -type f -not -name ".*" -print0 | while read -d $'\0' file; do | |
echo $file | |
level=$(ffmpeg -y -nostdin -i $file -af "volumedetect" -vn -sn -dn -f null /dev/null 2>&1 | grep max_volume | sed -n 's/.*max_volume: \([^ ]*\) .*/\1/p') | |
gain=$(bc -l <<< "-($level)") | |
echo "${gain}dB" | |
ffmpeg -y -nostdin -loglevel panic -i $file -af "volume=${gain}dB" temp.mp3 | |
rm $file | |
mv temp.mp3 $file | |
done |
#include <iostream> | |
#include <AudioToolbox/AudioToolbox.h> | |
#include "CAComponent.h" | |
int main (int argc, char * const argv[]) { | |
AUGraph graph; | |
AUNode outputNode, mixerNode, dlsNodeA, dlsNodeB, dlsNodeC; | |
AudioUnit dlsA, dlsB, dlsC; | |
//Setup Graph |