One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| from flask import Flask, jsonify, request | |
| from flask_cors import CORS | |
| import usaddress | |
| app = Flask(__name__) | |
| CORS(app) | |
| def addressmaker(inputarr): | |
| newarr = [] |
| 'use strict'; | |
| const Comments = ({ data }) => { | |
| let jsx = <span class={data.comments < 1 ? "is-hidden" : "comments"}> | |
| <i class="far fa-comment-alt"></i> {data.comments < 0 ? "" : data.comments} | |
| </span> | |
| return (jsx); | |
| } | |
| const Labels = ({ labels }) => { |
| async function newguy(){ | |
| let response = await fetch('https://api.github.com/repos/javascript-tutorial/en.javascript.info/commits?per_page=100'); | |
| const reader = response.body.getReader(); | |
| // Step 2: get total length | |
| const contentLength = +response.headers.get('Content-Length'); | |
| // Step 3: read the data |
| /* | |
| https://stackoverflow.com/a/50059015/8652537 | |
| */ | |
| function hooksvg(elementID) { //Hook in the contentDocument of the svg so we can fire its internal scripts | |
| var svgdoc, svgwin, returnvalue = false; | |
| var object = (typeof elementID === 'string' ? document.getElementById(elementID) : elementID); | |
| if (object && object.contentDocument) { | |
| svgdoc = object.contentDocument; | |
| } | |
| else { |
| function getFlatObject(object) { | |
| function iter(o, p) { | |
| if (Array.isArray(o) ){ | |
| o.forEach(function (a, i) { | |
| iter(a, p.concat(i)); | |
| }); | |
| return; | |
| } | |
| if (o !== null && typeof o === 'object') { | |
| Object.keys(o).forEach(function (k) { |
Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
| // MIT License: | |
| // | |
| // Copyright (c) 2010-2012, Joe Walnes | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| // copies of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: |
| #!/usr/bin/perl | |
| my $blanked = 0; | |
| open (IN, "xscreensaver-command -watch |"); | |
| while (<IN>) { | |
| if (m/^(BLANK|LOCK)/) { | |
| if (!$blanked) { | |
| system "sound-off"; | |
| $blanked = 1; | |
| } |
| const fetch = require('node-fetch'); | |
| const fs = require('fs'); | |
| const jsdom = require("jsdom"); | |
| const { | |
| JSDOM | |
| } = jsdom; | |
| const argv = require('minimist')(process.argv.slice(2)) | |
| const options = { | |
| runScripts: "dangerously", | |
| resources: "usable", |