Skip to content

Instantly share code, notes, and snippets.

# setting up a rust dev environment to try
# https://github.com/fitzgen/source-map-mappings/blob/master/CONTRIBUTING.md
brew install rustup
rustup-init
# open new terminal
cd source-map-mappings
cargo build
.css-selector {
    background: linear-gradient(72deg, #0a1f38, #84c614, #bd14c6, #7614c6, #c69b14, #00d0ff, #a8d51c);
    background-size: 1400% 1400%;
    -webkit-animation: YetiAgenciaCreativa 26s ease infinite;
    -moz-animation: YetiAgenciaCreativa 26s ease infinite;
    -o-animation: YetiAgenciaCreativa 26s ease infinite;
    animation: YetiAgenciaCreativa 26s ease infinite;
}
@-webkit-keyframes YetiAgenciaCreativa {
    0%{background-position:0% 78%}

github.js

Client-side Javascript API wrapper for GitHub

Tries to map one-to-one with the GitHub API V2, but in a Javascripty manner.

(function (globals) {

Before we implement the API methods, we will define all of our private variables and helper functions with one var statement.

@connatser
connatser / github.js
Created March 1, 2012 17:43
gistJS sample
README: http://fitzgen.github.com/github-api/
Repo: https://github.com/fitzgen/github-api/blob/master/github.js
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 20:16
Complete Recent Discord Quest

Complete Recent Discord Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@ryanj
ryanj / gist_io_test.md
Created July 25, 2012 23:21
Testing Gist.io

A simple post powered by GitHub Gists and Gist.io

This is a paragraph that includes links to Gist.io, and gist.github.com. I wonder if there is a javascript lib that would allow me to host my posts via github pages?

Maybe I should build one using this or this?

Here are some additional docs for fitzgen's lib. Looks like it might be the best option...

Examples: