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
<?php if ( post_password_required() ) { return; } ?> | |
<section id="comments" class="themeform"> | |
<?php if ( have_comments() ) : global $wp_query; ?> | |
<h3 class="heading"><?php comments_number( __( 'No Responses', 'hueman' ), __( '1 Response', 'hueman' ), __( '% Responses', 'hueman' ) ); ?></h3> | |
<ul class="comment-tabs group"> | |
<li class="active"><a href="#commentlist-container"><i class="fa fa-comments-o"></i><?php _e( 'Comments', 'hueman' ); ?><span><?php echo count($wp_query->comments_by_type['comment']); ?></span></a></li> |
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
<?php | |
/** | |
* Generate an xml sitemap for Pico | |
* | |
* @author Dave Kinsella | |
* @link https://github.com/Techn0tic/Pico_Sitemap | |
* @license http://opensource.org/licenses/MIT | |
* | |
* @author Tom Witkowski |
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
/* | |
File: init.sqf | |
Author: Tom Witkowski (Gummibeer) | |
URI: https://github.com/Gummibeer | |
*/ | |
private[ "_skillLevel", "_enemySide", "_enemyMen", "_enemyVehicles", "_enemyMenDensities", "_enemyVehicleDensities", "_civPopulations", "_types", "_markers", "_name", "_sizeArray", "_sizeA", "_sizeB", "_size", "_position", "_type", "_enemyMenDensity", "_enemyVehicle", "_enemyVehicleDensity", "_civPopulation", "_marker", "_text" ]; | |
_skillLevel = 1; | |
_enemySide = 2; |
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
CREATE DATABASE newuser_db; | |
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON `newuser\_%` . * TO 'newuser'@'localhost'; |
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
// https://material.google.com/style/color.html | |
@color-red-50: #FFEBEE; | |
@color-red-100: #FFCDD2; | |
@color-red-200: #EF9A9A; | |
@color-red-300: #E57373; | |
@color-red-400: #EF5350; | |
@color-red-500: #F44336; | |
@color-red-600: #E53935; | |
@color-red-700: #D32F2F; |
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 colorsys | |
def get_hsv(value): | |
if(not isinstance(value, str)): | |
value = value[1] | |
value = value.lstrip("#") | |
lv = len(value) | |
r, g, b = tuple(int(value[i:i + lv // 3], 16) for i in range(0, lv, lv // 3)) | |
return colorsys.rgb_to_hsv(r, g, b) |
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
_isSafePos = false; | |
_minDist = 250; | |
_building = objNull; | |
_itterations = 0; | |
_maxItterations = 5; | |
while {!_isSafePos && _itterations < _maxItterations} do { | |
_players = allPlayers - entities "HeadlessClient_F"; | |
_alivePlayers = []; | |
_playerPositions = []; |
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
git status --porcelain | while read -r a; do if [[ $a == M* ]] ; then FILE=`echo "$a" | awk '{print $2}'`; git commit -m "[ISSUE] $FILE" $FILE; fi 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
sudo apt-get install php7.1-zip php7.1-xml php7.1-imagick php7.1-gd php7.1-curl php7.1-mcrypt php7.1-mysql php7.1-geoip php7.1-sqlite3 php7.1-mbstring |
OlderNewer