In 1991, while studying computer science at University of Helsinki,
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rofi usage: | |
| rofi [-options ...] | |
| Command line only options: | |
| -no-config Do not load configuration, use default values. | |
| -v,-version Print the version number and exit. | |
| -dmenu Start in dmenu mode. | |
| -display [string] X server to contact. | |
| ${DISPLAY} | |
| -h,-help This help message. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (require 'package) | |
| (let* ((no-ssl (and (memq system-type '(windows-nt ms-dos)) | |
| (not (gnutls-available-p)))) | |
| (proto (if no-ssl "http" "https"))) | |
| ;; Comment/uncomment these two lines to enable/disable MELPA and MELPA Stable as desired | |
| (add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t) | |
| ;;(add-to-list 'package-archives (cons "melpa-stable" (concat proto "://stable.melpa.org/packages/")) t) | |
| (when (< emacs-major-version 24) | |
| ;; For important compatibility libraries like cl-lib | |
| (add-to-list 'package-archives (cons "gnu" (concat proto "://elpa.gnu.org/packages/"))))) |
Faça um programa que peça para o usuário pensar em número de 1 a 4 e depois pergunte se o número é maior que 2 (S-Sim ou N-Não), e caso seja maior que 2, pergunte se ele é maior que 3, ou caso não seja maior que 2, pergunte se é maior que 1. Ao final o programa deve mostrar o número que o usuário pensou.
#include <stdio.h>
#include <stdlib.h>
int main()Faça um programa que peça para o usuário pensar em número de 1 a 4 e depois pergunte se o número é maior que 2 (S-Sim ou N-Não), e caso seja maior que 2, pergunte se ele é maior que 3, ou caso não seja maior que 2, pergunte se é maior que 1. Ao final o programa deve mostrar o número que o usuário pensou.
#include <stdio.h>
#include <stdlib.h>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| clear && | |
| apt -y update && | |
| apt -y dist-upgrade && | |
| apt -y autoremove && | |
| apt -y autoclean && | |
| apt -y install i3 rofi ranger xorg-dev xcape rubygems lxappearance leafpad calibre zathura zathura-pdf-poppler qbittorrent uget xclip dmenu checkinstall lxde unclutter arandr xbindkeys font-manager atool silversearcher-ag clang aspell-pt-br pandoc markdown xsel xdotool lxde-settings-daemon make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl w3m-img && | |
| apt -y autoremove && | |
| apt -y autoclean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| floating_modifier $mod | |
| font xft:URWGothic-Book 11 | |
| new_window normal | |
| new_float normal | |
| hide_edge_borders none | |
| set $mod Mod4 | |
| set $alt Mod1 | |
| show_marks yes | |
| focus_follows_mouse yes | |
| popup_during_fullscreen ignore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| floating_modifier $mod | |
| font xft:URWGothic-Book 11 | |
| new_window normal | |
| new_float normal | |
| hide_edge_borders none | |
| set $mod Mod4 | |
| set $alt Mod1 | |
| show_marks yes | |
| focus_follows_mouse yes | |
| popup_during_fullscreen ignore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| source ~/.bash_aliases | |
| tmux new-session -ds 0 > /dev/null 2>&1 | |
| tmux new-session -ds 1 > /dev/null 2>&1 | |
| tmux new-session -ds 2 > /dev/null 2>&1 | |
| tmux new-session -ds 3 > /dev/null 2>&1 | |
| tmux new-session -ds 4 > /dev/null 2>&1 | |
| tmux new-session -ds 5 > /dev/null 2>&1 | |
| tmux new-session -ds 6 > /dev/null 2>&1 |