Skip to content

Instantly share code, notes, and snippets.

View silversonicaxel's full-sized avatar
🎵
Rock `n´ Roll will never die!

Alessandro Rabitti silversonicaxel

🎵
Rock `n´ Roll will never die!
View GitHub Profile
> version of svn
$ svn --version
> information of the current branch
$ svn info
> Checkout the repository
$ svn checkout <new-url> <directory>
$ svn checkout -r <revision-id> <new-url> <directory>
@silversonicaxel
silversonicaxel / git-commands
Last active October 27, 2022 11:50
GIT #git #gitflow
> the installed direction of my git
$ which git
> version of git
$ git --version
> Ignore list is a file in the base folder
.gitignore
@silversonicaxel
silversonicaxel / wordpress-cli
Last active March 21, 2018 11:02
WORDPRESS #wordpress
//installation of wordpress client
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
//check if it works
php wp-cli.phar --info
//setting permissions and scope (UNIX environment)
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
@silversonicaxel
silversonicaxel / filesystem
Last active April 24, 2019 08:30
UNIX SHELL COMMANDS #unix
// check size of a folder and its subfolders
du -h your_directory
@silversonicaxel
silversonicaxel / photoshop-tips
Last active March 21, 2018 11:01
PHOTOSHOP #photoshop
#resize retina design
Image > Image Size
Set Document Size to width 50%
@silversonicaxel
silversonicaxel / sql-commands
Last active March 21, 2018 11:01
SQL #sql #bash
// import database
mysql -u [server_user] -p big_database_name < big_database.sql
@silversonicaxel
silversonicaxel / npm-commands
Last active August 6, 2018 16:27
NODE #node #nodejs #packagejson
// create a package.json file asking for
// - name (node)
// - version (1.0.0)
// - description ()
// - author ()
npm init
// version of npm installed
npm -v
@silversonicaxel
silversonicaxel / ionic-commands
Last active March 21, 2018 10:59
IONIC #ionic #angularjs
#check info of ionic versioning
$ ionic info
#automatic creation of a boilerplate for an application
#application => application name
#template => template name tabs | sidemenu | blank
$ ionic start [application] [template]
#creation of a web server to view the application
@silversonicaxel
silversonicaxel / nvm-commands
Last active March 21, 2018 10:59
NVM #nodejs #nvm
// install node version
nvm install 7.0.0
nvm install 4.7.3
// use differen node version
nvm use 7.0.0
// list versions of node
nvm list
@silversonicaxel
silversonicaxel / jql-filters
Last active March 21, 2018 10:59
JQL #jira #sql
// current assignee
project = "PROJECT_NAME" AND assignee is not EMPTY
// last created tickets
project = "PROJECT_NAME" ORDER BY id DESC
// blocked tickets on a status for the last X days
project = "PROJECT_NAME" AND
(status = "In Progress" AND status changed to "In Progress" before -[X]d OR status = "Review" AND status changed to "Review" before -[X]d)
ORDER BY status ASC