| zoom_level | tolerance |
|---|
0 | 78271.516953125
1 | 39135.7584765625
2 | 19567.8792382812
3 | 9783.93961914062
4 | 4891.96980957031
5 | 2445.98490478516
6 | 1222.99245239258
7 | 611.496226196289
| /** | |
| *Submitted for verification at Etherscan.io on 2021-10-21 | |
| */ | |
| pragma solidity 0.8.9; | |
| library LibPinball { | |
| struct State { | |
| bytes ball; |
| /* Estructura y Datos de las Regiones, Provincias */ | |
| /* y Comunas de Chile. */ | |
| /* */ | |
| /* Fecha: Julio 2010 */ | |
| /* Autor: Juan Pablo Aqueveque - juque.cl */ | |
| -- | |
| -- Comunas | |
| -- | |
| DROP TABLE IF EXISTS `comunas`; |
| MIT License | |
| Copyright (c) 2018 Noel Bundick | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| #!/usr/bin/env python | |
| # | |
| # Make requests to a tile server to seed the cache | |
| # Created by Jesse Crocker, 6/30/2014 | |
| # | |
| # This file is public-domain | |
| #------------------------------------------------------- | |
| from math import * | |
| from optparse import OptionParser |
| zoom_level | tolerance |
|---|
0 | 78271.516953125
1 | 39135.7584765625
2 | 19567.8792382812
3 | 9783.93961914062
4 | 4891.96980957031
5 | 2445.98490478516
6 | 1222.99245239258
7 | 611.496226196289
| nicolas@Notebook-Asus:~$ sudo vim /etc/php/7.4/mods-available/xdebug.ini | |
| zend_extension=xdebug.so | |
| xdebug.remote_enable=1 | |
| xdebug.remote_autostart = 1 |
| #!/bin/bash | |
| FROM_ENCODING="value_here" | |
| TO_ENCODING="UTF-8" | |
| CONVERT=" iconv -f $FROM_ENCODING -t $TO_ENCODING" | |
| for file in *.txt; do | |
| $CONVERT "$file" -o "${file%.txt}.utf8.converted" | |
| done | |
| exit 0 |
| CREATE DIRECTORY DUMP_SOURCES AS 'C:\temp\'; | |
| BEGIN | |
| FOR rec IN ( | |
| select id, xml | |
| FROM table | |
| ) | |
| LOOP | |
| DBMS_XSLPROCESSOR.clob2file(rec.xml, 'DUMP_SOURCES', rec.id ||'.txt'); | |
| END LOOP; | |
| END; |
| private function getColumnsInfo($tableName) | |
| { | |
| try { | |
| $columns = DB::table('information_schema.columns') | |
| ->select('column_name') | |
| ->where('table_name', $tableName) | |
| ->where('column_name', '!=', 'geom') | |
| ->get()->toArray(); | |
| foreach ($columns as $column) { | |
| $column->data_type = DB::connection() |
| { | |
| "repositories": [ | |
| { | |
| "type": "path", | |
| "url": "../relative/project/path" | |
| } | |
| ], | |
| "require": { | |
| "${project}": "dev-${branch}" | |
| } |