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 / 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 / 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/
@SpiralOutDotEu
SpiralOutDotEu / pypi-cheatsheet.md
Last active September 23, 2019 19:43 — forked from audreyfeldroy/pypi-release-checklist.md
My PyPI Release Checklist

build

python3 setup.py sdist bdist_wheel

travis encrypt

travis encrypt my_password --add deploy.password

bump2version

@SpiralOutDotEu
SpiralOutDotEu / git-clearHistory
Created September 24, 2019 15:01 — forked from stephenhardy/git-clearHistory
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default