Skip to content

Instantly share code, notes, and snippets.

View almoce's full-sized avatar
🤖
think as robot

Wence almoce

🤖
think as robot
View GitHub Profile
@almoce
almoce / click point color (cpu multi draw call).html
Last active June 15, 2022 11:37
webgl basic point and triangle with shader
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>webgl point</title>
<link rel="stylesheet" href="">
<style>
body {
@almoce
almoce / wakatime.md
Last active July 29, 2024 00:37
Last 7 days status from wakatime
  • 🍔 TypeScript 🧪🧪🧪🧪🧪🧪🧪🧪 80.45%
  • 🍞 SCSS 🧪 11.68%
  • 🌭 HTML 🧩🧩🧩 3.1%
  • 🍫 Vue.js 🧩🧩 2.79%
  • 🥪 JavaScript 🧩 1.16%
  • 🥞 CSS 0.72%
  • 🍬 JSON 0.11%
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@almoce
almoce / gitconfig
Created October 28, 2020 11:49
git configuration
[alias]
st = status
ca = commit -a
ct = checkout
cm = commit -a -m
logs = log --stat
lg = "!f() { git log --graph --all --format='%x09 %C(yellow reverse)%h%Creset %C(bold green)(%ar)%C(reset) %C(cyan bold)%an%Creset%x09 %C(magenta)%d%Creset %n %x09 %s'; }; f"
lg1 = !"git lg1-specific --all"
lg2 = !"git lg2-specific --all"
lg3 = !"git lg3-specific --all"
@almoce
almoce / vimrc plugins
Created October 28, 2020 09:19
vim plugins and configs
call plug#begin('~/.vim/plugged')
Plug 'valloric/youcompleteme'
Plug 'easymotion/vim-easymotion'
Plug 'Chiel92/vim-autoformat'
Plug 'pangloss/vim-javascript'
Plug 'jamespwilliams/bat.vim'
Plug 'scrooloose/nerdcommenter'
Plug 'preservim/nerdtree'
Plug 'vim-airline/vim-airline'
@almoce
almoce / vimrc file configuration
Last active October 28, 2020 09:18
Vim Configuration
syntax on
set t_Co=256
set background=dark
set number
"set cursorline
set wrap
set linebreak
set breakindent
set showbreak=..
@almoce
almoce / godaday ddns.sh
Last active October 26, 2020 09:28
Godady DDNS
#!/bin/bash
domain='${DOMAIN}'
hostname='@'
key='${APIKEY}'
secret='${APISECRET}'
apikey="$key:$secret"
myip=`curl -s 'https://api.ipify.org'`
url="https://api.godaddy.com/v1/domains/${domain}/records/A/${hostname}"