Skip to content

Instantly share code, notes, and snippets.

View meska's full-sized avatar
👽

Marco meska

👽
View GitHub Profile
@meska
meska / schemas.xmlsoap.org.xml
Created May 2, 2024 08:09 — forked from nc9/schemas.xmlsoap.org.xml
schemas.xmlsoap.org/soap/encoding/ mirror
<?xml version="1.0" encoding="UTF-8"?>
<!-- Schema for the SOAP/1.1 encoding
Portions © 2001 DevelopMentor.
© 2001 W3C (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved.
This document is governed by the W3C Software License [1] as described in the FAQ [2].
[1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
[2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions:
@meska
meska / send_to_couchdb.sql
Created July 13, 2023 14:57
upsert to couchdb from oracle
create or replace procedure send_to_couchdb(
p_db in varchar2,
p_id in varchar2,
p_doc in varchar2
) is
req UTL_HTTP.REQ;
headreq UTL_HTTP.REQ;
resp UTL_HTTP.RESP;
headresp UTL_HTTP.RESP;
base_url VARCHAR2(1024) := 'http://couchdb.test.com/' || p_db || '/' || p_id;
@meska
meska / install_homebrew_m1.sh
Created May 11, 2022 15:22 — forked from Molin-L/install_homebrew_m1.sh
Install Homebrew on Apple silicon device/M1.
# Install ARM Homebrew to /opt/homebrew
# 安装ARM版本的Homebrew 到 /opt/homebrew
mkdir /opt/homebrew
sudo chown -R $(whoami) /opt/homebrew
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C /opt/homebrew
# Install x86 Homebrew
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@meska
meska / Filoalfa PLA MMU2S.ini
Created August 13, 2019 21:04
Filoalfa PLA MMU2S Profile
# generated by PrusaSlicer 2.1.0-alpha1+win64 on 2019-08-13 at 22:50:31
[filament:Filoalfa PLA MMU2]
bed_temperature = 60
bridge_fan_speed = 100
compatible_printers =
compatible_printers_condition = printer_notes=~/.*PRINTER_VENDOR_PRUSA3D.*/ and printer_notes=~/.*PRINTER_MODEL_MK(2.5|3).*/ and single_extruder_multi_material
compatible_prints =
compatible_prints_condition =
cooling = 1
disable_fan_first_layers = 1
@meska
meska / waitForKeyElements.js
Last active February 8, 2019 08:38 — forked from BrockA/waitForKeyElements.js
A utility function, for Greasemonkey scripts, that detects and handles AJAXed content.
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts,
that detects and handles AJAXed content.
Usage example:
waitForKeyElements (
"div.comments"
, commentCallbackFunction
);
@meska
meska / mysql-file-limit.md
Last active July 16, 2017 14:30
mysql file limit ubuntu

Limite files aperti mysql

Impostare security limits

modificare il file

nano /etc/security/limits.conf
@meska
meska / Install-Update-Spigot.txt
Created June 2, 2017 10:25 — forked from unitycoder/Install-Update-Spigot.txt
Install & Update Spigot Minecraft
// install
> yum install java-1.8.0-openjdk
> yum install screen
> mkdir minecraft
> cd minecraft
> wget -O BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
> yum install git
> git config --global --unset core.autocrlf
> java -jar BuildTools.jar
~~run> java -Xms512M -Xmx1G -XX:+UseConcMarkSweepGC -jar spigot-1.11.2.jar~~
@meska
meska / 0_reuse_code.js
Created April 13, 2017 12:35
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
abs_deadzone = 0
abs_dpad_x = -1
abs_dpad_y = -1
abs_rx = 3
abs_ry = 4
abs_rz = -1
abs_x = 0
abs_y = 1
abs_z = -1
btn_dpad_down = 295
#! /bin/bash
### BEGIN INIT INFO
# Provides: xbox-controller
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start XBOX Controller Service
# Description: Start the xboxdrv daemon with several options
# support up to 4 Controllers