sudo apt-get install python3-pip
sudo pip3 install virtualenv
# download release from github: https://github.com/monostream/tifig/releases and install at ~/tools/tifig | |
# then run these commands in the folder (just to keep things simple we normalize the file extension case before proceeding). | |
for f in *.HEIC; do mv "$f" "`echo $f | sed s/.HEIC/.heic/`"; done | |
for file in *.heic; do echo "~/tools/tifig -v -p $file ${file/%.heic/.jpg}"; done |
#!/bin/bash | |
modprobe ipv6 | |
modprobe udp_tunnel | |
modprobe ip6_udp_tunnel | |
ip link add dev wg0 type wireguard | |
wg setconf wg0 /etc/wireguard/config | |
wg showconf wg0 | |
brctl addbr internet | |
brctl stp internet on | |
ip link set up dev wg0 |
' Code for post this http://mircoattocchi.blogspot.it/2009/01/nokia-pcsuite-and-outlook-other-phone.html | |
Sub CorrectNokiaContacts() | |
' This procedure retrieves all contacts from the Outlook | |
' Contacts folder and for eatch Contact move the | |
' OtherTelephoneNumber content on MobileTelephoneNumber or BusinessTelephoneNumber | |
' based on how OtherTelephoneNumber ("3" or "+393" or "+39 3") | |
' when MobileTelephoneNumber and BusinessTelephoneNumber are empty. | |
' | |
' Configure your Area Code: | |
Dim AreaCode As String |
I upgraded my iPhone 5s to iOS 10 and could no longer retrieve photos from it. This was unacceptable for me so I worked at achieving retrieving my photos. This document is my story (on Ubuntu 16.04).
The solution is to compile libimobiledevice and ifuse from source.
Who is this guide intended for?
openssl x509 -inform PEM -in cacert.pem -outform DER -out certificate.cer |
#!/bin/bash | |
vm="OSX" | |
VBoxManage modifyvm $vm --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff | |
VBoxManage setextradata $vm "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" | |
VBoxManage setextradata $vm "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" | |
VBoxManage setextradata $vm "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-F2238BAE" | |
VBoxManage setextradata $vm "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" | |
VBoxManage setextradata $vm "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 |
# only start this service after the httpd user process has started | |
#start on syno.network.ready | |
start on runlevel 2 | |
# stop the service gracefully if the runlevel changes to 'reboot' | |
stop on runlevel [06] | |
# run the scripts as the 'admin' user. Running as root (the default) is a bad idea. | |
setuid admin |
#!/bin/bash | |
# Updating Ubunut | |
echo "updating ubunutu... please be patient" | |
apt-get update && apt-get upgrade -y | |
echo "installing required packages... please be patient" | |
apt-get install htop lib32gcc1 -y | |
# Create steam user if needed |
from flask import Flask | |
from flask import g | |
from flask import Response | |
from flask import request | |
import json | |
import MySQLdb | |
app = Flask(__name__) | |
@app.before_request |