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
| chrome-untrusted://terminal/html/terminal.html?command=vmshell&settings_profile=default&args[]=--vm_name%3Dtermina&args[]=--target_container%3Dpenguin |
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
| javascript:(window.open(window.location,"popup","toolbar=no,menubar=no,resizable=yes,location=no,copyhistory=no")) |
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
| import Adw from "gi://Adw?version=1"; | |
| import Gtk from "gi://Gtk?version=4.0"; | |
| import Gdk from "gi://Gdk?version=4.0"; | |
| import WebKit from "gi://WebKit"; | |
| const application = new Adw.Application({ | |
| application_id: "com.github.pojntfx.webviewTransparentDemo", | |
| }); | |
| application.connect("activate", () => { |
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
| export function checkBoard(board) { | |
| const rowsValidity = board.map((row) => | |
| checkSingleQueen(row) | |
| ) | |
| const firstRow = board[0]; | |
| const columns = getColumnsValidity(firstRow, board); | |
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/env python3 | |
| from enum import Enum | |
| import requests | |
| import argparse | |
| import re | |
| from contextlib import closing | |
| import secretstorage | |
| import time | |
| from typing import Any |
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
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| name: pretix | |
| --- | |
| apiVersion: helm.cattle.io/v1 | |
| kind: HelmChart | |
| metadata: | |
| name: postgresql | |
| namespace: pretix |
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
| function mkcd -a dirname | |
| if test -z $dirname | |
| echo "Usage: mkcd dirname" | |
| return 1 | |
| end | |
| mkdir -p "$dirname" | |
| cd "$dirname" | |
| end |
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": { | |
| "prefix": "if", | |
| "body": ["if ${1:expression}:", "\t${0:pass}"], | |
| "description": "Code snippet for an if statement" | |
| }, | |
| "if/else": { | |
| "prefix": "if/else", | |
| "body": ["if ${1:condition}:", "\t${2:pass}", "else:", "\t${0:pass}"], | |
| "description": "Code snippet for an if statement with else" |
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
| REM This is BadUSB demo script for chromeOS | |
| REM Open windows notepad | |
| DELAY 1000 | |
| CTRL t | |
| DELAY 500 | |
| STRING data:text/html, <html contenteditable><style>body{font-family:monospace;} | |
| DELAY 500 | |
| ENTER | |
| DELAY 750 |
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
| FROM ubuntu:20.04 as builder | |
| RUN apt update &&\ | |
| DEBIAN_FRONTEND=noninteractive apt install -y ccache gcc-arm-none-eabi git python3 python3-pip build-essential cmake | |
| RUN python3 -m pip install pillow | |
| ENV MICROPYTHON_VERSION=9dfabcd6d3d080aced888e8474e921f11dc979bb | |
| ENV BOARD_TYPE=PIMORONI_BADGER2040 | |
| ENV RELEASE_FILE=pimoroni-badger2040-micropython | |
| # Check out MicroPython | |
| RUN git clone https://github.com/micropython/micropython.git /micropython | |
| # Fetch base MicroPython submodules |
NewerOlder