Skip to content

Instantly share code, notes, and snippets.

View SpiralOutDotEu's full-sized avatar
🤯
If ZK hasn't profoundly shocked you, you haven't understood it yet

Nikos Koumbakis SpiralOutDotEu

🤯
If ZK hasn't profoundly shocked you, you haven't understood it yet
View GitHub Profile
@SpiralOutDotEu
SpiralOutDotEu / installNodeJS.md
Last active June 20, 2016 15:41
install nodejs in ubuntu 16
@SpiralOutDotEu
SpiralOutDotEu / getOwnershipToNodeModules.md
Last active June 20, 2016 17:13
get ownership to node_modules

sudo chown -R username /usr/local/lib/node_modules/

@SpiralOutDotEu
SpiralOutDotEu / functions.php
Created October 14, 2016 16:07
WordPress Child Theme Template
<?php
/**
*
* This is the basic you need to enque parent stylesheet.
* If you need to overload parent function, check if in parent the function is declared ` if(!(function))`
*
**/
?>
<?php
function my_theme_enqueue_styles() {
@SpiralOutDotEu
SpiralOutDotEu / index.html
Created October 26, 2016 14:31 — forked from julienhay/index.html
Base template, jquery, jquery UI, bootstrap (CDN)
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>test</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
FROM ubuntu:16.04
RUN PACKAGES="\
php-cli \
php-mysql \
php-intl \
php-xml \
php-curl \
php-dom \
" && \
@SpiralOutDotEu
SpiralOutDotEu / auth.service.ts
Created September 4, 2017 18:56 — forked from codediodeio/auth.service.ts
Angular4 Firebase authentication service using OAuth, Anonymous, and Email/Password. Designed specifically for changes introduced in AngularFire2 4.0.0
import { Injectable } from '@angular/core';
import { AngularFireDatabaseModule, AngularFireDatabase, FirebaseListObservable } from 'angularfire2/database';
import { AngularFireAuth } from 'angularfire2/auth';
import { Router } from "@angular/router";
import * as firebase from 'firebase';
@Injectable()
export class AuthService {
@SpiralOutDotEu
SpiralOutDotEu / app.component.ts
Created September 14, 2017 17:11 — forked from borchsenius/app.component.ts
Angular 2 meets Openlayers 3
import {Component, OnInit} from 'angular2/core';
declare var ol: any;
@Component({
selector: 'my-map-app',
template: `<h1>My first openlayers 3 Angular 2 App</h1>
<div id="map" class="map"></div>
`
})
@SpiralOutDotEu
SpiralOutDotEu / index.html
Created March 10, 2018 20:06
CSS only Responsive Menu - Hamburger
<!DOCTYPE html>
<html>
<head>
<title>Tutorial</title>
<link rel="stylesheet" type="text/css" href="main.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="nav">
@SpiralOutDotEu
SpiralOutDotEu / PASCAL VOC annotation.xml
Created June 7, 2019 16:39 — forked from Prasad9/annotation.xml
A sample XML annotation file based on Pascal VOC format.
<annotation>
<folder>GeneratedData_Train</folder>
<filename>000001.png</filename>
<path>/my/path/GeneratedData_Train/000001.png</path>
<source>
<database>Unknown</database>
</source>
<size>
<width>224</width>
<height>224</height>
# Make sure you grab the latest version
curl -OL https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip
# Unzip
unzip protoc-3.5.1-linux-x86_64.zip -d protoc3
# Move protoc to /usr/local/bin/
sudo mv protoc3/bin/* /usr/local/bin/
# Move protoc3/include to /usr/local/include/