Skip to content

Instantly share code, notes, and snippets.

View smartium's full-sized avatar

SMARTIUM smartium

View GitHub Profile
@smartium
smartium / index.html
Created October 25, 2021 05:41
Rotating Elements with Mouse and Touch
<figure id="pointer-container">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/pink-pointer.svg" alt id="pointer">
</figure>
qemu-system-aarch64 ^
-M virt ^
-cpu cortex-a57 ^
-accel tcg,thread=multi ^
-smp <NUCLEOS> ^
-m <MEMORIA_RAM> ^
-bios <CAMINHO_QEMU_EFI.fd> ^
-vnc localhost:0 ^
-device ramfb ^
-device ich9-usb-ehci1 ^
@smartium
smartium / cloudSettings
Last active April 6, 2021 07:57
Code-Server Sync Settings
{"lastUpload":"2021-04-06T07:57:47.174Z","extensionVersion":"v3.4.3"}
@smartium
smartium / archinstall.sh
Last active April 3, 2021 00:08
Arch Linux Install Script
!# /bin/bash
LRED='\033[01;31m'
GREEN='\033[0;32m'
LCYAN='\033[1;36m'
LBLUE='\033[1;34m'
LPURPLE='\033[0;35m'
DGRAY='\033[1;30m'
NC='\033[0m' # No Color
@smartium
smartium / answerfile
Created December 21, 2020 19:09 — forked from oofnikj/answerfile
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@smartium
smartium / bash profile.sh
Last active October 29, 2020 03:28
Bash Profile macOS
########################################################################################################################################
# FAZER ESSE LINK: ln -s /Users/luizinho/Library/Mobile\ Documents/com~apple~CloudDocs/OS\ X\ Preferences/bash_profile.txt .bash_profile
########################################################################################################################################
# Terminal colors
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -lGFh'
@smartium
smartium / gist:9adf66b14c1a0c21ce2a5505502067b6
Created September 27, 2020 14:16
Twitch Player with no Controls
<!-- Add a placeholder for the Twitch embed -->
<div id="twitch-embed"></div>
<!-- Load the Twitch embed script -->
<script src="https://player.twitch.tv/js/embed/v1.js"></script>
<!-- Create a Twitch.Player object. This will render within the placeholder div -->
<script type="text/javascript">
new Twitch.Player("twitch-embed", {
channel: "interaovivo",
@smartium
smartium / extensions
Last active September 22, 2020 18:33
Extensions Sync
{"extensions@abteil.org":{"/org/gnome/shell/extensions/extensions/":"[/]\nposition='panel'\nshow-add=false"},"user-theme@gnome-shell-extensions.gcampax.github.com":{"/org/gnome/shell/extensions/user-theme/":"[/]\nname='Orchis-dark'"},"dash-to-panel@jderose9.github.com":{"/org/gnome/shell/extensions/dash-to-panel/":"[/]\nappicon-margin=8\nappicon-padding=4\navailable-monitors=[0]\nhotkeys-overlay-combo='TEMPORARILY'\nmulti-monitors=false\npanel-element-positions='{\"0\":[{\"element\":\"desktopButton\",\"visible\":false,\"position\":\"stackedTL\"},{\"element\":\"showAppsButton\",\"visible\":true,\"position\":\"stackedTL\"},{\"element\":\"activitiesButton\",\"visible\":false,\"position\":\"stackedTL\"},{\"element\":\"leftBox\",\"visible\":true,\"position\":\"stackedTL\"},{\"element\":\"taskbar\",\"visible\":false,\"position\":\"stackedTL\"},{\"element\":\"centerBox\",\"visible\":true,\"position\":\"stackedBR\"},{\"element\":\"rightBox\",\"visible\":true,\"position\":\"stackedBR\"},{\"element\":\"dateMenu\",\"vis
# Generated by Sync Settings for Atom Editor
<https://github.com/atom-community/sync-settings>