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.
| # encoding=utf8 | |
| import sys | |
| import csv | |
| import mysql.connector | |
| # Connect to MSSQL Server | |
| try: | |
| conn = mysql.connector.connect(host="", user="",password="", database="") |
| # encoding=utf8 | |
| # fichier permettant dexporter vers csv les item id et item name | |
| import sys | |
| import csv | |
| import datetime | |
| import mysql.connector | |
| from decimal import Decimal | |
| # Connect to MSSQL Server |
| const sha256 = require('sha256'); | |
| class Block { | |
| constructor(index, timestamp, data, prevHash) { | |
| this.index = index; | |
| this.timestamp = timestamp; | |
| this.data = data; | |
| this.prevHash = prevHash; | |
| this.thisHash = sha256( | |
| this.index + this.timestamp + this.data + this.prevHash |
| const utils = require ("daveutils"); | |
| const yaml = require ("js-yaml"); | |
| function yamlIze (jsontext) { | |
| var jstruct = JSON.parse (jsontext); | |
| const delimiter = "---\n"; | |
| var text = jstruct.text; | |
| delete jstruct.text; | |
| var s = delimiter + yaml.safeDump (jstruct) + delimiter + text; |
A Pen by Tristan WAGNER on CodePen.
| import {ComponentPropsWithoutRef, useEffect, useRef, useState} from "react" | |
| import styled from "styled-components"; | |
| import RecipientsBadge from "./RecipientsBadge"; | |
| const RecipientsTooltip = styled.span` | |
| position: fixed; | |
| top: 8px; | |
| right: 8px; | |
| display: none; | |
| align-items: center; |
| function gitopen() { | |
| COMMAND=diff | |
| REV=HEAD | |
| PATTERN="" | |
| if [ "$#" -gt 3 ]; then | |
| echo "Usage: gitopen [command] [revision] [pattern]" | |
| echo "gitopen -- opens all added files that have changed since HEAD" | |
| echo "gitopen diff HEAD -- these are the default parameters" | |
| echo "gitopen diff master -- opens files that have changed from master" |