<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
DO WHATEVER YOU MIGHT WISH TO PUBLIC LICENSE | |
Version 1, December 2011 | |
Copyright (C) 2011 SIMON MADINE <http://thingsinjars.com> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHATEVER YOU MIGHT WISH TO PUBLIC LICENSE |
Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available.
The basic idea is that C:\Program Files\Git\mingw64\
is your /
directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:\Users\name\AppData\Local\Programs\Git
, the mingw64
in this directory is your root. Find it by using pwd -W
).
If you go to that directory, you will find the typical linux root folder structure (bin
, etc
, lib
and so on).
If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corresponding directories. Sometimes the windows binary have funny prefixes, so
from PyQt4.QtCore import * | |
from PyQt4.QtGui import * | |
import time | |
class Form(QDialog): | |
""" Just a simple dialog with a couple of widgets | |
""" | |
def __init__(self, parent=None): | |
super(Form, self).__init__(parent) |
import ast | |
import datetime | |
import json | |
import sys | |
import requests | |
import urllib | |
from tabulate import tabulate | |
url = "https://www.whatruns.com/api/v1/get_site_apps" | |
data = {"data": {"hostname": sys.argv[1], "url": sys.argv[1], |
{ | |
"emojis": [ | |
{"emoji": "👩👩👧👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👩👩👧👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👩👩👦👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""}, | |
{"emoji": "👨👩👧👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z |
from __future__ import annotations | |
import array | |
import asyncio | |
from bisect import bisect_left | |
from dataclasses import dataclass | |
import logging | |
import os | |
import socket | |
import time |
The general gist is that we replace normal link underlines (text-decoration: underline
) with an SVG background image. The background image is positioned along the bottom of the element, prevented from repeating vertically, and then scaled by defining the background size in text units:
a {
text-decoration: none;
}
const express = require("express"); | |
const app = express(); | |
var session = require('express-session'); | |
const fetch = require('node-fetch'); | |
const clientID = process.env.CLIENT_ID; | |
const clientSecret = process.env.CLIENT_SECRET; | |
async function getAccessToken(code, client_id, client_secret) { | |
const request = await fetch("https://github.com/login/oauth/access_token", { |
In fact some people called it a stack called JAMStack. Here are ways you can make static apps that are still as cool as server side apps.
Hash the answer and when the user presses a button to check their answers just hash their input and compare. In addition, use a similiar method like the blockchain and add a really long salt to make computation slower so it isn't bruteforcable.