Skip to content

Instantly share code, notes, and snippets.

View sembug's full-sized avatar
💭
Development

Roberto Nunes sembug

💭
Development
View GitHub Profile
@sembug
sembug / add.sh
Last active March 27, 2021 11:00 — forked from gparlakov/add.sh
Add angular apps of a specific version
#Angular 2:the last RC version before switching to angular 4 as far as I can tell — based on this and the next version now depends on angular
npx -p @angular/cli@1.0.0-rc.2 ng new angular2app
#Angular 4: the last CLI version before angular 5
npx -p @angular/cli@1.4.10 ng new angular4app
#Angular 5: the last CLI version before 6
npx -p @angular/cli@1.7.4 ng new angular5app
#Angular 6: the last CLI version before 7
@sembug
sembug / Antonyms.md
Created May 12, 2020 14:39 — forked from maxtruxa/Antonyms.md
A list of common terms used in programming and their respective antonyms.

Antonym List

Note: The table headings (positive/negative) are not necessarily meaningful.

Positive Negative
acquire release
add remove (e.g. an item), subtract (arithmetic)
advance retreat
allocate deallocate (correct), free (common)
allow deny
@sembug
sembug / docker_cheatsheet.md
Created March 2, 2017 18:09 — forked from jctosta/docker_cheatsheet.md
Docker - Comandos Úteis

Docker - Comandos Úteis

Containers

  • Abrir um shell em um container em execução:
    • docker exec -t -i <container_id> <shell>

Limpeza

  • Excluir containers com status equivalente a Exited:
@sembug
sembug / README.md
Created November 5, 2015 22:45 — forked from hofmannsven/README.md
This is my global Git/Bash userprofile.All files are named with a dot at the beginning (e.g. ~/.bash_profile, ~/.git-completion.bash, ~/.git-prompt.sh, ~/.gitconfig, ~/.gitignore_global)
@sembug
sembug / README.md
Created November 5, 2015 22:45 — forked from hofmannsven/README.md
Simple Command Line Cheatsheet
@sembug
sembug / README.md
Created November 5, 2015 22:44 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@sembug
sembug / Link.php
Last active August 29, 2015 14:21 — forked from kpodemski/Link.php
@sembug
sembug / lazy-slider.js
Created May 18, 2012 11:31 — forked from berinhard/lazy-slider.js
Javascript slider with lazyload
$(function(){
//Lazyload function
$.fn.lazyload = function(){
var image = $(this);
if (image.attr('real-src')){
image.attr('src', image.attr('real-src'));
image.removeAttr('real-src');
}
return this;