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
import random | |
import sys | |
def main(names): | |
random.shuffle(names) | |
print('\033[93m' + 'Team 1: ' + ', '.join(names[:(len(names) // 2)]) + '\n\033[92mTeam 2: ' + ', '.join(names[(len(names) // 2):]) + '\033[0m') | |
if __name__ == '__main__': | |
main(sys.argv[1:]) |
Create openssl.cnf
and add:
openssl_conf = default_conf
[ default_conf ]
ssl_conf = ssl_sect
[ssl_sect]
system_default = system_default_sect
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
<reporting> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-pmd-plugin</artifactId> | |
<version>3.7</version> | |
<configuration> | |
<sourceEncoding>utf-8</sourceEncoding> | |
<language>java</language> | |
<verbose>true</verbose> |
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
<VirtualHost *:80> | |
ServerAdmin admin@admin.com | |
DocumentRoot "__LARAVEL_PUBLIC_DIR__" | |
ServerName dev | |
ErrorLog "logs/dev-error.log" | |
CustomLog "logs/dev-access.log" common | |
<Directory "__LARAVEL_PUBLIC_DIR__"> | |
Options Indexes FollowSymLinks | |
AllowOverride All |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:svg="http://www.w3.org/2000/svg"> | |
<fo:layout-master-set> | |
<fo:simple-page-master master-name="default-page" page-height="8.2604in" page-width="11.6875in" margin-left="0.7in" margin-right="0.7in"> | |
<fo:region-body margin-top="0.75in" margin-bottom="0.75in"/> | |
<fo:region-before extent="0.75in"/> | |
<fo:region-after extent="0.75in"/> | |
</fo:simple-page-master> | |
</fo:layout-master-set> | |
<fo:page-sequence master-reference="default-page" format="1" initial-page-number="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
import random | |
import sys | |
def main(names): | |
random.shuffle(names) | |
print '\033[93m' + 'Team 1: ' + ', '.join(names[:(len(names) / 2)]) + '\n\033[92mTeam 2: ' + ', '.join(names[(len(names) / 2):]) + '\033[0m' | |
if __name__ == '__main__': | |
main(sys.argv[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
private int compare(String vx, String vy) | |
{ | |
String[] vxL = vx.split("\\."); | |
String[] vyL = vy.split("\\."); | |
final int xSize = vxL.length, ySize = vyL.length, size = Math.max(xSize, ySize); | |
Integer iVx, iVy; | |
int i, diff; |
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
<code_scheme name="CleanCode"> | |
<codeStyleSettings language="CSS"> | |
<indentOptions> | |
<option name="USE_TAB_CHARACTER" value="true"/> | |
</indentOptions> | |
</codeStyleSettings> | |
<codeStyleSettings language="HTML"> | |
<option name="RIGHT_MARGIN" value="500"/> | |
<indentOptions> | |
<option name="USE_TAB_CHARACTER" value="true"/> |
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
Show hidden characters
{ | |
"maxerr": 50, | |
"bitwise": false, | |
"camelcase": false, | |
"curly": false, | |
"eqeqeq": true, | |
"forin": false, | |
"freeze": true, | |
"immed": false, | |
"indent": 4, |
NewerOlder