This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: browsersniff.php | |
=================================================================== | |
--- browsersniff.php (revision 965888) | |
+++ browsersniff.php (working copy) | |
@@ -1,4 +1,4 @@ | |
-<?php | |
+ <?php | |
/** | |
* @package Browser-Sniff | |
* @author Priyadi Iman Nurcahyo | Bruno Andrade Pedrassani |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# crea la carpeta video a l'escriptori, si no existeix | |
mkdir -p /home/felip/Escriptori/video | |
# copia tot el que hi ha a DVD_RECORDER a la carpeta VIDEO de l'escriptori | |
sudo cp -r /media/felip/DVD_RECORDER /home/felip/Escriptori/video | |
# canvia el propietari de tot el contingut de la carpeta video | |
sudo chown -R felip:felip /home/felip/Escriptori/video |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# vim: set ts=4 sw=4 sts=4 et : | |
import sqlite3, re | |
from datetime import datetime | |
missingFreqsDBConn = None | |
unknownMarkRE = re.compile(r'\*([^.,;:\t\* ]+)') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use wordpress; | |
show full columns from wp_stray_quotes; | |
alter table wp_stray_quotes change quote quote VARCHAR(100) character set latin1; | |
alter table wp_stray_quotes change quote quote VARBINARY(100); | |
alter table wp_stray_quotes change quote quote VARCHAR(100) character set utf8mb4 COLLATE utf8mb4_unicode_ci; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
func filter(s []int, c chan int, header int, footer int) { | |
var b []int | |
var e int | |
fmt.Println("test print in routing") | |
fmt.Printf("Initial elemements: %d\n", len(s)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: XV Sort Tag Cloud | |
Description: Sorts properly tag cloud by name (removing accents) | |
Author: Xavi Ivars | |
Author URI: http://xavi.ivars.me/ | |
Version: 1.0 | |
License: http://www.gnu.org/copyleft/gpl.html GNU General Public License | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xavi@laptop:~/src/apertium$ cat /tmp/ca-es/content.xml | ./apertium/apertium-desodt -n | sh ../apertium-spa-cat/modes/cat-spa-dgen.mode | |
[][<?xml version="1.0" encoding="UTF-8"?> | |
<office:document-content xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:ooo="http:\/\/openoffice.org\/2004\/office" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http:\/\/www.w3.org\/1999\/xlink" xmlns:dc="http:\/\/purl.org\/dc\/elements\/1.1\/" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:rpt="http:\/\/openoffice.org\/2005\/report" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:ta |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" | |
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" | |
xmlns:atom="http://www.w3.org/2005/Atom"> | |
<channel> | |
<title>mossegalapoma</title> | |
<link>https://mossegalapoma.cat</link> | |
<language>ca</language> | |
<description>El teu podcast de tecnologia i ciència en català</description> | |
<atom:link href="http://xavi.ivars.me/podcasts/mossegalapoma.xml" rel="self" type="application/rss+xml" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
conjugador: | |
image: conjugador | |
labels: | |
- "traefik.enable=true" | |
- "traefik.http.routers.conjugador.entrypoints=softcatala" | |
- "traefik.http.routers.conjugador.service=conjugador" | |
- "traefik.http.routers.conjugador.rule=PathPrefix(`/api/conjugador`)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4,9c4,9 | |
< Se fasiá a l'ostal aital o o nos reparava plan lo *carnisser de confidança. | |
< Se raiava a l'ostal lo *Cadí, qu'èra alavetz çò de mès de normal. | |
< A l'ostal pas manjàvem jamai peis de riu. | |
< A l'ostal totjorn volián que portèssem lo copet sens lana e qu'anèssem *clenxinats e amb la *clenxa plan drecha. | |
< Solíem a l'ostal o far aital. | |
< Aguèron a l'ostal totjorn fòrça suenh qu'anèssem reparats. | |
--- | |
> dins ostal se fasiá aital o o nos reparava plan lo *carnisser de confidança. | |
> dins ostal se raiava lo *Cadí, qu'èra alavetz çò mai normal. |