- use
cfdisk /dev/sda
to create a new partition in free space with type "Linux RAID" - repeat for
/dev/sdb
cat /proc/mdstat
to see what/dev/mdX
device is next
$ mdadm --create --verbose /dev/md4 --level=1 --raid-devices=2 /dev/sda6 /dev/sdb6
<?php | |
header("Content-Type: application/json"); | |
if ($_GET['Protocol'] == 'ActiveSync') { | |
echo '{"Protocol":"ActiveSync","Url":"https://' . $_SERVER['HTTP_HOST'] . '/Microsoft-Server-ActiveSync"}'; | |
} | |
elseif ($_GET['Protocol'] == 'AutodiscoverV1') { | |
echo '{"Protocol":"AutodiscoverV1","Url":"https://' . $_SERVER['HTTP_HOST'] . '/Autodiscover/Autodiscover.xml"}'; | |
} | |
else { |
cfdisk /dev/sda
to create a new partition in free space with type "Linux RAID"/dev/sdb
cat /proc/mdstat
to see what /dev/mdX
device is next$ mdadm --create --verbose /dev/md4 --level=1 --raid-devices=2 /dev/sda6 /dev/sdb6
#! /usr/bin/env python3 | |
# rene-d 2018 | |
# Unlicense: http://unlicense.org | |
""" | |
Fichier FANTOIR (Fichier ANnuaire TOpographique Initialisé Réduit) | |
https://www.data.gouv.fr/fr/datasets/fichier-fantoir-des-voies-et-lieux-dits/ | |
crée une base SQLite3 à partir du fichier texte |
title |
---|
Final Submission | Lakshay Arora | GSoC 2018 with phpmyadmin |
This is the final blog post. Here I'll explain the work done in Google Summer of Code.
The goal of the project was to work on some feature requests(issues tagged as enhancements), big enough to integrate into one project.
<?php | |
/** | |
* returns number of cpu cores | |
* Copyleft 2018, license: WTFPL | |
* @throws \RuntimeException | |
* @throws \LogicException | |
* @return int | |
*/ |
#!/bin/bash -x | |
# 1) Go to Xiaomis Fastboot Update Page. http://en.miui.com/a-234.html | |
# 2) Download latest Fastboot ROM. Like latest China dev. | |
# 3) Extract the content. | |
# 4) Boot your phone to Bootloader Mode. Vol Down and Power. Until Fastboot shows up. | |
# 5) Run this script from the root folder of the downloaded files. | |
echo "Flashing Firmware" | |
cat "./misc.txt" |
😀 | Grinning Face | |
---|---|---|
😁 | Beaming Face With Smiling Eyes | |
😂 | Face With Tears of Joy | |
🤣 | Rolling on the Floor Laughing | |
😃 | Grinning Face With Big Eyes | |
😄 | Grinning Face With Smiling Eyes | |
😅 | Grinning Face With Sweat | |
😆 | Grinning Squinting Face | |
😉 | Winking Face | |
😊 | Smiling Face With Smiling Eyes |