- Install Age Of Empires 2 The Conquerors Expansion
- Patch game with userpatch: http://userpatch.aiscripters.net
- Install and launch Hamachi: https://www.vpn.net
- Create or join a Hamachi network
- SERVER: Install ForceBindIP: https://r1ch.net/projects/forcebindip
- SERVER: Create shortcut like: "C:\Program Files (x86)\ForceBindIP\ForceBindIP.exe" XX.XX.XX.XX "C:\Program Files (x86)\Age Of Empires 2 & The Conquerors Expansion - Full Game\Age2_x1\age2_x1.exe"
Where XX.XX.XX.XX is your Hamachi IP
- Start game, select MultiPlayer and TCP/IP DirectPlay method.
- SERVER: Create a game and give your Hamachi IP to other players
- CLIENT: Click on Show games and enter Hamachi IP of the server
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 com.ferdinandsilva.printertest2 | |
import android.annotation.SuppressLint | |
import android.bluetooth.BluetoothAdapter | |
import android.bluetooth.BluetoothDevice | |
import android.bluetooth.BluetoothManager | |
import android.bluetooth.BluetoothSocket | |
import android.content.Context | |
import android.os.Bundle | |
import android.util.Log |
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
[ | |
{ | |
"_id": "59ada9772bc5be4a37aaa435", | |
"name": "Banco ABC Brasil S.A.", | |
"febraban": true, | |
"clearing": true, | |
"code": "246", | |
"alias": null | |
}, | |
{ |
What you need to do to install SDL is:
#install sdl2
sudo apt install libsdl2-dev libsdl2-2.0-0 -y;
#install sdl image - if you want to display images
sudo apt install libjpeg-dev libwebp-dev libtiff5-dev libsdl2-image-dev libsdl2-image-2.0-0 -y;
#install sdl mixer - if you want sound
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
1.Test environment | |
4core 2gb (use 4core so background fsync thread used by AOF_FSYNC_EVERYSEC can execute on other core) | |
ubuntu server 14.04 | |
redis-version: 3.2.8 | |
2.Procedure | |
Disable rdb bgsave, aof rewrite in config to avoid other factors | |
Set 'appendfsync' entry tto 'no', 'everysec' and 'always' in turn | |
for each policy: |
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
var fs = require('fs'); | |
String.prototype.toBytes = function() { | |
var arr = [] | |
for (var i=0; i < this.length; i++) { | |
arr.push(this[i].charCodeAt(0)) | |
} | |
return arr; | |
} |
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
/*! | |
* jQuery JavaScript Library v1.12.3 -css,-css/addGetHookIf,-css/adjustCSS,-css/curCSS,-css/defaultDisplay,-css/hiddenVisibleSelectors,-css/showHide,-css/support,-css/var/cssExpand,-css/var/isHidden,-css/var/rmargin,-css/var/rnumnonpx,-css/var/swap,-effects,-effects/Tween,-effects/animatedSelector,-effects/support,-dimensions,-offset,-deprecated,-event,-event/ajax,-event/alias,-event/support,-event/focusin,-event/trigger,-wrap,-core/ready,-exports/amd | |
* http://jquery.com/ | |
* | |
* Includes Sizzle.js | |
* http://sizzlejs.com/ | |
* | |
* Copyright jQuery Foundation and other contributors | |
* Released under the MIT license | |
* http://jquery.org/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
<select name="estados-brasil"> | |
<option value="AC">Acre</option> | |
<option value="AL">Alagoas</option> | |
<option value="AP">Amapá</option> | |
<option value="AM">Amazonas</option> | |
<option value="BA">Bahia</option> | |
<option value="CE">Ceará</option> | |
<option value="DF">Distrito Federal</option> | |
<option value="ES">Espírito Santo</option> | |
<option value="GO">Goiás</option> |
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
function RemoveAccents(strAccents) { | |
var strAccents = strAccents.split(''); | |
var strAccentsOut = new Array(); | |
var strAccentsLen = strAccents.length; | |
var accents = 'ÀÁÂÃÄÅàáâãäåÒÓÔÕÕÖØòóôõöøÈÉÊËèéêëðÇçÐÌÍÎÏìíîïÙÚÛÜùúûüÑñŠšŸÿýŽž'; | |
var accentsOut = "AAAAAAaaaaaaOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz"; | |
for (var y = 0; y < strAccentsLen; y++) { | |
if (accents.indexOf(strAccents[y]) != -1) { | |
strAccentsOut[y] = accentsOut.substr(accents.indexOf(strAccents[y]), 1); | |
} else |
NewerOlder