Skip to content

Instantly share code, notes, and snippets.

View petrosh's full-sized avatar

Alex Petrosh petrosh

View GitHub Profile
@petrosh
petrosh / 1-github-repository.sh
Last active December 19, 2015 16:38
Useful shell comands
# JEKYLL miscellanea ------------
# update jekyll
$ gem install jekyll
# version
$ jekyll -v
# testing with
$ jekyll serve
@petrosh
petrosh / raveup-catalog.md
Last active October 31, 2016 18:57
Rave Up catalog
@petrosh
petrosh / gist:6436686
Last active December 22, 2015 07:18 — forked from elparkino/gist:5450088
<?php
// jQuery version of https://gist.github.com/3110728
/*
-- the SQL database table
create table form_ajax (
ID varchar(5) not null,
Name varchar(100),
Address varchar(100),
@petrosh
petrosh / quasar.md
Last active December 22, 2015 12:49
Quasar overview

Preventivo flectarea

  • Cliente: Istituto Quasar.
  • Data: 9 settembre 2013.

Sintesi

Le modifiche proposte per il sito istitutoquasar.com richiedono l'implementazione di una nuova area di amministrazione, oltre che di nuove routine di caricamento dei dati nelle pagine. Sono inoltre necessari lavori di modifica delle tabelle del database e l'aggiunta di nuove tabelle per le nuove funzionalità richieste.

@petrosh
petrosh / simple-modal.css
Last active December 24, 2015 05:28
Simple modal box as seen on http://stackoverflow.com/a/11090278
/**
* White
*
*/
#modal-background {
display: none;
position: fixed;
top: 0;
left: 0;
@petrosh
petrosh / Versioning.md
Last active December 25, 2015 18:29
Versioning

Versioning

For transparency and insight into our release cycle, and for striving to maintain backward compatibility, this project is maintained according to the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the following format:

<major>.<minor>.<patch>-<build>

Constructed with the following guidelines:

@petrosh
petrosh / npm.sh
Last active December 27, 2015 11:18
npm install
localhost:gitrap petrosh $ npm install .
npm WARN package.json Gitrap@0.0.1 No repository field.
npm http GET https://registry.npmjs.org/hr.js/0.1.1
npm http 304 https://registry.npmjs.org/hr.js/0.1.1
npm http GET https://registry.npmjs.org/wrench/1.5.1
npm http GET https://registry.npmjs.org/commander/1.1.1
npm http GET https://registry.npmjs.org/cli-color/0.2.2
npm http GET https://registry.npmjs.org/express/3.0.0
npm http GET https://registry.npmjs.org/watchr/2.4.3
npm http GET https://registry.npmjs.org/less/1.3.3
@petrosh
petrosh / node-hr.md
Created November 12, 2013 15:00
node & happy rhino startup

PATH

$ pico ~/.bash_profile
export PATH=$HOME/local/node/bin:$PATH
source ~/local/node/lib/node_modules/npm/lib/utils/completion.sh

VERSIONS

@petrosh
petrosh / gist-feed.md
Last active August 5, 2021 10:35
Gist Feed

Someone should make...

Github gist feed.
So you can see what people you follow are pasting in Github.

You can:

  • create a gist feed for code reference
  • show gists by keyword, language, or follower
  • enable replies and favoriting
@petrosh
petrosh / css-snippets.css
Last active March 1, 2022 16:03
Snippets
/* http://coding.smashingmagazine.com/2013/08/20/semantic-css-with-intelligent-selectors/ */
[rel="prev"] {
/* styling for "previous links" */
}
[role="button"] {
/* semantic CSS for modified elements that are announced as “button” in assistive technologies */
}