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
var gulp = require('gulp'); | |
var changed = require('gulp-changed'); | |
var jade = require('gulp-jade'); | |
var stylus = require('gulp-stylus'); | |
var minify = require('gulp-cssmin'); | |
var coffee = require('gulp-coffee'); | |
var uglify = require('gulp-uglify'); | |
var rename = require('gulp-rename'); | |
var connect = require('gulp-connect'); | |
var sass = require('gulp-sass'); |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> | |
<head> | |
<title>Simple HTML With Meta Tags</title> | |
<!-- START OF META TAGS --> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- The meta content type tag is used to declare the character encoding of a website. It’s best to add this piece of information to prevent browsers from guessing the character encoding which can lead to display problems, but it doesn't influence rankings or CTR --> | |
<meta name=”description” content=”Here goes your site description” /> <!-- This tag used to have a lot more ranking power, but algorithm updates have diminished its effect. It won’t improve your ranking, however, the meta description tag can still be useful because it is used on search engine result pages. --> | |
<meta name=”keywords” content=”meta tags,search engine optimization” /> <!-- In the meta keywords tag you can store a co |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Matrix - GWSMaster</title> | |
<meta charset="utf-8"> | |
<style type="text/css"> | |
* {margin: 0; padding: 0;} | |
body {background: black;} | |
canvas {display: block;} | |
</style> |
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"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>fileTypes</key> | |
<array> | |
<string>styl</string> | |
<string>stylus</string> | |
</array> | |
<key>name</key> |
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"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>fileTypes</key> | |
<array> | |
<string>jade</string> | |
</array> | |
<key>keyEquivalent</key> | |
<string>^~J</string> |
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
function filterYoutubeURL($url) { | |
if (strpos($url, 'watch?v=') != false) { | |
$url = explode('=', $url); | |
if (strpos($url[1], '&') != false) { | |
$url = explode('&', $url[1]); | |
return $url[0]; | |
} else return $url[1]; | |
} else if (strpos($url, 'youtu.be/') != false) { | |
$url = preg_replace('/http:\/\/youtu.be\//', '', $url); | |
$url = preg_replace('/https:\/\/youtu.be\//', '', $url); |
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
// Run this after connection | |
mysql_query("SET character_set_results = 'utf8', character_set_client = 'utf8', character_set_connection = 'utf8', character_set_database = 'utf8', character_set_server = 'utf8'") |
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
// | |
// main.cpp | |
// diskriminant | |
// | |
// Created by GWSMaster on 08.10.14. | |
// Copyright (c) 2014 GWSMaster. All rights reserved. | |
// | |
#include <iostream> | |
#include <cmath> |
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
// | |
// amocana1 | |
// | |
// Created by GWSMaster on 08.10.14. | |
// Copyright (c) 2014 GWSMaster. All rights reserved. | |
// | |
#include <iostream> | |
using namespace std; |
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 java.util.Scanner; | |
public class Quadratic { | |
public static void main(String[] args) { | |
double a,b,c,d,x1,x2; | |
Scanner scanner = new Scanner(System.in); | |
System.out.print("Sheiyvanet a koeficienti: "); | |
a = scanner.nextDouble(); | |
System.out.print("Sheiyvanet b koeficienti: "); |
OlderNewer