Skip to content

Instantly share code, notes, and snippets.

View cleberjamaral's full-sized avatar
🎯

Cleber Jorge Amaral cleberjamaral

🎯
View GitHub Profile
@cleberjamaral
cleberjamaral / position_statement.md
Last active February 9, 2021 11:40
Position statement

Position Statement

Cleber Jorge Amaral - PhD student at the Universidade Federal de Santa Catarina (UFSC)

It is impossible to think about our lives, as humans, without the Web. The Web is everywhere and growing each day. Indeed, it is continuously touching more people, more human agents, each day. The same seems to apply to artificial agents, i.e., many of them are already connected, to some degree depending on the Web for consuming information and acting upon it, and this condition tends to expand. I am looking forward to discussing in the Dagstuhl seminar how artificial agents can take advantage of the Web and how the programming of agents should evolve in order to contribute to the Web's evolution.

Personally, I have a few key questions regarding agents for the Web and more basic tooling in which the agents for the Web would also need.

Mainstream adoption and necessary tooling

We can see large investments and research progress in the domains of chatbots, recommender systems, and many other type

@cleberjamaral
cleberjamaral / create-user-on-sudoers-add-key-linux.md
Created April 12, 2020 23:53
Create user on sudoers and add key on Linux

Create a local user on sudoers

  1. $ sudo adduser username
  2. Set a local password and user info
  3. $ usermod -aG sudo username
  4. Test the user $ su - username

Send a key from a machine to another and add it on authorized keys

  1. Still logged as 'username', create .ssh folder for 'username' $ mkdir ~/.ssh
@cleberjamaral
cleberjamaral / kubernetes-useful-commands.md
Last active April 18, 2020 06:12
Kubernetes useful commands

Useful commands for microk8s

  • List resources $ microk8s.kubectl get
  • Show detailed information about a resource $ microk8s.kubectl describe
  • Print the logs from a container in a pod $ microk8s.kubectl logs
  • Execute a command on a container in a pod $ microk8s.kubectl exec
  • Get all info from all namespaces $ microk8s.kubectl get all --all-namespaces
  • Get node log $ microk8s.kubectl describe nodes

Sources:

@cleberjamaral
cleberjamaral / Signpost-correlative-conjunctions.md
Created March 30, 2020 00:20
Signpost of correlative conjunctions

Correlative conjunctions

@cleberjamaral
cleberjamaral / Git-undo-local-changes.md
Last active February 25, 2020 03:21
Git-undo-local-changes

Git undoing local changes

  • Undoing git add / Unstaging changes git reset

  • Undoing a git reset git reset 'HEAD@{1}'

  • Undoing a git commit git reset HEAD^

Ignoring files which names matches the given pattern

# specific file
given_name

# files with extension "ext"
*.ext

# files with extension "ext" only in root folder

Editing checklist

Spelling

Have you checked all words you’re unsure of in a dictionary (especially commonly confused words such as: all right, all together, definitely, persuade).

Grammar

Are sentences grammatical? Does every sentence have at least a subject and a verb? Are there any comma splices or sentence fragments? Do nouns and verbs agree (e.g., singular with singular, plural with plural)?

Tense

Are tenses consistent (e.g., present or past, not inappropriately mixed)?

Punctuation

Are commas correctly placed? Have you used too many? Have you used apostrophes correctly? Have you used a semi-colon instead of a colon, or vice versa? Have you divided a sentence with a semi-colon instead of a comma?

@cleberjamaral
cleberjamaral / creating-a-HTML-from-a-markdown-file.md
Last active February 10, 2020 07:46
Creating a HTML from this markdown file

Creating a HTML from this markdown file

  1. Open the md file in atom editor
  2. Check its preview in Packages > Markdown Preview
  3. Right click on the preview selecting "Copy As HTML"
  4. Paste in the html the content

more details are given by Ian Lurie

@cleberjamaral
cleberjamaral / Merging-branch-into-master.md
Last active February 9, 2020 23:42
Merging git branch into master

Merging git branch into master

  1. go to master git checkout master

  2. make sure it is updated solving conflicts if they exist git pull origin master

  3. merge with the branch (list of branchs can be obtained by git branch) git merge branch_name