This file contains 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
# Intro | |
Xerox said that Phaser 3140 hass "level 2" of support which means that Xerox not planning to update it's driver any way. | |
macOS no longer supports 32bit apps since macOS Catalina, and Xerox drivers installer provided at xerox.com is 32bit-app. But drivers will still work if we can install it. So we just need to install drivers itself manually. | |
To make it old printers work you just need to copy few files from installer to their designed locations. | |
# Download | |
You can download unpacked files from macOS 10.14 (10.11+) or unpack from official site by yourselve. | |
https://yadi.sk/d/K4Z-FlHFTyT2BQ?w=1 | |
#Installation |
This file contains 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 | |
url=$1 | |
cookie=$2 | |
while ! `wget -c -t 0 --load-cookies=$cookie $url -O $fileName --no-check-certificate` | |
do | |
sleep 300 | |
echo `date` " try to download..." | |
done |
This file contains 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
% Popup in the regular XMPP clients each time somebody tries to start a new chat with a user @gmail.com and doesn't receive a response in 2 minutes. Warning: the person you have tried to contact uses gmail.com. It is possible that their account has been migrated to the Hangouts platform and that Google has silently discarded chats you send them. Please click here for a help page you can email to your contact to fix their account. | |
% The broken resources start with "Messaging". | |
% by Holger Weiß [email protected] | |
-module(mod_hangouts). | |
-behaviour(gen_mod). | |
-export([start/2, stop/1, block_hangouts/1]). |
This file contains 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
-- by Kim Alvefur | |
-- Popup in the regular XMPP clients each time somebody tries to start a new chat with a user @gmail.com and doesn't receive a response in 2 minutes. "Warning: the person you have tried to contact uses gmail.com. It is possible that their account has been migrated to the Hangouts platform and that Google has silently discarded chats you send them. Please click here for a help page you can email to your contact to fix their account." | |
-- This logic can be refined. The broken resources start with "Messaging". | |
local st = require"util.stanza" | |
local jid_split = require"util.jid".split; | |
module:hook("pre-message/full", function (event) | |
local origin, stanza = event.origin, event.stanza; |
This file contains 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
Мокап в формате Balsamiq Mockups. | |
Можно загрузить в программу или на http://webdemo.balsamiq.com/ через функцию Menu-Import. | |
Выглядит так: http://i.juick.com/p/2683767.png | |
Сделано для http://juick.com/Santiago26/2683767 | |
<mockup version="1.0" skin="sketch" fontFace="Balsamiq Sans" measuredW="1390" measuredH="870" mockupW="1383" mockupH="862"> | |
<controls> | |
<control controlID="36" controlTypeID="com.balsamiq.mockups::BrowserWindow" x="7" y="8" w="675" h="425" measuredW="450" measuredH="400" zOrder="1" locked="false" isInGroup="-1"> | |
<controlProperties> |
This file contains 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
/* | |
* Copyright (C) 2014, Leonid Postovski <[email protected]> | |
*/ | |
package org.jivesoftware.smackx.packet; | |
import org.jivesoftware.smack.packet.PacketExtension; | |
import java.util.ArrayList; | |
import java.util.Collections; |
This file contains 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
RUNNING MULTIPLE INSTANCES OF JITSI / SIP COMMUNICATOR | |
from http://dumbanddistributed.wordpress.com/2012/10/23/running-multiple-instances-of-jitsi-sip-communicator/ | |
While the mailing list had a few threads mentioning that multiple instances of Jitsi can be run on the same machine, I could not find a definitive guide. So here are the things that I did to get it working. Note that these instructions only relate to SIP accounts. | |
Step 1) Install Ant | |
Step 2) Check out Jitsi/ SIP Communicator source code | |
Step 3) Build the code using the following command: |
This file contains 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
var ctx = new(window.audioContext || window.webkitAudioContext); | |
// это всё опасно читать и тут маппинг нот во времени, и для того, чтобы было меньше строк кода - всё тут. | |
var do_1 = 261.63, dod_1 = 277.18, re_1 = 293.66, red_1 = 311.13, mi_1 = 329.63, fa_1 = 349.23, fad_1 = 369.99, sol_1 = 392.00, sold_1 = 415.30, la_1 = 440.00, lad_1 = 466.16, si_1 = 493.88; | |
var do_2 = 523.25, dod_2 = 554.36, re_2 = 587.32, red_2 = 622.26, mi_2 = 659.26, fa_2 = 698.46, fad_2 = 739.98, sol_2 = 784.00, sold_2 = 830.60, la_2 = 880.00, lad_2 = 932.32, si_2 = 987.75; | |
var map = [[sol_1, 500],[0, 250],[sol_1, 500],[0, 250],[sol_1, 500],[0, 250],[red_1, 500],[lad_1, 250],[sol_1, 500],[0, 250],[red_1, 500],[lad_1, 250],[sol_1, 1000],[0, 250],[re_1, 500],[0, 250],[re_1, 500],[0, 250],[re_1, 500],[0, 250],[red_2, 500],[lad_1, 250],[fad_1, 500],[0, 250],[red_1, 500],[lad_1, 250],[sol_1, 1000],[0, 250],[sol_2, 500],[0, 250],[sol_1, 500],[0, 50],[sol_1,250],[sol_2, 550],[0, 200],[fad_2, 400],[0, 50],[fa_2, 200],[0, 50],[m |
This file contains 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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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 ruby | |
# Jabber-SH — SH console via XMPP/Jabber (GTalk) | |
# | |
# Jabber-SH allows you to administrate a remote computer via a command line | |
# through a Jabber client. It’s like SSH via GoogleTalk! :) | |
# This is just a hack but it might be usefull sometime to run basic commands | |
# on a machine that is not accessible via ssh. | |
# | |
# Philippe Creux. pcreux/AT/gmail/DOT/com |