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
# Logs | |
logs | |
*.log | |
# Runtime data | |
pids | |
*.pid | |
*.seed | |
# Directory for instrumented libs generated by jscoverage/JSCover |
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
rewrite ^(.*)$ /public/$1 break; | |
location / { | |
index index.php index.html; | |
try_files $uri $uri/ /index.php?$args; | |
} | |
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
/* | |
Theme Name: AhmadNaser Responsive WebSite CSS BASE | |
Theme URI: http://ahmadnaser.com/ | |
Author: AhmadNaser | |
*/ | |
/* | |
=============================================== 01. BASE STYLES (1140px) =============================================== |
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
using UnityEngine; | |
using System.Collections; | |
public class SingleLine : MonoBehaviour { | |
public GameObject circlePointPrefab; | |
public GameObject currentLineRenderer; | |
public GameObject lineRendererPrefab; | |
public Material drawingMaterial; | |
private Vector3 previousPosition,currentPostion; | |
private bool clickStarted; |
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
JavaScript learning resources. | |
Starting point for those, who have already learned JS, but forgotten. Good article. Quite compact. | |
https://developer.mozilla.org/en/JavaScript/A_re-introduction_to_JavaScript | |
Question: what's the best learning source on JS. Some answers. | |
http://stackoverflow.com/questions/11246/best-resources-to-learn-javascript | |
http://stackoverflow.com/questions/2687566/learning-javascript-in-one-weekend | |
http://net.tutsplus.com/tutorials/javascript-ajax/the-best-way-to-learn-javascript/ |
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
using UnityEngine; | |
using System.Collections; | |
public class MultipleLines : MonoBehaviour | |
{ | |
public GameObject circlePointPrefab; | |
public GameObject currentLineRenderer; | |
public GameObject lineRendererPrefab; | |
public Material drawingMaterial; | |
private Vector3 previousPosition, currentPostion; |
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
in the end </head> of template folder, go to the selected theme index.php and apply following code | |
///Developed By Ahmad Naser Turnkey Solutions LLC - Greenbackend.com | |
///http://greenbackend.com/developer-hosting | |
///www.greenbackend.com | |
// www.khottah.com | |
///greenbackend@ahmadnaser.com | |
///copyright © 2018 ANTS LLC. All rights reserved. |
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
wp-config.php ---> define('ENABLE_CACHE', true); | |
php.ini ---> memory_limit = 6144M | |
install wp plugin --> w3-total-cache | |
optimize table in phpmyadmin |
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
using UnityEngine; | |
using UnityEngine.UI; | |
using System.Collections; | |
using UnityEngine.SceneManagement; | |
public class LoadingScreenManager : MonoBehaviour { | |
[Header("Loading Visuals")] | |
public Image loadingIcon; | |
public Image loadingDoneIcon; |
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
//Shared on Ahmad Naser.com | |
func PlayAudioInSwift3() { | |
var player = AVAudioPlayer() | |
let audioPath = Bundle.main().pathForResource("2-loader", ofType: "mp3") | |
NewerOlder