As configured in my dotfiles.
start new:
tmux
start new with session name:
| interface Usuario { | |
| id?: number; | |
| name: String; | |
| } | |
| interface SUsuario { | |
| idUsuario: number; | |
| } | |
| const x: Usuario[] = [{ name: "x" }, { id: 1, name: "y" }]; |
| #!/usr/bin/env bash | |
| # This script was made to facilitate debug tests and other cli running on docker | |
| # on your editor/ide | |
| # | |
| # For vscode, you just have to configure the `serverSourceRoot` on your launch.json | |
| # file. | |
| # For phpstorm you have to create a server named `debug`. | |
| # | |
| # You can use this script as the php binary. Like this: |
| #!/bin/bash | |
| ### star_create_project project_name | |
| ProjectName="$1" | |
| wget -O "$ProjectName.zip" https://github.com/beeblebrox3/star/archive/master.zip | |
| unzip "$ProjectName.zip" | |
| mv star-master "$ProjectName" | |
| rm "$ProjectName.zip" | |
| cd "$ProjectName" |
| #!/bin/bash | |
| ### star_create_project project_name | |
| ProjectName="$1" | |
| wget -O "$ProjectName.zip" https://github.com/beeblebrox3/star/archive/master.zip | |
| unzip "$ProjectName.zip" | |
| mv star-master "$ProjectName" | |
| rm "$ProjectName.zip" | |
| cd "$ProjectName" |
| import App from "app"; | |
| const Pages = App.components.pages; | |
| const Router = App.service("ROUTER"); | |
| Router.setDefaultLayout(App.components.Application); | |
| Router.setDefaultTitle("Elydi"); | |
| Router.addRoute("/", Pages.Home); | |
| Router.addRoute("/another-home", Pages.Home); |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| import App from "app"; | |
| const Router = App.ServicesContainer.get("ROUTER"); | |
| const Pages = App.components.pages; | |
| Router.setDefaultLayout(App.components.Application); | |
| Router.addResolver("movieID", (param, context, next) => { | |
| App.ServicesContainer.get("Movies").get(param, (movie) => { | |
| context.params.movie = movie; |
| "***************************************************************************** | |
| "" Vim-PLug core | |
| "***************************************************************************** | |
| if has('vim_starting') | |
| set nocompatible " Be iMproved | |
| endif | |
| let vimplug_exists=expand('~/.vim/autoload/plug.vim') | |
| let g:vim_bootstrap_langs = "html,javascript,php,python" |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| class Xpto | |
| { | |
| private $data = array ( | |
| 'a' => 'b', | |
| ); | |
| public $b = '1'; |