Skip to content

Instantly share code, notes, and snippets.

View ademilter's full-sized avatar

Adem ilter ademilter

View GitHub Profile
ul.menu li a:link,
ul.menu li a:hover,
ul.menu li a:focus,
ul.menu li a:visited {
color:red;
}
ul.menu li a:matches(:link,:hover,:focus,:visited) {
color:red;
}
ul.menu li a:matches(.active,.visible,#important) {
color:red;
}
ul.menu li a:not(.active,.visible) {
color:red;
}
@ademilter
ademilter / gulpfile.js
Created December 29, 2015 21:30 — forked from o/gulpfile.js
test for @ademilter
var gulp = require('gulp');
gulp.task('copy', function () {
return gulp
.src('index.js')
.pipe(gulp.dest('dist'))
})
@ademilter
ademilter / video-css
Created January 24, 2014 00:09
background-video-embed-withh-css
.Cover__video-source {
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
transform: translateX(-50%) translateY(-50%);
import scala.collection.mutable
import scala.util.Random
/**
* Created by husrev on 10/02/16.
*/
object HelloApp extends App {
type Point = (Int, Int)
type Trace = List[Point]
<?php
$sources = array();
$keys = get_post_custom_keys();
foreach ((array)$keys as $key) {
$keyt = trim($key);
if (is_protected_meta($keyt, 'post'))
continue;
$values = array_map('trim', get_post_custom_values($key));
{
"window.zoomLevel": 0.6,
"editor.fontSize": 14,
"editor.lineHeight": 24,
"editor.wordWrap": true,
"editor.fontLigatures": true,
"editor.fontFamily": "Fira Code",
"editor.tabSize": 2,
"files.autoSave": "onFocusChange",
"terminal.external.osxExec": "iTerm.app",
@ademilter
ademilter / sql-mongo_comparison.md
Created February 16, 2017 13:54 — forked from aponxi/sql-mongo_comparison.md
MongoDb Cheat Sheets

SQL to MongoDB Mapping Chart

SQL to MongoDB Mapping Chart

In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.

Executables

The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.