If .DS_Store was never added to your git repository, simply add it to your .gitignore file.
.gitignore
In your the root directory of your app and simply write
from flask import Flask | |
from flask import request | |
import requests | |
from jaeger_client import Config | |
from flask_opentracing import FlaskTracer | |
import opentracing | |
app = Flask(__name__) |
/** | |
* Translates a string to a Thai slug format. | |
* @param {string} inputString - The string to translate. | |
* @returns {string} The translated string. | |
*/ | |
function toThaiSlug(inputString) { | |
// Replace spaces with hyphens | |
let slug = inputString.replace(/\s+/g, '-'); | |
// Translate some characters to Thai |
Docker provides download links in release note. They promised that
(we) will also include download links in release notes for future releases.
Note:
Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.
//: # Swift 3: Working with dates | |
import Foundation | |
let date = Date() | |
let myLocale = Locale(identifier: "bg_BG") | |
//: ### Setting an application-wide `TimeZone` | |
//: Notice how we use if-let in case the abbreviation is wrong. It will fallback to the default timezone in that case. | |
if let myTimezone = TimeZone(abbreviation: "EEST") { | |
print("\(myTimezone.identifier)") |
server { | |
listen 80; | |
server_name localhost; | |
root /Users/YOUR_USERNAME/Sites; | |
access_log /Library/Logs/default.access.log main; | |
location / { | |
include /usr/local/etc/nginx/conf.d/php-fpm; | |
} |
Here's an example application that uses the pattern detailed below: https://github.com/tantastik/talent-curator
This document is an attempt to describe the first step of a large project structure with flask and some basic modules:
Please feel free to fix and add your own tips.
<?php | |
//Error Checking | |
error_reporting(E_ALL); | |
ini_set('display_errors', '1'); | |
//Set User domain extention | |
$LDAPUserDomain = "@my.domain"; //Needs the @, but not always the same as the LDAP server domain | |
?><form name="input" action="ldap.php" method="post"> | |
Username: <input type="text" name="u"> <?php echo $LDAPUserDomain;?><br /> | |
Password: <input type="password" name="p"> |