Skip to content

Instantly share code, notes, and snippets.

View dionysio's full-sized avatar
🏠
Working from home

Dionyz Lazar dionysio

🏠
Working from home
View GitHub Profile
{
"rate": "fr_home_without_signature",
"debug": true,
"test": true,
"demand_location_id": "US01",
"fulfillment_node_id": "US02",
"carrier_code": "colissimo",
"booking_method": "only_return",
"sender_address": {
"country_code": "FR",
@dionysio
dionysio / test
Created February 15, 2022 11:02
test
y
@dionysio
dionysio / index.js
Last active March 14, 2021 03:47 — forked from talk2MeGooseman/index.js
Firebase Cloud Function 3rd Party Oauth Flow For The Web
const functions = require('firebase-functions');
var admin = require("firebase-admin");
const cookieParser = require('cookie-parser');
const crypto = require('crypto');
const axios = require('axios');
admin.initializeApp({});
/**
* Creates a configured simple-oauth2 client for Twitch.
from datetime import datetime
from ftplib import FTP
from threading import Thread
from utils import parse_date, value_from_nested_dict
REFERENCE_CODES = {
'CN': 'pro_number',
This file has been truncated, but you can view the full file.
<HTML>
<HEAD>
<TITLE> CloneDigger Report </TITLE>
<script type="text/javascript">
function unhide(divID) {
var item = document.getElementById(divID);
if (item) {
item.className=(item.className=='hidden')?'unhidden':'hidden';
}
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>TNT Label</title>
<script type="text/javascript">
var firstPagePrinted = false; function includePageBreak() { if (firstPagePrinted) { document.writeln('<div class="pagebreak">'); document.writeln('<font size="1" color="#FFFFFF">.</font>'); document.writeln('</div>'); } else { firstPagePrinted = true; } }
</script><style>
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>TNT Label</title>
<script type="text/javascript">
var firstPagePrinted = false; function includePageBreak() { if (firstPagePrinted) { document.writeln('<div class="pagebreak">'); document.writeln('<font size="1" color="#FFFFFF">.</font>'); document.writeln('</div>'); } else { firstPagePrinted = true; } }
</script><style>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration>
<appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="%d %-5p [%t] %M - %m%n"/>
</layout>
</appender>
@dionysio
dionysio / currencies.py
Created January 6, 2016 00:46
Python master task
# -*- coding: utf-8 -*-
__author__ = 'diony_000'
#original list of currencies is from https://code.google.com/p/dspl/source/browse/datasets/google/canonical/currencies.csv
symbol_to_currency = {
'$':['USD','AUD','ARS','BBD','BMD','BND','BSD','CAD','CLP','COP','FJD','GYD','HKD','KYD','LRD','MXN','NZD','SBD','SGD','SRD','SVC','XCD'],
'$b':['BOB'],
'$U':['UYU'],
'£':['GBP','EGP','FKP','GIP','LBP','SHP','SYP'],