Skip to content

Instantly share code, notes, and snippets.

View Olian04's full-sized avatar

Oliver Anteros Olian04

View GitHub Profile
@Olian04
Olian04 / index.ts
Created December 12, 2022 07:42
test-command
import type { Prompt, Page, Browser } from 'arbitrary-command-palette/types';
export async function(
prompt: Prompt,
page: Page,
browser: Browser,
) {
prompt.thinking();
const catResp = await fetch('https://cataas.com/cat');
# Name Type 1 Type 2 Total HP Attack Defense Sp. Atk Sp. Def Speed Generation Legendary
1 Bulbasaur Grass Poison 318 45 49 49 65 65 45 1 False
2 Ivysaur Grass Poison 405 60 62 63 80 80 60 1 False
3 Venusaur Grass Poison 525 80 82 83 100 100 80 1 False
3 VenusaurMega Venusaur Grass Poison 625 80 100 123 122 120 80 1 False
4 Charmander Fire 309 39 52 43 60 50 65 1 False
5 Charmeleon Fire 405 58 64 58 80 65 80 1 False
6 Charizard Fire Flying 534 78 84 78 109 85 100 1 False
6 CharizardMega Charizard X Fire Dragon 634 78 130 111 130 85 100 1 False
6 CharizardMega Charizard Y Fire Flying 634 78 104 78 159 115 100 1 False
const r1 = #{
a: 1,
b: 2,
c: 3,
};
const r2 = #{
a: #{
b: #{
c: 123,
group:homework 1
assets = {
id:number, type:string, title:string , publication_date:number
100 , 'cd' , 'Best of Phill Colins', 1567696321
200 , 'book' , 'Pippi Långstrump' , 1567667305
300 , 'book' , 'Madicken' , 1567663305
}
stock = {
@Olian04
Olian04 / GW2.cmd
Last active July 5, 2020 20:31 — forked from Halkcyon/GW2.cmd
Automatically update ArcDps and BuildTemplates from deltaconnected for Guild Wars 2
::[CmdletBinding(SupportsShouldProcess)]
::# Update these values for wherever you have GW2 installed.
::# The arguments only get passed if you do not have a Settings.json file
::Param(
:: $Gw2Root = 'M:\Guild Wars 2',
:: $Gw2Exe = 'Gw2-64.exe',
:: $Gw2Arguments = @(
:: '-mapLoadinfo'
:: '-bmp'
:: '-fps','144'
.as-console-wrapper { max-height: 100% !important; top: 0; }
[
{
"id": "readme.template",
"template": {
"uri": "readme.template.mustache"
},
"targetPath": "../README.template.md",
"force": false
}, {
"id": "global.fragments",
import { bar } from './demo_internal';
export function foo() {}
import * as moment from 'moment'; // might warn due to missing types file
console.log( moment() );
@Olian04
Olian04 / _app.scss
Last active May 22, 2017 15:19
Sass file used to store global constants used throughout the code base (MVK project for KTH CSC 2017).
// The main SASS file. Import this file to have access to global variables.
// ----- Global colors -------
// Handy colors
$white: #FFFFFF;
$black: #000000;
// ----- KTH specifics -----
$kth-color-blue: #2258A5; // #0064B0
$kth-color-light-blue: #2E7CC0;