tl;dr Use mariadb-dev
. In case of Alpine Linux 3.8, 3.9,
use mysql2 >= 0.4.10
.
Starting with Alpine Linux 3.8 there are basically 2 options to install
the mysql2
gem:
1.sh
:
"""Convert postgres database to mysql on live running servers | |
Schemas in both databases should match. | |
""" | |
from pprint import pprint | |
import pymysql.cursors | |
import psycopg2 | |
import psycopg2.extras |
These keys have been tested to work. These are a combination of keys from Chinese websites, trial keys inside ISO's, auto-activate keys in OEM ISO's, and directly from Microsoft's website, all aggregated for your convenience.
In order to use these keys, you need the right edition of Windows XP/2003. Not just Home/Pro/Enteprise/etc, whether it's a Retail, OEM or Volume version. There's a clear cut way to check this.
<?php | |
$html = new AdiantiHTMLDocumentParser('app/resources/relatorio.html'); | |
$parametros = array( | |
'{{nome}}' => 'JOÃO DA SILVA', | |
'{{celular}}' => '(83) 98655-6461' | |
); | |
foreach($parametros as $chave => $valor) |
#!/bin/bash | |
SCRIPTNAME=$(basename "$0") | |
function realpath () { | |
f=$@; | |
if [ -d "$f" ]; then | |
base=""; | |
dir="$f"; | |
else | |
base="/$(basename "$f")"; |
from io import RawIOBase | |
from struct import * | |
from typing import Callable | |
def offset_decorate(func: Callable) -> Callable: | |
def func_wrapper(*args, **kwargs) -> Callable: | |
offset = kwargs.get('offset') | |
if offset is not None: |
// ==UserScript== | |
// @name Google maps addon | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-03-21 | |
// @description Bring google maps button back | |
// @author You | |
// @match https://www.google.com/search* | |
// @include https://www.google.tld/search* | |
// @icon https://www.google.com/images/branding/googleg/1x/googleg_standard_color_128dp.png | |
// @grant none |
<?php | |
$column_situacao->setTransformer(function($value, $object, $row) | |
{ | |
if($value == 'SIM' || $value == 'sim' || $value == 's' || $value == 'T' || $value == true || $value == 't') | |
{ | |
return '<span class="label label-success">ATIVO</span>'; | |
} | |
return '<span class="label label-danger">INATIVO</span>'; |
/** | |
* K.jpg's OpenSimplex 2, smooth variant ("SuperSimplex") | |
* | |
* More language ports, as well as legacy 2014 OpenSimplex, can be found here: | |
* https://github.com/KdotJPG/OpenSimplex2 | |
*/ | |
public class OpenSimplex2S { | |
private static final long PRIME_X = 0x5205402B9270C86FL; |