Shows a copy button when hovered, then shows a tooltip after copied.
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
diff --git "a/atdll/atdll.cpp" "b/atdll/atdll.cpp" | |
index 280349b..22e818c 100644 | |
--- "a/atdll/atdll.cpp" | |
+++ "b/atdll/atdll.cpp" | |
@@ -9,6 +9,8 @@ | |
#include <hidsdi.h> | |
#include <hidpi.h> | |
#include <hidusage.h> | |
+#include <TlHelp32.h> | |
+#include <iostream> |
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
diff --git a/src/language_server_protocol.rs b/src/language_server_protocol.rs | |
index 1b3d7cb..d38aaf3 100644 | |
--- a/src/language_server_protocol.rs | |
+++ b/src/language_server_protocol.rs | |
@@ -1197,6 +1197,14 @@ impl LanguageClient { | |
related_information: Some(true), | |
..PublishDiagnosticsCapability::default() | |
}), | |
+ code_action: Some(CodeActionCapability { | |
+ code_action_literal_support: Some(CodeActionLiteralSupport { |
assuming a frictionless kernel (Ubuntu Linux)
Steps:
- Setup a [Docker][docker] container running [Ubuntu][ubuntu] and install [Discord][discord] on it
- Setup [X][x11] permissions, so the container can connect to the running [X][x11] server.
- Use [xdotool][xdotool] with a shell script to automate input events to [Discord][discord].
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
//! Just for prototyping. I'll move this to lib later I promise! | |
// Pulls in IResult | |
use nom::IResult; | |
// Pulls in some useful pre-defined parsers. | |
use nom::{ | |
bytes::complete::{tag, take_while, take_while_m_n}, | |
character::{ | |
complete::{alpha1, digit1}, |
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 sys | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument("--add_argument", help="Add argument for test subcommand", | |
dest="ext_args", action="append") | |
subparsers = parser.add_subparsers(help="sub-command help") | |
test_parser = subparsers.add_parser("test", help="Test subcommand") |
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
// Tiny "Hello, World!" program in Rust. | |
#![feature(no_core, lang_items)] | |
#![no_std] | |
#![no_core] | |
#![no_main] | |
#[lang = "panic_info"] | |
struct PanicInfo {} | |
#[panic_handler] | |
fn panic(info: &PanicInfo) -> ! { loop {} } |
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 os | |
import json | |
from graphqlclient import GraphQLClient | |
# Set GH_TOKEN environment variable to secret token. | |
# input on command line. | |
# Queries and mutations | |
q_repo = """ | |
query {{ |
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
// ==Userscript== | |
// @name Immortal Wormy Script | |
// @namespace https://gist.github.com/anirudhb | |
// @version 0.01 | |
// @description Make you an (immortal)[citation needed] wormy! | |
// @author Anirudh Balaji | |
// @match http://slither.io | |
// @grant none | |
// @updateURL https://gist.githubusercontent.com/anirudhb/ae444a313cadfb4353d7aaa2942bcd7a/raw/stub.meta.js | |
// @downloadURL https://gist.githubusercontent.com/anirudhb/ae444a313cadfb4353d7aaa2942bcd7a/raw/stub.user.js |