Uma breve descrição do projeto aqui.
Coloque aqui as instruções e quais são os objetivos desse projeto, funcionalidades.
[[snippets]] | |
description = "start dev file syncer. uses fswatch to know when to run rsync. does not sync .git file. Sort like a write-through cache network file system with only eventual consistency guarantees." | |
command = "fswatch -0 --exclude \"\\.git\" --exclude \"\\.xml\" --exclude \"___\" -o /Users/chris/Documents/workspace/lingt_chris_dev_rsync_checkout/myproject | xargs -0 -n 1 -I {} rsync --progress --exclude '*.pyc' --exclude '*.git' --recursive ~/workspace/lingt_chris_dev_rsync_checkout/myproject dev@dev.server:/home/user/webapps/dev_chris/myproject" | |
output = "" | |
[[snippets]] | |
description = "plex find unscanned tv!" | |
command = "cat <(find /Users/chris/Downloads/media/dbx_mount/tv -type f | sed 's/.*\\///' | grep 'mp4\\|mkv\\|avi') <(unbuffer /Applications/Plex\\ Media\\ Server.app/Contents/MacOS/Plex\\ Media\\ Scanner -c 4 --tree | grep 'mp4\\|mkv\\|avi' | sed 's/.*\\///' | sed 's/\\w*\\[.*\\]$//' | awk '{$1=$1};1') | sort | uniq -u" | |
output = "" |
// Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: | |
// | |
// The above copyright notice and this permission notice shall be included in |
# Antonio Olinto Avila-da-Silva, Instituto de Pesca, Brasil | |
# https://gist.github.com/aolinto/9d9514eb453109425f5b35c42fa0eb95 | |
# script to process COPERNICUS Sea Surface Salinity | |
# product MULTIOBS_GLO_PHY_REP_015_002 | |
# nc file downloaded from | |
# http://marine.copernicus.eu/services-portfolio/access-to-products/?option=com_csw&view=details&product_id=MULTIOBS_GLO_PHY_REP_015_002 | |
# dataset-armor-3d-rep-monthly | |
# the script will transform nc file to brick raster, read temperature and salinity data | |
# for a given area and depth, compute its statistics and write them into | |
# a single csv file named COPERNICUS_to.csv or COPERNICUS_so.csv |
// GLFW and OpenGL example with very verbose comments and links to documentation for learning | |
// By Soren Saket | |
// semi-colons ; are not requied in odin | |
// | |
// Every Odin script belongs to a package | |
// Define the package with the package [packageName] statement | |
// The main package name is reserved for the program entry point package | |
// You cannot have two different packages in the same directory |
import "shared:shaderc" | |
import "vendor:glfw" | |
import vk "vendor:vulkan" | |
MAX_FRAMES_IN_FLIGHT :: 2 | |
Context :: struct | |
{ | |
instance: vk.Instance, |
function YNABAccounts(accessToken, budgetId) { | |
const accounts = _getBudgetAccounts(accessToken, budgetId); | |
if(accounts == null) { | |
return null; | |
} | |
const columns = ["Name", "Type", "Budget", "Closed", "Balance"]; | |
const rows = accounts.map(function (acc) { | |
return [ |
BLACK => "\033[30m", | |
RED => "\033[31m", | |
GREEN => "\033[32m", | |
YELLOW => "\033[33m", | |
BLUE => "\033[34m", | |
PURPLE => "\033[35m", | |
CYAN => "\033[36m", | |
WHITE => "\033[37m", | |
# background color |
// async/await"able" DOM event handlers | |
async function getMeSomeData() { | |
// ... | |
return data | |
} | |
document.addEventListener('DOMContentLoaded', async () => { | |
const someContainer = document.getElementById('someContainer'); |