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
{ | |
"version": 1, | |
"notes": "", | |
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n", | |
"keyboard": "crkbd/r2g", | |
"keymap": "crkbd_r2g_crkbd_r2g_layout_split_3x6_3_home_mods", | |
"layout": "LAYOUT_split_3x6_3", | |
"layers": [ | |
[ | |
"KC_GRV", |
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
<!-- The content below will be included at the end of the <head> element. --> | |
<link rel="preconnect" href="https://fonts.googleapis.com"> | |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet"> | |
<script type="text/javascript"> | |
document.addEventListener("DOMContentLoaded", function () { | |
// your code here | |
}); | |
</script> |
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
# split panes using | and - | |
bind | split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % | |
# reload config | |
bind r source-file ~/.tmux.conf | |
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
{ | |
"info": { | |
"_postman_id": "08f0fa1e-48d6-4f39-bf07-d7579b3ceb24", | |
"name": "PixelIt", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | |
"_exporter_id": "749469" | |
}, | |
"item": [ | |
{ | |
"name": "0. Example - Fade Animation / Image / Text", |
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
package main | |
import ( | |
"context" | |
"encoding/csv" | |
"fmt" | |
"io" | |
"log" | |
"os" | |
"strings" |
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 here: https://github.com/edubey/browser-console-crawl/blob/master/single-story.js | |
console.save = function (data, filename) { | |
if (!data) { | |
console.error('Console.save: No data') | |
return; | |
} | |
if (!filename) filename = 'story.json' | |
if (typeof data === "object") { |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.cursorStyle": "block-outline", | |
"editor.minimap.enabled": true, | |
"editor.fontLigatures": true, | |
"editor.renderWhitespace": "boundary", | |
"editor.renderIndentGuides": true, | |
"editor.renderLineHighlight": "gutter", | |
"editor.fontFamily": "Fira Code", | |
"workbench.iconTheme": "material-icon-theme", |
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
'use strict' | |
const Client = require('node-xmpp-client'); | |
const ltx = require('node-xmpp-core').ltx; | |
const bunyan = require('bunyan'); | |
const log = bunyan.createLogger({ name: 'jabber-bot' }); | |
const weather = require('./weather'); | |
const tube = require('./tube'); |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
import logging | |
import getpass | |
from optparse import OptionParser | |
import time | |
import sleekxmpp |
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 csv # for reading the csv file of files | |
import urllib # for downloading the file | |
with open('Jabber.csv', 'rb') as csvfile: | |
filereader = csv.reader(csvfile, delimiter=',') | |
for row in filereader: | |
original_filename = row[1].split('/')[-1] | |
new_filename = row[0] + ' ' + original_filename | |
print 'Retrieving : ' + new_filename | |
urllib.urlretrieve(row[1], new_filename ) |
NewerOlder