to use this:
-
put the files in
/etc/nginx/1. -
duplicate
nginx-site-templateinto/etc/nginx/sites-enabledto every site you want to serv.2 -
depending on your php version, edit
php_srvfastcgi_pass location.
| using System; | |
| using System.Diagnostics; | |
| using System.Runtime.InteropServices; | |
| using WebDriverManager.DriverConfigs; | |
| using WebDriverManager.Helpers; | |
| using Architecture = WebDriverManager.Helpers.Architecture; | |
| namespace Helpers | |
| { | |
| public class ChromeConfigHelper : IDriverConfig |
| <html> | |
| <head> | |
| <style> | |
| html body iframe { | |
| height: 100%; | |
| width: 100%; | |
| } | |
| body { | |
| border: 0; | |
| margin: 0; |
| pragma solidity ^0.4.0; | |
| import "github.com/oraclize/ethereum-api/oraclizeAPI.sol"; | |
| contract CveDateViews is usingOraclize { | |
| string public cveCount; | |
| string public url; | |
| string public prod; | |
| string public vendor; // date | |
| { | |
| "VM:-": { | |
| "linkReferences": {}, | |
| "autoDeployLib": true | |
| }, | |
| "main:1": { | |
| "linkReferences": {}, | |
| "autoDeployLib": true | |
| }, | |
| "ropsten:3": { |
| pragma solidity ^0.4.23; | |
| // pragma experimental ABIEncoderV2; | |
| library HandLib { | |
| // enum HAND_TYPES { HIGH_CARD, ONE_PAIR, TWO_PAIRS, THREE, STRAIGHT, FLUSH, FULL_HOUSE, FOUR, STRAIGHT_FLUSH} | |
| // mapping(HAND_TYPES => uint8) handRank { HIGH_CARD: 0, ONE_PAIR: 1, TWO_PAIRS: 2, THREE: 3, STRAIGHT: 4, FLUSH: 5, FULL_HOUSE: 5, FOUR: 6, STRAIGHT_FLUSH: 7} | |
| function getCardRank(uint8 card) private pure returns (uint8 rank) { | |
| require(card < 52); |
| pragma solidity ^0.4.23; | |
| // pragma experimental ABIEncoderV2; | |
| library HandLib { | |
| // enum HAND_TYPES { HIGH_CARD, ONE_PAIR, TWO_PAIRS, THREE, STRAIGHT, FLUSH, FULL_HOUSE, FOUR, STRAIGHT_FLUSH} | |
| // mapping(HAND_TYPES => uint8) handRank { HIGH_CARD: 0, ONE_PAIR: 1, TWO_PAIRS: 2, THREE: 3, STRAIGHT: 4, FLUSH: 5, FULL_HOUSE: 5, FOUR: 6, STRAIGHT_FLUSH: 7} | |
| function getCardRank(uint8 card) private pure returns (uint8 rank) { | |
| require(card < 52); |
| pragma solidity ^0.4.23; | |
| // pragma experimental ABIEncoderV2; | |
| library HandLib { | |
| // enum HAND_TYPES { HIGH_CARD, ONE_PAIR, TWO_PAIRS, THREE, STRAIGHT, FLUSH, FULL_HOUSE, FOUR, STRAIGHT_FLUSH} | |
| // mapping(HAND_TYPES => uint8) handRank { HIGH_CARD: 0, ONE_PAIR: 1, TWO_PAIRS: 2, THREE: 3, STRAIGHT: 4, FLUSH: 5, FULL_HOUSE: 5, FOUR: 6, STRAIGHT_FLUSH: 7} | |
| function getCardRank(uint8 card) private pure returns (uint8 rank) { | |
| require(card < 52); |
| few usefull scripts to configure and install a new development machine. | |
| every file contains staff to be installed in a selected way, every line is for kind of develpers / development process. |
| ;this script replaces `F22` button with middle mouse click. | |
| ;F22 button is is the trigger fired on touchpad three fingers click | |
| ;compile it and put it in your startup directory | |
| #Persistent | |
| <#^+F22::Send {mbutton} |