You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'.
Consider something like:
| CREATE TABLE IF NOT EXISTS `country` ( | |
| `id` int(11) NOT NULL AUTO_INCREMENT, | |
| `iso` char(2) NOT NULL, | |
| `name` varchar(80) NOT NULL, | |
| `nicename` varchar(80) NOT NULL, | |
| `iso3` char(3) DEFAULT NULL, | |
| `numcode` smallint(6) DEFAULT NULL, | |
| `phonecode` int(5) NOT NULL, | |
| PRIMARY KEY (`id`) | |
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; |
| package core; | |
| public class Base58 { | |
| private static final char[] ALPHABET = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz" | |
| .toCharArray(); | |
| private static final int BASE_58 = ALPHABET.length; | |
| private static final int BASE_256 = 256; | |
| private static final int[] INDEXES = new int[128]; |
| #!/usr/bin/env bash | |
| # Compress MySQL tables on disk. | |
| # Author: Andrew Berry, [email protected] | |
| # | |
| # Compress all tables in a MySQL InnoDB database using compression from the | |
| # Barracuda table format. Tables have to already be in the Barracuda file | |
| # format to actually compress tables, otherwise the table setting is ignored. | |
| # | |
| # innodb_file_per_table = 1 MUST be set in my.cnf for compression to work. |
| import bb.cascades 1.0 | |
| Page { | |
| content: Container { | |
| Label { | |
| id: emailLabel | |
| text: qsTr("Email") | |
| } | |
| Label { | |
| id: urlLabel |
| #!/bin/bash | |
| # Setup | |
| # | |
| # - Create a new Jenkins Job | |
| # - Mark "None" for Source Control Management | |
| # - Select the "Build Periodically" build trigger | |
| # - configure to run as frequently as you like | |
| # - Add a new "Execute Shell" build step | |
| # - Paste the contents of this file as the command |
| c++ | |
| long result = getByte() & 0xFF; | |
| result |= (getByte() & 0xFF) << 8; | |
| result |= (getByte() & 0xFF) << 16; | |
| result |= (getByte() & 0xFF) << 24; | |
| result |= (getByte() & 0xFF) << 32; | |
| result |= (getByte() & 0xFF) << 40; | |
| result |= (getByte() & 0xFF) << 48; | |
| result |= (getByte() & 0xFF) << 56; | |
| git config --global https.proxy http://127.0.0.1:1080 | |
| git config --global https.proxy https://127.0.0.1:1080 | |
| git config --global --unset http.proxy | |
| git config --global --unset https.proxy | |
| npm config delete proxy |
| /* | |
| * Copyright 2015 Thomas Broyer | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| #!/bin/bash | |
| # successful "mvn clean install" or a variant thereof (e.g. -DskipTests) | |
| # is typically required before running this script | |
| REPOSITORY_ID=... | |
| REPOSITORY_URL=... | |
| mvn clean source:jar |