docker run -d --name my_container registry.local:5000/softsam/android-16
docker cp my_container:/opt/android-sdk-linux/. .
docker stop c88b87440a54
docker rm c88b87440a54
docker images -q --filter "dangling=true"
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
| --- @module Foldtext | |
| --- Based on https://www.reddit.com/r/neovim/comments/16sqyjz/finally_we_can_have_highlighted_folds/ | |
| --- Updated with vim.treesitter._fold.foldtext() | |
| -- Função para processar uma linha e extrair os destaques usando Treesitter | |
| local function parse_line(linenr) | |
| -- Obtém o buffer atual do Neovim | |
| local bufnr = vim.api.nvim_get_current_buf() | |
| -- Obtém a linha do buffer correspondente ao número da linha |
LuaJIT 2.0.1 -- Copyright (C) 2005-2013 Mike Pall. http://luajit.org/
JIT: ON CMOV SSE2 SSE3 SSE4.1 fold cse dce fwd dse narrow loop abc sink fuse
> require "numlua"
error loading module 'numlua' from file '/usr/local/lib/lua/5.1/numlua.so':
libhdf5_serial.so.10: cannot open shared object file: No such file or directory
stack traceback:
[C]: at 0x55ec04e09c00
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
| local Path = require "plenary.path" | |
| local Job = require "plenary.job" | |
| local lspconfig_util = require "lspconfig.util" | |
| local cached_configs = {} | |
| local root_finder = lspconfig_util.root_pattern ".git" | |
| local csharpier_finder = function(path) | |
| if cached_configs[path] == nil then |
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
| if vim.fn.executable "dotnet-csharpier" == 0 then | |
| return | |
| end | |
| local group = vim.api.nvim_create_augroup("CsharpierAuto", { clear = true }) | |
| vim.api.nvim_create_autocmd("BufWritePost", { | |
| group = group, | |
| pattern = { "*.cs" }, | |
| callback = function() |
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
| #include <stdio.h> | |
| struct speed { | |
| int x; | |
| int y; | |
| }; | |
| void aumenta(struct speed *speed); | |
| void aumenta(struct speed *speed){ |
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 | |
| if [ -z "$GID" -o -z "$UID" -o -z "$USER" -o -z "$GROUP" ]; then | |
| echo Running as root | |
| exec "$@" | |
| else | |
| if [ ! $(getent group $GROUP) -a ! $(getent group $GID) ]; then | |
| echo Creating group $GROUP with id $GID | |
| groupadd -g $GID $GROUP | |
| else | |
| echo Group name $GROUP or id $GID already exist |
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 | |
| if [ -z "$GID" -o -z "$UID" -o -z "$USER" -o -z "$GROUP" ]; then | |
| echo Running as root | |
| exec "$@" | |
| else | |
| if [ ! $(getent group $GROUP) -a ! $(getent group $GID) ]; then | |
| echo Creating group $GROUP with id $GID | |
| groupadd -g $GID $GROUP | |
| else | |
| echo Group name $GROUP or id $GID already exist |
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/sh | |
| if xwininfo -tree -root | grep -q "chrome" | |
| then | |
| echo "Window detected." | |
| if xdo id -a "Google Chrome" >&- 2>&-; | |
| then | |
| map_state=$(xwininfo -all -id `xdo id -a "Google Chrome"` | grep "Map State"| cut -d\s -f2) |
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/sh | |
| if xwininfo -tree -root | grep "qutebrowser"; | |
| then | |
| echo "Window detected." | |
| map_state=`xwininfo -all -id $(xdo id -N qutebrowser) | grep "Map State"| cut -d\s -f2` | |
| # if [ "$map_state" = 'UnMapped' ]; | |
| if [ "$map_state" = 'Viewable' ]; | |
| then |